Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default whats the formula

i created a data sheet collecting data of of permits. i set up the sheet
where i just entered Y for yes, or N for no. i'm trying to find out if
there's a formula for finding out the percentage of out of 2000 y's and n's
there are this many y's... and same n's also...
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default whats the formula

Hi,

To count the y and n use
=COUNTIF(A1:A2000,"n")
obviously substituting a y

For the percentage of each use
=COUNTIF(A1:A2000,"y")/2000
Once again substitute the y for n to count the other

Mike

"dperalta" wrote:

i created a data sheet collecting data of of permits. i set up the sheet
where i just entered Y for yes, or N for no. i'm trying to find out if
there's a formula for finding out the percentage of out of 2000 y's and n's
there are this many y's... and same n's also...

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default whats the formula

=COUNTIF(A1:A2000,"y")/COUNTA(A1:A2000)

Will give the percentage of "y"s in the column.


Gord Dibben MS Excel MVP

On Thu, 17 Jul 2008 12:55:16 -0700, dperalta
wrote:

i created a data sheet collecting data of of permits. i set up the sheet
where i just entered Y for yes, or N for no. i'm trying to find out if
there's a formula for finding out the percentage of out of 2000 y's and n's
there are this many y's... and same n's also...


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
Whats better Lookup or Function Formula Jocko_MacDuff116 Excel Worksheet Functions 3 September 21st 07 04:32 PM
Whats wrong with this OR formula? Mark Excel Worksheet Functions 4 October 23rd 06 07:16 PM
whats wrong with the formula? Gary Excel Worksheet Functions 2 August 3rd 06 11:33 AM
a h.s.l.@ £3.80 mtr & 10sq m are fitted whats the formula help SONIA NEW TO FORMULA'S HELP Excel Worksheet Functions 1 April 15th 06 11:14 PM
whats wong with this formula? AMDGUY [MCP] Excel Worksheet Functions 1 February 2nd 05 01:28 PM


All times are GMT +1. The time now is 11:40 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"