I have daily totals in columns by date, spanning a three year time period. I need to get week totals by date. Have been doing it manually but it takes forever. Is there a function for this?
Thank you.
Do you mean the famous DOWHATIHAVEINMIND()
function?
Being serious again: The design you are describing in short will mot be actually recommended by experienced users.
How to get what you want nevertheless may depend on this and that.
Is there a column for every day or arte there days left out (holydaysâŠ)?
A reduced example sheet showing the complete design/situation and explicitly explaining the assurances you can give, and the indispensable needs you see would help.
Yes, the DOWHATIHAVEINMIND function, exactly!
One column, with, say, 1000 numbers. I wish every group of seven numbers to be summed. So if the column is âhow many apples per dayâ, I wish to translate this into âhow many apples per weekâ. Been doing it by inserting a row every seven rows, and summing manually, but handling sheets that have hundreds of thousands of cellsâŠ
Thanks, I appreciate the reply you left.
I obviously still donât understand. You are talking of âevery seventh rowâ on the one hand, related to the seven days of a week supposedly, but of âhundreds of thousands of cellsâ on the other hand. Where are all the many cells?
Well, I had also sketched a suggestion, but didnât post it then because you seemed satisfied with the solution @karolus had suggested. Now I added a second sheet to that solution, and attach the spreadsheet document here. You may check.
disask99167weeklyTotalsFromDailyTotals.ods (36.7 KB)
Pivot tables have many advantages, but there are some disadvantages, too - at least as long as you donât consider to include a bit of user code:
Formatting and missing AutoCalc, e.g.
Awesome, thanks. I meant, doing it the hard way, I would insert a row after every seventh row, to sum the previous seven rowsâŠmanually.
See attached example,
there is a calculated Column C with »weeknums«
And the pivot-table is grouped by dateâYear,
pivot_aggregatet_by_weeknum_and_year.ods (64.0 KB)
Ok, I can figure that out. Thank you.