DAVERAGE With Calculated Time

Smokeyham

Board Regular
Joined
Feb 1, 2006
Messages
120
Office Version
  1. 365
Platform
  1. Windows
I'm trying to use the daverage function, to calculate the average time in a series of data and to only choose the times where the associated code (the"LEFireMedical" Column) is "LE".

Here is a sample:
Excel Workbook
JK
1Response TimeLEFireMedical
20:08Fire
30:10Fire
40:10Fire
50:07LE
60:05LE
71:00FIre
80:15Fire
90:30Fire
100:10LE
110:58FIre
Response Times 2008


I am using the following information for the "Criteria" portion of the formula
Excel Workbook
D
76LEFireMedical
77LE
Response Times 2008



The problem is that I keep on getting a #DIV/0! error message.

I don't know if this is causing my difficulties, but the reponse time is calculated from start time and end time fields.

Here is what the function arguements look like:

=DAVERAGE(J1:K11,"LEFireMedical",D76:D77)

Thanks for any help!

Gordon
 
Your formula
=DAVERAGE(J1:K11,"LEFireMedical",D76:D77)

The red section is the field you want to do an average on. But you have identified column K which isnt a numeric column and the reason for your #DIV/0.
Change that to "Response Time", being the field with the values to be averaged, and it should work.
 
Upvote 0
Your formula
=DAVERAGE(J1:K11,"LEFireMedical",D76:D77)

The red section is the field you want to do an average on. But you have identified column K which isnt a numeric column and the reason for your #DIV/0.
Change that to "Response Time", being the field with the values to be averaged, and it should work.

Thanks so much!! This is my first time using the daverage function, and your response helped me to better understand it, and to resolve my problem. Much appreciated!

Gordon
 
Upvote 0

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