Forum Discussion

MLipke's avatar
MLipke
Copper Contributor
May 31, 2023

Copying formulas to multiple sheets in a workbook

I am building a workbook to add the data in one sheet to the data in the next sheet for up to 35 sheets.  I can copy the whole sheet but the formulas to not increment the sheet number to the next she...
  • mathetes's avatar
    mathetes
    Jun 01, 2023

    MLipke 

     

    The second link worked.

     

    So I'm attaching the beginning of a workbook that illustrates what can be done with a single database into which you enter each day's production data. I populated it with your data for the first seven days, and chose to do so for the month of May. Feel free to modify the raw data and see how immediately it carries through to the summary page (based on the date range you select)

     

    Note; this is just a proof of concept, it can be greatly refined. I left off the cells reporting Sales data because those seemed somewhat incidental to the main focus, but I am pretty sure you'll see how readily that information could also be incorporated.

     

    My main goal is to show how easily Excel can summarize very selectively daily, weekly, monthly data from a single database.

    The main formula is below (and, by the way, it DOES require a relatively new version of Excel to operate; so if you aren't seeing totals in the "Summary" page, that would mean that you need to update)

    =SUM(FILTER(INDIRECT("Table1["&A5&"]"),(Table1[Date]>=Start_Date)*((Table1[Date]<=End_Date))))

    Let me know if you'd like to have that formula explained. If you enjoy researching formulas or functions you aren't yet familiar with, here are links that explain INDIRECT and FILTER, the two functions that might be new.

Resources