Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 73
Default Countif multiple items

HI,
How do I countif a range where I want it to include more than 1 item. I`m
usng the formula :
=COUNTIF(AN10:AN89,{"W","SA+","ST","SA"})

This isn`t working, it`s just counting up the first item, i.e. all the "W"
entries. How do I get it to count all the SA+, ST and the SA as well?

Many thanks.
RR1
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Countif multiple items

Try..

=SUM(COUNTIF(AN10:AN89,{"W","SA+","ST","SA"}))

If this post helps click Yes
---------------
Jacob Skaria


"Romileyrunner1" wrote:

HI,
How do I countif a range where I want it to include more than 1 item. I`m
usng the formula :
=COUNTIF(AN10:AN89,{"W","SA+","ST","SA"})

This isn`t working, it`s just counting up the first item, i.e. all the "W"
entries. How do I get it to count all the SA+, ST and the SA as well?

Many thanks.
RR1

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 73
Default Countif multiple items

Cheers Jacob. Works great. That was a quick and perfect answer.
Many thanks.
RR1

"Jacob Skaria" wrote:

Try..

=SUM(COUNTIF(AN10:AN89,{"W","SA+","ST","SA"}))

If this post helps click Yes
---------------
Jacob Skaria


"Romileyrunner1" wrote:

HI,
How do I countif a range where I want it to include more than 1 item. I`m
usng the formula :
=COUNTIF(AN10:AN89,{"W","SA+","ST","SA"})

This isn`t working, it`s just counting up the first item, i.e. all the "W"
entries. How do I get it to count all the SA+, ST and the SA as well?

Many thanks.
RR1

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
COUNTIF - Summing non-numerical items in cells Vic Excel Worksheet Functions 5 February 16th 09 01:39 AM
SUMPRODUCT, SUMIF, COUNTIF for multiple sheets for multiple criter Greg in CO[_2_] Excel Worksheet Functions 0 September 18th 08 05:51 PM
How do I create a CountIF statement for a range of items in a list CraigC Excel Worksheet Functions 1 March 7th 07 07:21 PM
Countif count items not in data range jbanton Excel Discussion (Misc queries) 1 May 16th 06 12:32 AM
order form with multiple items and sizes for items Bernard56 Excel Discussion (Misc queries) 1 January 17th 06 11:43 PM


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