Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
sruth
 
Posts: n/a
Default can i calculate the number of occurances of a partucular value?

In a list populated by 'Yes' and 'No' answers only, is there a formula that
will calculate the total number each response? E.g. Total 'Yes' rseponses
equals.....
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default can i calculate the number of occurances of a partucular value?

Hi!

Assume the list is in the range A1:A10

=COUNTIF(A1:A10,"Yes")

=COUNTIF(A1:A10,"No")

Biff

"sruth" wrote in message
...
In a list populated by 'Yes' and 'No' answers only, is there a formula
that
will calculate the total number each response? E.g. Total 'Yes' rseponses
equals.....



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JLatham
 
Posts: n/a
Default can i calculate the number of occurances of a partucular value?

use the COUNTIF() function at the end of the list. For example, if your list
is in column A and goes from row 1 to row 10, then in A10 enter
=COUNTIF(A1:A10,"Yes")
to see how many Yes entries there are.

"sruth" wrote:

In a list populated by 'Yes' and 'No' answers only, is there a formula that
will calculate the total number each response? E.g. Total 'Yes' rseponses
equals.....

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peter from Novartis
 
Posts: n/a
Default can i calculate the number of occurances of a partucular value?

try the conditional sum in Tools.
If you don't have it installed, then click it in add-ins.
or write a formula this way: {=SUM(IF($F$7:$F$9="YES";1;0))}
If your cells F7:F9 contain the values.
You can copy the formula to the line under and change "Yes" to "No" and the
formula will calculate the other expression.
The way to get the {} brackets is to press the Ctrl+Shift+Enter while in the
editing mode in the formula cell. (Or go in the formula cell, press the F2
key and then Ctrl+Shift+Enter.
sruth pÃ*Å¡e:

In a list populated by 'Yes' and 'No' answers only, is there a formula that
will calculate the total number each response? E.g. Total 'Yes' rseponses
equals.....

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
Calculate Number of Days Between Dates Minus Weekends Melissa Excel Discussion (Misc queries) 3 March 6th 06 07:20 PM
calculate number of days btw dates Nelson Excel Worksheet Functions 2 March 2nd 06 01:02 AM
Formula to calculate number of days between Dates themax16 Excel Worksheet Functions 2 October 21st 05 01:38 PM
How can I calculate the week number from a date, eg 21/06/05 = 26 cel504 Excel Worksheet Functions 2 August 3rd 05 08:14 PM
2003= negative number&2004= negative number How Do I Calculate gro Jason Excel Worksheet Functions 1 January 14th 05 05:24 PM


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