Is Tyler Nash on the Board who can read my question?

All that said, I really don't like how the workbook in the example is designed. I prefer to design my workbook solutions more like I design my database solutions: I would use only one worksheet for ALL of my hours logged across all weeks, months, and years. This way I don't have to worry about making new worksheets every period, and analysis (sums, lookups, PivotTables, charting) becomes extremely simple. This is how the pros do it

Can I get an Amen!
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
You sure can from me, Smitty : AMEN

There are many Mr Excel threads every day where horrible formulas - or what would otherwise be unnecessary VBA - are offered to answer questions that wouldn't even exist if spreadsheets were set up sensibly - that is, set up like a database.

It doesn't help the cause for a good approach when the solution here, entered with CTRL-SHIFT-ENTER, is

=SUM(IFERROR(N(INDIRECT("'"&TEXT(DATE(2015,1,7)+(ROW(1:53)-1)*7,"MMM D")&"'!H1")),0)*IFERROR(N(INDIRECT("'"&TEXT(DATE(2015,1,7)+(ROW(1:53)-1)*7,"MMM D")&"'!A2"))>=A1,0)*IFERROR(N(INDIRECT("'"&TEXT(DATE(2015,1,7)+(ROW(1:53)-1)*7,"MMM D")&"'!A2"))<=A2,0))

:-)

@Kevin : thank you very much for commenting that you'd set up like a database.

Regards, Fazza
 

Forum statistics

Threads
1,224,828
Messages
6,181,217
Members
453,024
Latest member
Wingit77

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top