Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Count Number of occurences of several texts in a range of cells

Im trying to use a COUNTIFS fx to count only certain answers from a list of
answers. Answers can only be chosen from a predetermined drop down list.

Answers I want to count are €œS&D€, €œTO€, €œBoth€ and €œY€

Range is the same for all cells. Other answers are an option but I do not
want to count them.

Ive tried these but they wont seem to work:
=countifs(o2:o93, €œS&D€, o2:o93, €œTO€, o2:o93, €œBoth€, o2:o93, €œY€)
=countifs(o2:o93, €œS&D€, €œTO€, €œBoth€, €œY€)

Any ideas?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Count Number of occurences of several texts in a range of cells

Try this


=SUMPRODUCT(--(ISNUMBER(SEARCH({"S&D","TO","Both","Y"},O2:O93))) )

Mike

"kbeirne" wrote:

Im trying to use a COUNTIFS fx to count only certain answers from a list of
answers. Answers can only be chosen from a predetermined drop down list.

Answers I want to count are €œS&D€, €œTO€, €œBoth€ and €œY€

Range is the same for all cells. Other answers are an option but I do not
want to count them.

Ive tried these but they wont seem to work:
=countifs(o2:o93, €œS&D€, o2:o93, €œTO€, o2:o93, €œBoth€, o2:o93, €œY€)
=countifs(o2:o93, €œS&D€, €œTO€, €œBoth€, €œY€)

Any ideas?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Count Number of occurences of several texts in a range of cell

Worked GREAT! Thaks.

"Mike H" wrote:

Try this


=SUMPRODUCT(--(ISNUMBER(SEARCH({"S&D","TO","Both","Y"},O2:O93))) )

Mike

"kbeirne" wrote:

Im trying to use a COUNTIFS fx to count only certain answers from a list of
answers. Answers can only be chosen from a predetermined drop down list.

Answers I want to count are €œS&D€, €œTO€, €œBoth€ and €œY€

Range is the same for all cells. Other answers are an option but I do not
want to count them.

Ive tried these but they wont seem to work:
=countifs(o2:o93, €œS&D€, o2:o93, €œTO€, o2:o93, €œBoth€, o2:o93, €œY€)
=countifs(o2:o93, €œS&D€, €œTO€, €œBoth€, €œY€)

Any ideas?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Count Number of occurences of several texts in a range of cell

Glad I could help and thanks for the feedback

"kbeirne" wrote:

Worked GREAT! Thaks.

"Mike H" wrote:

Try this


=SUMPRODUCT(--(ISNUMBER(SEARCH({"S&D","TO","Both","Y"},O2:O93))) )

Mike

"kbeirne" wrote:

Im trying to use a COUNTIFS fx to count only certain answers from a list of
answers. Answers can only be chosen from a predetermined drop down list.

Answers I want to count are €œS&D€, €œTO€, €œBoth€ and €œY€

Range is the same for all cells. Other answers are an option but I do not
want to count them.

Ive tried these but they wont seem to work:
=countifs(o2:o93, €œS&D€, o2:o93, €œTO€, o2:o93, €œBoth€, o2:o93, €œY€)
=countifs(o2:o93, €œS&D€, €œTO€, €œBoth€, €œY€)

Any ideas?

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 number of occurences within a time range [email protected] Excel Discussion (Misc queries) 9 January 20th 13 05:54 PM
COUNT function - # of occurences a number appears in all cells watermt Excel Discussion (Misc queries) 16 June 8th 09 05:48 PM
Question about count ONLY different Texts in a range. ldiaz Excel Discussion (Misc queries) 5 July 17th 08 06:17 PM
How to count the occurences in my range with 2 characters only? Jen[_4_] Excel Worksheet Functions 5 June 27th 07 09:30 AM
How do I count the number of alpha occurences in a range? CRM Excel Worksheet Functions 2 May 30th 05 04:08 PM


All times are GMT +1. The time now is 11:27 AM.

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"