Counting number of times a value appears if..

Solved/Closed
jensorr - 30 Jun 2009 à 08:44
sambr22 Posts 1 Registration date Thursday 21 April 2016 Status Member Last seen 21 April 2016 - 21 Apr 2016 à 05:24
Hello,

I conducted a survey in which some questions allowed more than one response.

Using Excel - I'm trying to count the number of times a certain value appears in a column even if there are multiple values in the same cell.

For example: A respondant may have selected answer a, b, d for question 5 (all 3 of these would be in the same cell), while another respondant may have selected answer a, c, d for the same question. For that entire column, I want to know how many times respondants selected "a" regardless of any other selections made.
COUNTIF only counts this response in that column if "a" was the only option selected.

Please help!
Thanks
Related:

3 responses

mubashir aziz Posts 190 Registration date Sunday 12 April 2009 Status Member Last seen 16 February 2010 166
1 Jul 2009 à 01:38
Suppose your data is in Column A then paste this formula anywhere or in A12 and Press Ctr+Shift+Enter as this is any Array formula ....... After pressing Ctr+Shift+Enter to enter the formula you will see {} will occur around the formula ={SUM(IF(ISERROR(SEARCH("*a*",A1:A10,1)),0,1))} ... never try to enter {} manually ....


Array Formula : After entering the formula Press Ctrl+Shift+Enter
=SUM(IF(ISERROR(SEARCH("*a*",A1:A10,1)),0,1))