How To Sum & Average Based On Elapsed Date?

xlmaniac

Well-known Member
Joined
Jul 2, 2009
Messages
527
Office Version
  1. 2010
Platform
  1. Windows
Dear All,
I do have the below data set made for a month.
I want to calculate the Month-Tilll-Date(Cumulative) Value/average based on the Elapsed date.
For the 1st KPI(GRN), the value should get added for Target & Ach(under Column B & C) once today's date is greater than the previous date/s.
Similarly for he 2nd KPI, the average of Target & ach(under Column B & C) should get populated once today's date is greater than the previous date/s.
Pls help with the formulae under Column B & C which can yield this result.
2.PNG
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Try this in B3, then fill right to D3
Excel Formula:
=SUMIFS(E$3:AO$3,$E$1:$AO$1,"<"&TODAY())
and this in B4, then drag right to D4
Excel Formula:
=AVERAGEIFS(E$3:AO$3,$E$1:$AO$1,"<"&TODAY())
 
Upvote 0
Solution
Thanks a lot Jasonb75 for the excellent solution!!
Really appreciate your support.:)
Regards
Xlmaniac
 
Upvote 0

Forum statistics

Threads
1,215,472
Messages
6,125,004
Members
449,203
Latest member
Daymo66

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