Have you tried with "Exceptions" in BEx Query?
Otherwise you have to format your workbook in BEx Analyzer. There will be format option in the top context menu.
Follow this : http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c047853e-15bf-2d10-808a-b81acc227a83?overridelayout=true