Forum Discussion

Budman361530's avatar
Budman361530
Brass Contributor
Sep 21, 2021

Sum across multiple sheets when adding sheets with dynamically changing sheet names?

Not sure if I am trying something that is impossible?  I have a timesheet tracking workbook.  Each sheet's name changes dynamically to a job number, when I enter the job number into a cell at the top...
  • Juliano-Petrukio's avatar
    Sep 22, 2021

    Budman361530 

    Add the sum formula into the desired cell

    1. Left click on the FIRST sheet with the mouse.
    2. Hold Shift key and left click on the LAST sheet. Now select the cell D42 in the LAST sheet. Add a closing bracket to the formula and press Enter. Your sum formula should now look like this.

    Considering the names you gave us, your formula will look like that

    =SUM('test test:MJN Job 3'!D42)

    In other words

     

     

    =SUM('FirstSheet:LastSheet'!D42)

     

     

    Replace FirstSheet and LastSheet with the worksheet names you wish to sum between.

     

    We can change this to be more dynamic, making it even easier to use. Instead of using the names of the first and last sheets, you can create two blank sheets to act as bookends for your calculation. 

     

     

     

Resources