Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Calcultae % with empty cells
Hi,
Suppose I have a range from A1 to C6 I need to calculate a % out of these 18 cells I currently use the formula: (sum(A1:C6)*18)/100 This is correct if all cells contain a value, but whet if 3 cells are left empty??? What should the formula be in that case? Thanks JP |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Calcultae % with empty cells
Jean-Paul,
Try: Sum(A1:C6)*Count(A1:C6)/100 HTH, Nikos "Jean-Paul De Winter" wrote in message ... Hi, Suppose I have a range from A1 to C6 I need to calculate a % out of these 18 cells I currently use the formula: (sum(A1:C6)*18)/100 This is correct if all cells contain a value, but whet if 3 cells are left empty??? What should the formula be in that case? Thanks JP |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Calcultae % with empty cells
Why not just
=AVERAGE(A1:C6)*100 or =AVERAGE(A1:C6) and format as percentage -- HTH RP "Nikos Yannacopoulos" wrote in message ... Jean-Paul, Try: Sum(A1:C6)*Count(A1:C6)/100 HTH, Nikos "Jean-Paul De Winter" wrote in message ... Hi, Suppose I have a range from A1 to C6 I need to calculate a % out of these 18 cells I currently use the formula: (sum(A1:C6)*18)/100 This is correct if all cells contain a value, but whet if 3 cells are left empty??? What should the formula be in that case? Thanks JP |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Calcultae % with empty cells
oops, forget that, losing it!
-- HTH RP "Bob Phillips" wrote in message ... Why not just =AVERAGE(A1:C6)*100 or =AVERAGE(A1:C6) and format as percentage -- HTH RP "Nikos Yannacopoulos" wrote in message ... Jean-Paul, Try: Sum(A1:C6)*Count(A1:C6)/100 HTH, Nikos "Jean-Paul De Winter" wrote in message ... Hi, Suppose I have a range from A1 to C6 I need to calculate a % out of these 18 cells I currently use the formula: (sum(A1:C6)*18)/100 This is correct if all cells contain a value, but whet if 3 cells are left empty??? What should the formula be in that case? Thanks JP |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel - Autom. Filter "Empty / Non Empty cells" should come first | Excel Discussion (Misc queries) | |||
When I SUM cells & 1 is empty I need the result to be empty not 0 | Excel Discussion (Misc queries) | |||
How can I convert empty strings to empty cells? | Excel Discussion (Misc queries) | |||
how do populate empty cells with the contents of populated cells . | Excel Discussion (Misc queries) | |||
Can blank cells created using empty Double-Quotes not be empty?? | Excel Programming |