Average time calculation

trapsy

New Member
Joined
Sep 27, 2017
Messages
2
Hello,
I am stuck with one calculation and would appreciate some help.

The data which I am having is showing how many work orders of a particular month were finalized in 1st week of submission, 2nd week, 3rd week, etc. Any suggestions on how to calculate the average time (number of weeks) needed to finalize the order from it's submission?
Example of the data is below:

<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
WeekJanuaryFebruaryMarch
Week0118
Week11 week after order submitted (0-7)332827
Week22 weeks after order submitted (8-14)3330110
Week33 weeks after order submitted (15-21)603451
Week44 weeks after order submitted (22-28)386756
Week55 weeks after order submitted (29-35)1039482
Week66 weeks after order submitted (36-42)89111147
Week77 weeks after order submitted (43-49)1395997
Week88 weeks after order submitted (50-56)3114
Week9+9 weeks or more after order submitted (>57)004
TTL ORDERS499425596

<tbody>
</tbody>

Thanks!
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Maybe this for monthly average:

=SUMPRODUCT(C2:C11,{0;1;2;3;4;5;6;7;8;9})/SUM(C2:C11)
 
Upvote 0
Hi, welcome to the board!

Are these the results you were looking for?


Excel 2013/2016
ABCDE
1WeekJanuaryFebruaryMarch
2Week0118
3Week11 week after order submitted (0-7)332827
4Week22 weeks after order submitted (8-14)3330110
5Week33 weeks after order submitted (15-21)603451
6Week44 weeks after order submitted (22-28)386756
7Week55 weeks after order submitted (29-35)1039482
8Week66 weeks after order submitted (36-42)89111147
9Week77 weeks after order submitted (43-49)1395997
10Week88 weeks after order submitted (50-56)3114
11Week9+9 weeks or more after order submitted (>57)004
12TTL ORDERS499425596
13
144.9644.7414.602
Sheet1
Cell Formulas
RangeFormula
C14=SUMPRODUCT(C2:C11,ROW(C2:C11)-ROW(C2))/C12
 
Upvote 0
Thanks so much for the both of the replies! :cool:

Could you explain what does the formula actually do, i.e. what is the logic behind the calculation?

Is it fair to say that it takes on average 5 weeks for the order to be processed after its submission (based on Jan-Mar data)?
 
Upvote 0
Could you explain what does the formula actually do, i.e. what is the logic behind the calculation?

Hi, it's "total weeks used" / "total orders"

"Total weeks used" being the sum of ("total orders" in the "0 weeks" category * 0, "total orders" in the "1 week" * 1, "total orders" in the "2 weeks" * 2 etc..)

Is it fair to say that it takes on average 5 weeks for the order to be processed after its submission (based on Jan-Mar data)?

For a total you should perform the same calculation on the total category by category: i.e.


Excel 2013/2016
ABCDEF
1WeekJanuaryFebruaryMarchTotal
2Week011810
3Week11 week after order submitted (0-7)33282788
4Week22 weeks after order submitted (8-14)3330110173
5Week33 weeks after order submitted (15-21)603451145
6Week44 weeks after order submitted (22-28)386756161
7Week55 weeks after order submitted (29-35)1039482279
8Week66 weeks after order submitted (36-42)89111147347
9Week77 weeks after order submitted (43-49)1395997295
10Week88 weeks after order submitted (50-56)311418
11Week9+9 weeks or more after order submitted (>57)0044
12TTL ORDERS4994255961520
13
14Average4.759868
Sheet1
Cell Formulas
RangeFormula
F2=SUM(C2:E2)
F14=SUMPRODUCT(F2:F11,ROW(F2:F11)-ROW(F2))/F12
 
Upvote 0

Forum statistics

Threads
1,215,212
Messages
6,123,653
Members
449,111
Latest member
ghennedy

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