Collapse Row/Columns in Report

Has anyone created anything that could create hidden rows and or columns in an Excel report? I am 99% sure that the functionality is not available out-of-the-box, and could be done with the Apache POI library. I thought I would check here before writing it!