Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Help with averages revisited
I had posted a question about averages earlier and received a helpful reply,
but after trying it the suggested solution did not work. So after thinking for a bit this is what I came up with: I have a series of times in cells B3 through F3, some of which are values of 0:00:00. I wanted to come up with an average for the time worked each day on my project, so if I work 3 hours a day regardless of how many days I worked, the average time I worked each day would be 3 hours. So in cell H3 I added the formula: =(SUM(B3:F3))/(COUNTIF(B3:F3,"<0:00:00")) and the conditional format of ISERROR(H3) to color any divide by zero errors the same color of the background. This solution is working so far and I wanted to share and welcome any comments. Thanks, Tim |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
EXCEL Stability Revisited | Excel Discussion (Misc queries) | |||
IF formula within VLOOKUP (revisited) | Excel Discussion (Misc queries) | |||
Problems with autoformatting revisited | Excel Discussion (Misc queries) | |||
Nested If statement revisited | Excel Worksheet Functions | |||
using a macro question revisited | Excel Discussion (Misc queries) |