Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a spreadsheet where I use "Y" or "N" as the options. i want to get
the % of Y vs. N during the month. Can I construct a formula that will do this for me? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=countif(range,"Y")/counta(range) will provide % of the values that are Y.
"jargu" wrote: I have a spreadsheet where I use "Y" or "N" as the options. i want to get the % of Y vs. N during the month. Can I construct a formula that will do this for me? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Worked perfectly. Thanks.
"Sean Timmons" wrote: =countif(range,"Y")/counta(range) will provide % of the values that are Y. "jargu" wrote: I have a spreadsheet where I use "Y" or "N" as the options. i want to get the % of Y vs. N during the month. Can I construct a formula that will do this for me? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You would have to do something like
=SUMIF(A1:A10="Y")/(SUMIF(A1:A10="Y")+SUMIF(A1:A10="N")) Essentially, this is the sum of Ys divided by the sum of Ys plus the sum of Ns Dave -- Brevity is the soul of wit. "jargu" wrote: I have a spreadsheet where I use "Y" or "N" as the options. i want to get the % of Y vs. N during the month. Can I construct a formula that will do this for me? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try something like this:
=COUNTIF(A1:A100,"Y")/SUM(COUNTIF(A1:A100,{"Y","N"})) =COUNTIF(A1:A100,"N")/SUM(COUNTIF(A1:A100,{"Y","N"})) -- HTH, RD ================================================== === Please keep all correspondence within the Group, so all may benefit! ================================================== === "jargu" wrote in message ... I have a spreadsheet where I use "Y" or "N" as the options. i want to get the % of Y vs. N during the month. Can I construct a formula that will do this for me? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Columns in Excel labeled numbers rather than letters? | Excel Discussion (Misc queries) | |||
Seperating Numbers from Letters in Excel | Excel Worksheet Functions | |||
Excel formulas, comparing numbers | Excel Worksheet Functions | |||
TRYING TO SET UP EXCEL SPREADSHEET ON MY COMPUTER | New Users to Excel | |||
FORMULAS FOR ADDING LETTERS REPRESENTING NUMBERS | Excel Discussion (Misc queries) |