Format advanced workbook with summary and details markers