Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
division with blank cells
yes
no ___ ___ yes no yes __ FORMULA Is there a way for me to put a formula in the Formula cell where it would divide all the yes's by all the no's without counting all the blank cells. So the formula would read 3/5 (number of filled in cells) instead of 3/8 (number of total cells in range) Your help is greatly appreciated. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
division with blank cells
If those empty cells are really empty:
=countif(a:a,"yes")/counta(a:a) If those cells just look empty (contain formulas that evaluate to "") =countif(a:a,"yes")/sum(countif(a:a,{"yes","no"})) This will ignore all value that's not equal to yes or no. jpmurray22 wrote: yes no ___ ___ yes no yes __ FORMULA Is there a way for me to put a formula in the Formula cell where it would divide all the yes's by all the no's without counting all the blank cells. So the formula would read 3/5 (number of filled in cells) instead of 3/8 (number of total cells in range) Your help is greatly appreciated. -- Dave Peterson |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
division with blank cells
=COUNTIF(A2:A20,"Yes")/COUNTA(A2:A20)
-- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "jpmurray22" wrote in message ... yes no ___ ___ yes no yes __ FORMULA Is there a way for me to put a formula in the Formula cell where it would divide all the yes's by all the no's without counting all the blank cells. So the formula would read 3/5 (number of filled in cells) instead of 3/8 (number of total cells in range) Your help is greatly appreciated. |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
division with blank cells
Try this:
=COUNTIF(A1:A8,"yes")/COUNTIF(A1:A8,"?*") -- Biff Microsoft Excel MVP "jpmurray22" wrote in message ... yes no ___ ___ yes no yes __ FORMULA Is there a way for me to put a formula in the Formula cell where it would divide all the yes's by all the no's without counting all the blank cells. So the formula would read 3/5 (number of filled in cells) instead of 3/8 (number of total cells in range) Your help is greatly appreciated. |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
division with blank cells
Something like this prehaps...
=COUNTIF(C1:C8, "yes")/SUM(COUNTIF(C1:C8, "yes"), COUNTIF(C1:C8, "no")) Format the cell as fraction... -- HTH... Jim Thomlinson "jpmurray22" wrote: yes no ___ ___ yes no yes __ FORMULA Is there a way for me to put a formula in the Formula cell where it would divide all the yes's by all the no's without counting all the blank cells. So the formula would read 3/5 (number of filled in cells) instead of 3/8 (number of total cells in range) Your help is greatly appreciated. |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
division with blank cells
=COUNTIF(A1:A7,"yes")/COUNTIF(A1:A7,"no")
Format as Fraction Gord Dibben MS Excel MVP On Tue, 2 Oct 2007 15:03:04 -0700, jpmurray22 wrote: yes no ___ ___ yes no yes __ FORMULA Is there a way for me to put a formula in the Formula cell where it would divide all the yes's by all the no's without counting all the blank cells. So the formula would read 3/5 (number of filled in cells) instead of 3/8 (number of total cells in range) Your help is greatly appreciated. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Index/match - make blank cells return a blank value. | Excel Worksheet Functions | |||
Range of cells and division formula | Excel Discussion (Misc queries) | |||
Imported Data creates blank cells that aren't really blank | Excel Worksheet Functions | |||
Making Blank Cells Really Blank (Zen Koan) | Excel Worksheet Functions | |||
Auto populate cells based on 2 cells division. | Excel Discussion (Misc queries) |