i am very new to SQl and i have a complex report for my job which i am trying to create in excel using a SQL stored procedure.the report itself will be in an excel workbook and consists of 3 monthly tabs for the entire year, the first tab should show detailed totals (total number of absences, total number of injuries, etc), the second will show a detail of each absent employee without a valid reason and the third will show a detail of each employee absent with a valid reason and the very last tab of the workbook will have all the raw data. Could someone please explain to me how that is possible without using VBA? i know i can extract data from SQL into excel without using VBA but the main part i'm having a hard time with is separating the data into each tab and creating the summary totals for each month.
thank you in advance wise once.