Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
ssr ssr is offline
external usenet poster
 
Posts: 4
Default How do I count occurences of data entered in a column??

Hi there can anyone help me out here.....

I am creating an app that has a column, say A, where "Yes"
or "No" can be selected from a list for each row of data entered. Therefore
column A will be populated
with an infinite number of "Yes" and "No" in no particular set order.

I firstly need to calculate how many times "Yes" occurs for column A and how
many times "No" occurs in that same column (A).

Once I have determined this I need to know the total amounts of times the
"Yes" + "No" has occured in column A.

After I have this information I then need to calculate percentages of the
"Yes" and "No" occurences which I think I can handle.

If it makes it easier I can send the file - and thanks in advance for any
help!

Simon


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 79
Default How do I count occurences of data entered in a column??

Simon,

no need for VBA programming here. Just use "Countif" function in excel. If
you need the whole column A, for example, use this:
=countif ("A:A","Yes")
=countif("A:A","No")

Best
RADO


"ssr" wrote in message
...
Hi there can anyone help me out here.....

I am creating an app that has a column, say A, where "Yes"
or "No" can be selected from a list for each row of data entered.

Therefore
column A will be populated
with an infinite number of "Yes" and "No" in no particular set order.

I firstly need to calculate how many times "Yes" occurs for column A and

how
many times "No" occurs in that same column (A).

Once I have determined this I need to know the total amounts of times the
"Yes" + "No" has occured in column A.

After I have this information I then need to calculate percentages of the
"Yes" and "No" occurences which I think I can handle.

If it makes it easier I can send the file - and thanks in advance for any
help!

Simon




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I count occurences of data entered in a column??


Try:

=Countif("A:A","Yes")
=Countif("A:A","No")
=Countif("A:A","Yes")+Countif("A:A","No")


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

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
Count text occurences in range when criteria in other column is me eliyahuz Excel Worksheet Functions 3 October 26th 09 05:36 PM
How do I count the # of unique occurences of a text in a column? Rob Kaiser Excel Worksheet Functions 10 November 21st 07 09:16 PM
count text occurences in a column Daniel_ITSM Excel Discussion (Misc queries) 20 March 7th 07 08:46 PM
formulae to look at 52 sheets &count if 2 cells have data entered bsnapool Excel Discussion (Misc queries) 1 July 10th 06 04:55 PM
Count number of occurences in 1 column only if something in anothe Wenster Excel Worksheet Functions 2 February 7th 05 09:58 PM


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