Average number of days between dates

vulpes_vulpes_3

New Member
Joined
Jul 24, 2018
Messages
4
Hi all,

I'm new to this forum. I'm stuck with something. I need to estimate delivery cycles.


I have dates on column B

[TABLE="width: 150"]
<tbody>[TR]
[TD][/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Delivery[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]January 10[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]February 11[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]March 15[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]April 22[/TD]
[/TR]
</tbody>[/TABLE]

I need to get average days between the delivery dates

I could do it like this:

=AVERAGE(DAYS(B3;B2); DAYS(B4;B3); DAYS(B5;B4))

However it won't work if I want to add new dates.

Is there any easier way to get the average delivery cycle?
I believe that the answer is simple but I just can't get that right now....:confused:



Thank you!
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Add a helper column in column C and add this formula in cell B3 and drag down as far as you think you will be entering data

=IF(NOT(ISBLANK(B3)),B3-B2,"")

then in cell D2 ....or whereever you want your average to appear.... simply do

=AVERAGE(C:C)
 
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,318
Members
452,634
Latest member
cpostell

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