Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Help with Formulas

I am trying to make a column with the cell showing a "Y"
for yes or a "N" for no. is there a formula that will
tell me what percentage is yes versus no? i have read
through the help section on this issue and still can't
figure this out. My boss wants me to get this resolved
and i am at the end of my rope. Please help.

Thanks,
Kim
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Help with Formulas


Kim

You need to use countif. If the column you are looking at is, say, C1
to C100, then use the following:

=countif(C1:C100,"Y")/counta(C1:C100)

Format this as a percentage and this will give you the percentage of
Y's. Change the "Y" to a "N" for N's.

Andy


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Help with Formulas

=Countif(A:A,"Y")/(Countif(A:A,"Y")+Countif(A:A,"N"))

Adjustments for No should be obvious. This allows for entries other than
Yes or No such as a label. If only Yes (Y) or no (N) will apear in the
column

=Countif(A:A,"Y")/CountA(A:A)

in anycase, format the cell as percentage or multiply time 100.

Regards,
Tom Ogilvy

"Kim" wrote in message
...
I am trying to make a column with the cell showing a "Y"
for yes or a "N" for no. is there a formula that will
tell me what percentage is yes versus no? i have read
through the help section on this issue and still can't
figure this out. My boss wants me to get this resolved
and i am at the end of my rope. Please help.

Thanks,
Kim



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Help with Formulas

OK, i have put the formula in that you gave me, changing
the row and column numbers accordingly, now, how do i get
the formula to actually calculate? i am not very familiar
with using excel except for data entry.

Thanks again,
Kim
-----Original Message-----
I am trying to make a column with the cell showing a "Y"
for yes or a "N" for no. is there a formula that will
tell me what percentage is yes versus no? i have read
through the help section on this issue and still can't
figure this out. My boss wants me to get this resolved
and i am at the end of my rope. Please help.

Thanks,
Kim
.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Help with Formulas

A couple of possibilities

What do you see - do you see the formula you just entered?

if so, is the very first character of the formula and equal sign as shown

if it is, is the cell formatted as text? If so, format the cell as general,
select the cell, hit F2, then enter

If you still see the formula, go into tools=Options and select the View
tab, make sure Formulas is unchecked at the bottom area (Windows Options).

do Ctrl+Alt+F9 - does it calculate?

If so, then perhaps you have calculation set to Manual
Tools=Options=Calculation tab and click on Automatic

Other than that, it should calculate when you enter it.

However, you have to change the formulas offered so they point to the actual
location of your data (where the Y's and N's are). Mine pointed to column A
and Andy's pointed to Cells C1 to C100.



Regards,
Tom Ogilvy



"Kim" wrote in message
...
OK, i have put the formula in that you gave me, changing
the row and column numbers accordingly, now, how do i get
the formula to actually calculate? i am not very familiar
with using excel except for data entry.

Thanks again,
Kim
-----Original Message-----
I am trying to make a column with the cell showing a "Y"
for yes or a "N" for no. is there a formula that will
tell me what percentage is yes versus no? i have read
through the help section on this issue and still can't
figure this out. My boss wants me to get this resolved
and i am at the end of my rope. Please help.

Thanks,
Kim
.



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
Convert Array Formulas to Regular Formulas minyeh Excel Worksheet Functions 0 March 21st 10 05:55 AM
E2007 formulas display as formulas, not results Pierre Excel Worksheet Functions 3 January 14th 10 04:59 PM
Counting # of Formulas in a column with formulas and entered data Brand Excel Worksheet Functions 1 October 10th 09 01:01 PM
CELLS NOT CALC FORMULAS - VALUES STAY SME FORMULAS CORRECT?? HELP Sherberg Excel Worksheet Functions 4 September 11th 07 01:34 AM
Formulas not evaluated, Formulas treated as strings Bob Sullentrup Excel Discussion (Misc queries) 0 November 27th 06 08:01 PM


All times are GMT +1. The time now is 09:56 PM.

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

About Us

"It's about Microsoft Excel"