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>[TABLE="width: 0"]
<tbody>[TR]
[TD]Week[/TD]
[TD][/TD]
[TD]January[/TD]
[TD]February[/TD]
[TD]March[/TD]
[/TR]
[TR]
[TD]Week0[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8[/TD]
[/TR]
[TR]
[TD]Week1[/TD]
[TD]1 week after order submitted (0-7)[/TD]
[TD="align: right"]33[/TD]
[TD="align: right"]28[/TD]
[TD="align: right"]27[/TD]
[/TR]
[TR]
[TD]Week2[/TD]
[TD]2 weeks after order submitted (8-14)[/TD]
[TD="align: right"]33[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]110[/TD]
[/TR]
[TR]
[TD]Week3[/TD]
[TD]3 weeks after order submitted (15-21)[/TD]
[TD="align: right"]60[/TD]
[TD="align: right"]34[/TD]
[TD="align: right"]51[/TD]
[/TR]
[TR]
[TD]Week4[/TD]
[TD]4 weeks after order submitted (22-28)[/TD]
[TD="align: right"]38[/TD]
[TD="align: right"]67[/TD]
[TD="align: right"]56[/TD]
[/TR]
[TR]
[TD]Week5[/TD]
[TD]5 weeks after order submitted (29-35)[/TD]
[TD="align: right"]103[/TD]
[TD="align: right"]94[/TD]
[TD="align: right"]82[/TD]
[/TR]
[TR]
[TD]Week6[/TD]
[TD]6 weeks after order submitted (36-42)[/TD]
[TD="align: right"]89[/TD]
[TD="align: right"]111[/TD]
[TD="align: right"]147[/TD]
[/TR]
[TR]
[TD]Week7[/TD]
[TD]7 weeks after order submitted (43-49)[/TD]
[TD="align: right"]139[/TD]
[TD="align: right"]59[/TD]
[TD="align: right"]97[/TD]
[/TR]
[TR]
[TD]Week8[/TD]
[TD]8 weeks after order submitted (50-56)[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]14[/TD]
[/TR]
[TR]
[TD]Week9+[/TD]
[TD]9 weeks or more after order submitted (>57)[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]TTL ORDERS[/TD]
[TD="align: right"]499[/TD]
[TD="align: right"]425[/TD]
[TD="align: right"]596[/TD]
[/TR]
</tbody>[/TABLE]

Thanks!
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
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,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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