Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default countif from specific range

I am trying to count data which falls within a specific non-sequential range.
So i basically only want to count if the a1:a100 is equal to:
11,12,13,15,18,89,88,69,56, but i can't seem to find a way around it that
doesn't error

Would it help if i used a named range?

Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default countif from specific range

try this
=COUNTIF(A1:A100,11)+COUNTIF(A1:A100,12)+COUNTIF(A 1:A100,13)+COUNTIF(A1:A100,15)+COUNTIF(A1:A100,18) +COUNTIF(A1:A100,88)+COUNTIF(A1:A100,89)+COUNTIF(A 1:A100,69)+COUNTIF(A1:A100,156)

"shakey1181" wrote:

I am trying to count data which falls within a specific non-sequential range.
So i basically only want to count if the a1:a100 is equal to:
11,12,13,15,18,89,88,69,56, but i can't seem to find a way around it that
doesn't error

Would it help if i used a named range?

Thanks in advance.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,311
Default countif from specific range

Maybe one way:

=SUMPRODUCT(--(A1:A100={11,12,13,15,18,89,88,69,56}))

HTH,
Paul

"shakey1181" wrote in message
...
I am trying to count data which falls within a specific non-sequential
range.
So i basically only want to count if the a1:a100 is equal to:
11,12,13,15,18,89,88,69,56, but i can't seem to find a way around it that
doesn't error

Would it help if i used a named range?

Thanks in advance.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default countif from specific range

Try

=SUM(COUNTIF(A1:A100,{11;12;13;15;18;56;89;88;69}) )


--
Regards,

Peo Sjoblom



"shakey1181" wrote in message
...
I am trying to count data which falls within a specific non-sequential
range.
So i basically only want to count if the a1:a100 is equal to:
11,12,13,15,18,89,88,69,56, but i can't seem to find a way around it that
doesn't error

Would it help if i used a named range?

Thanks in advance.



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 Specific word in specific range [email protected] Excel Worksheet Functions 2 May 16th 06 10:30 AM
Count If Specific word in specific range [email protected] Excel Discussion (Misc queries) 2 May 16th 06 10:14 AM
MEDIAN, STDEV of a range IF another range = specific value Barb Reinhardt Excel Worksheet Functions 6 April 26th 06 05:18 PM
countif >0, specific cells Renee - California Excel Worksheet Functions 9 September 7th 05 11:31 PM
Countif for specific cells rather than a range ???? Renee - California Excel Worksheet Functions 5 May 27th 05 07:09 PM


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