Calculate Week commencing summary based on the daily data

Adit

New Member
Joined
Jul 8, 2023
Messages
15
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
Hello,
I am trying to create a weekly summary based on the daily dispatch information. The daily dates are extended up to 52 weeks and can be changed. So, I was looking for help to create a dynamic Excel-based formula to summarize daily data into week-commencing dates.
Please see the below example for 3 weeks only (the dataset is extended up to 52 weeks) and the desired output.

Book2
ABCDEFGHIJKLMNOPQRSTUV
120/01/202521/01/202522/01/202523/01/202524/01/202525/01/202526/01/202527/01/202528/01/202529/01/202530/01/202531/01/202501/02/202502/02/202503/02/202504/02/202505/02/202506/02/202507/02/202508/02/202509/02/2025
2BELGIUM6610613685949012190109140113718588775610479926872
3NETHERLANDS821141611211141681971291671781429598148120125140921128793
4POLAND305086314359734147625458387226376348593135
5
6Output20/01/202527/01/202503/02/2025
7BELGIUM698698546
8NETHERLANDS957957769
9POLAND372372299
Sheet1
Cell Formulas
RangeFormula
B7:B9B7=SUM(B2:H2)
C7:C9C7=SUM(I2:O2)
D7:D9D7=SUM(P2:V2)
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Hi, here's one option you can try:

Book2
ABCDEFGHIJKLMNOPQRSTUV
120/01/202521/01/202522/01/202523/01/202524/01/202525/01/202526/01/202527/01/202528/01/202529/01/202530/01/202531/01/202501/02/202502/02/202503/02/202504/02/202505/02/202506/02/202507/02/202508/02/202509/02/2025
2BELGIUM65.73105.8135.9284.7493.9590.38121.1990.46109.46140.1113.1370.9885.3888.2176.8855.72103.5578.5492.1467.5471.74
3NETHERLANDS82.12114.01160.89120.65113.68168.24197.34129.3166.65177.58142.2394.5998.18148.4119.79124.8140.2992.08111.5387.293.03
4POLAND29.750.2585.7231.0842.9459.3972.8841.2146.6561.9753.5457.8938.2872.4125.637.4462.6648.459.0330.8934.79
5
6Output20/01/202527/01/202503/02/2025
7BELGIUM697.71697.72546.11
8NETHERLANDS956.93956.93768.72
9POLAND371.96371.95298.81
Sheet1
Cell Formulas
RangeFormula
B7:D9B7=SUMIFS(INDEX($B$2:$V$4,MATCH($A7,$A$2:$A$4,0),0),$B$1:$V$1,">="&B$6,$B$1:$V$1,"<"&B$6+7)
 
Upvote 0
Solution
Hi, here's one option you can try:

Book2
ABCDEFGHIJKLMNOPQRSTUV
120/01/202521/01/202522/01/202523/01/202524/01/202525/01/202526/01/202527/01/202528/01/202529/01/202530/01/202531/01/202501/02/202502/02/202503/02/202504/02/202505/02/202506/02/202507/02/202508/02/202509/02/2025
2BELGIUM65.73105.8135.9284.7493.9590.38121.1990.46109.46140.1113.1370.9885.3888.2176.8855.72103.5578.5492.1467.5471.74
3NETHERLANDS82.12114.01160.89120.65113.68168.24197.34129.3166.65177.58142.2394.5998.18148.4119.79124.8140.2992.08111.5387.293.03
4POLAND29.750.2585.7231.0842.9459.3972.8841.2146.6561.9753.5457.8938.2872.4125.637.4462.6648.459.0330.8934.79
5
6Output20/01/202527/01/202503/02/2025
7BELGIUM697.71697.72546.11
8NETHERLANDS956.93956.93768.72
9POLAND371.96371.95298.81
Sheet1
Cell Formulas
RangeFormula
B7:D9B7=SUMIFS(INDEX($B$2:$V$4,MATCH($A7,$A$2:$A$4,0),0),$B$1:$V$1,">="&B$6,$B$1:$V$1,"<"&B$6+7)
Many Thanks
 
Upvote 0

Forum statistics

Threads
1,223,935
Messages
6,175,494
Members
452,649
Latest member
mr_bhavesh

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