Excel- Average days between group of dates -


i'm trying use excel calculate average frequency of delivery set of parts. have data set has 2 columns- part number , delivery date. i'm trying figrue out out oftne parts delivered, on average, in terms of days. tried using nested ifs averageif(a2=a2:b9999,datedif(xx)) etc, no avail. i'm looking this:

input:

part    8.1 part    8.8 part    8.15 

output: part average delivery - every 7 days

etc etc. ideas?

if dates in columnb:

=(max(b:b)-min(b:b)--1)/count(b:b)   

or:

=(max(b:b)+1-min(b:b))/counta(b:b)   

should serve.

edit

if have multiple parts (the above assumed one) , list in no particular order pivottable may best (say top left-hand corner in d1), in tabular form part row labels , delivery 3 times Σ values (the first max, second min , third count). =(1+e3-f3)/g3 copied down should give average bumber of days between deliveries. example 5 in example (3 deliveries in 15 days).


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -