Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Excel Formulas - using letters instea do numbers

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default Excel Formulas - using letters instea do numbers

=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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Excel Formulas - using letters instea do numbers

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default Excel Formulas - using letters instea do numbers

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Excel Formulas - using letters instea do numbers

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Columns in Excel labeled numbers rather than letters? zrossing Excel Discussion (Misc queries) 2 October 19th 06 06:13 PM
Seperating Numbers from Letters in Excel Tel Excel Worksheet Functions 7 March 23rd 06 11:36 PM
Excel formulas, comparing numbers DGunn Excel Worksheet Functions 1 February 17th 06 04:48 PM
TRYING TO SET UP EXCEL SPREADSHEET ON MY COMPUTER MEGTOM New Users to Excel 5 October 27th 05 03:06 AM
FORMULAS FOR ADDING LETTERS REPRESENTING NUMBERS koolone Excel Discussion (Misc queries) 1 April 8th 05 12:39 PM


All times are GMT +1. The time now is 07:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"