Forum Discussion

AustinAdams's avatar
AustinAdams
Copper Contributor
Jul 10, 2020

How to create a report based on a dynamic list of sheets?

I have a list of individual reports, hour reports of employees. When I export this list from our system, it places each individual's information in their own sheet within excel. I'm trying to use each individual sheet to feed into a master list of hours and other data for a management report.

 

Each sheet is formatted similarly, but some employees may have additional rows on their hour reports for special duties performed that need to be captured separately. Can anyone help me figure out the best way to run this report from multiple sheets onto a single view of hourly reports? Ideally, this would be able to work on any number of employee sheets as employees transfer in/out of the section.

 

Thank you!!

9 Replies

  • wsantos's avatar
    wsantos
    Brass Contributor

    AustinAdams You can sum all worksheets automatically, but you many need to add a dummy one at the left and right sides so you don't need to edit the formulas each time:

    https://exceloffthegrid.com/how-to-sum-the-same-cell-across-multiple-worksheets/

     

    • AustinAdams's avatar
      AustinAdams
      Copper Contributor

      wsantos 

       

      I need to pull the hours for each individual and show a row per person with their hours. I wish I only needed a SUM of them all 🙂 I have an ever-changing list of sheets and need to turn data from each sheet into a single row on 1 master sheet for ease of viewing, and ideally have that master list change based on the number of sheets exported. Hope that helps clarify my problem and thanks for the response!

      • TheAntony's avatar
        TheAntony
        Iron Contributor

        AustinAdams , can you upload a sample with a few sheets (making sure that all confidential information is removed)? 

  • mathetes's avatar
    mathetes
    Silver Contributor

    AustinAdams 

     

    Excel has some excellent tools for summarizing data (as you know)

     

    It works most readily, most easily, most seemlessly, when you take those summaries from a single database (or maybe from two or more that can be joined by key data elements such as SSN (in the case of employee databases))

     

    What makes it harder is when you're working from separate sheets, such as you're describing here.

     

    But it sounds like those separate, individual sheets come FROM a single data source. So I want to ask, before you solve this the hard way, is it possible to go back in the sequence of events here, to create this "single view of hourly reports" from that original source of data?

     

    [FWIW, during my career, I was the director of the HR/Payroll database for a major corporation, so I've "been there, done that." One of my specialties was being able to use SQL to extract data from an IBM DB2 database, into Excel, where I could use Pivot Tables and other Excel tools to summarize raw data into the form of useful management reports. There were occasions when the IT professionals were relying on brute force programming routines to summarize data, and I was able to use built-in Excel functions to accomplish the same results, faster, more reliably.]

    • AustinAdams's avatar
      AustinAdams
      Copper Contributor

      Thanks for the response mathetes,

       

      Sadly, I do not have access/permissions to the source DB and am stuck consuming the reports as they are exported.

      • mathetes's avatar
        mathetes
        Silver Contributor

        AustinAdams 

         

        One of your opening sentences, in your first post,  was this "When I export this list from our system, it places each individual's information in their own sheet within excel," which suggests you at the very least have access to run this set of reports, and (implicitly) access to the data that is involved.

         

        So I'll grant that you may not have the kind of master access that I had as the overall DB director, but I was able to grant views to divisional or location HR professionals to certain views of data they needed. It sounds like you do have that kind of access, albeit somewhat limited.

         

        Based on what you've said, I'd encourage you to go to whoever it is that manages the whole system to see if you could be granted some kind of export of this very same data, just in a different format that would enable the kind of summary you're looking for. It would be a lot easier (and, importantly, less error prone) than reconstructing the raw data from the individual and variable sheets.

Resources