<< Hi,
I'm trying to calculate average miles in my mileage log.
Col. F = total miles for each day
Col E = destination eg. store, supplyhouse, rec, auto, etc
I want to total all the "rec" miles
=SUMIF(E1:E100,\"REC\",F1:F100)
<< and average them in a single cell.
=SUMIF(E1:E100,\"REC\",F1:F100)/COUNTIF(E1:E100,\"REC\")
Regards.
--
BenjieLop
------------------------------------------------------------------------
BenjieLop's Profile:
http://www.excelforum.com/member.php...o&userid=11019
View this thread:
http://www.excelforum.com/showthread...hreadid=466654