Average completion times..

megaman777

New Member
Joined
Mar 20, 2023
Messages
11
Office Version
  1. 365
Platform
  1. Windows
Hello, hope someone can help- i need 2 formulae, for the following scenarios. The spreadsheet currently has about 200 rows of data, but new rows are added to it all the time.

1. Average time to complete
- where column A is the start date
- column B is the completion date (column B must have a Date value and not 'TBD')

how do i work out the average completion time in days, across all of the rows in the worksheet?

2. Average time open (not completed)
- where column A is the start date
- column B contains 'TBD' and therefore todays date should be used to calculate the 'time open'

how do i workout the average 'time open', across all of the rows in the worksheet?
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Would something like this work out for you, adding 2 columns to calculate the number of days Open or To Close for each row:

1679336751586.png
 
Upvote 0
Thank you this is really super helpful. One more question, is there something nifty you could do to result in a blank value where the field values in both columns are n/a? Or easier just to omit the formula from those rows where that's the case?
 
Upvote 0
How about something like this:
mr excel questions 15.xlsm
ABCDE
1StartFinshCurrent Date:2023-03-21
22023-03-112023-03-17Average Time Closed4.90909091
32023-03-142023-03-19Average Time Open7
42023-03-13
52023-03-222023-03-28
62023-03-152023-03-18
72023-03-102023-03-15
82023-03-16
92023-03-13
102023-03-222023-03-27
112023-03-112023-03-17
122023-03-132023-03-19
132023-03-14
142023-03-132023-03-16
152023-03-112023-03-15
162023-03-212023-03-26
17
Megaman777
Cell Formulas
RangeFormula
E2E2=AVERAGE(FILTER($B$2:$B$16,ISNUMBER($B$2:$B$16),"")-FILTER($A$2:$A$16,ISNUMBER($B$2:$B$16),""))
E3E3=AVERAGE($E$1-FILTER($A$2:$A$16,$B$2:$B$16="",""))
 
Upvote 0

Forum statistics

Threads
1,214,805
Messages
6,121,665
Members
449,045
Latest member
Marcus05

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