Count week days vs. straddling weeks

bart12117

New Member
Joined
Nov 27, 2023
Messages
1
Office Version
  1. 2021
Platform
  1. Windows
Hi there!

I'm working with data, which is grouped by weeks (no daily split available but result for every day within particular week is equal, no daily fluctuations).
I'm trying now to create a monthly average, which would be based on calendar months, from the 1st till 31st of a month. My problem comes from the straddling weeks. What would be the best way to calculate a monthly average score, where the formula will recognise the straddling weeks, divide them between two months and look only at the results from particular calendar month?

Screenshot 2023-11-27 at 22.20.29.png


Based on the above, I'm looking for an average of:
- 3 days with score 9
- rest of the month with score 4


Thanks for your help!
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Just to clarify, you assume that dates 29/08/23 through 31/08/23 are averaging 9 (not 4) since that average by the end of that week is 4 (04/09/23) so some how the week starting the 29th Aug is averaging 4 despite having 3 9's in it which is 27 divide 27 by 7 = 3.86 so effectively the other 4 days that week were 0.25 in order to have an average of 4

so do you actually need the Daily score rather than the weekly to get your required granularity?
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,959
Members
449,096
Latest member
Anshu121

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