Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Average only if ALL cells filled.
For some reason I get "False" as my average instead of a number whether or not I have numbers in the five cells. I'm using as suggested: =IF(COUNTBLANK(C4:C8)=0,IF(ISERROR(ROUND(AVERAGE(C 4:C8),1)),"",ROUND(AVERAGE(C4:C8),1)),"") I would like to get a result, ie the average of the five cells, only if all five cells have values. -- chuck72352 ------------------------------------------------------------------------ chuck72352's Profile: http://www.thecodecage.com/forumz/member.php?userid=482 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=113853 |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Average only if ALL cells filled.
=IF(COUNT(C4:C8)=5,ROUND(AVERAGE(C4:C8),1),"")
"chuck72352" wrote: For some reason I get "False" as my average instead of a number whether or not I have numbers in the five cells. I'm using as suggested: =IF(COUNTBLANK(C4:C8)=0,IF(ISERROR(ROUND(AVERAGE(C 4:C8),1)),"",ROUND(AVERAGE(C4:C8),1)),"") I would like to get a result, ie the average of the five cells, only if all five cells have values. -- chuck72352 ------------------------------------------------------------------------ chuck72352's Profile: http://www.thecodecage.com/forumz/member.php?userid=482 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=113853 |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Average only if ALL cells filled.
Here's another one:
=IF(COUNT(C4:C8)=ROWS(C4:C8),ROUND(AVERAGE(C4:C8), 1),"") This way you don't have to count how many cells you have if the range happened to be something like C49:C801. -- Biff Microsoft Excel MVP "chuck72352" wrote in message ... For some reason I get "False" as my average instead of a number whether or not I have numbers in the five cells. I'm using as suggested: =IF(COUNTBLANK(C4:C8)=0,IF(ISERROR(ROUND(AVERAGE(C 4:C8),1)),"",ROUND(AVERAGE(C4:C8),1)),"") I would like to get a result, ie the average of the five cells, only if all five cells have values. -- chuck72352 ------------------------------------------------------------------------ chuck72352's Profile: http://www.thecodecage.com/forumz/member.php?userid=482 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=113853 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Average only if all cells filled | Excel Discussion (Misc queries) | |||
Ignoring non-filled formulas in average | Excel Discussion (Misc queries) | |||
Calculating Average based on 3 filled cells from left in a row | Excel Discussion (Misc queries) | |||
Filled cells dont appear as filled | Excel Discussion (Misc queries) | |||
Percentage of filled cells | Excel Worksheet Functions |