Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Viks
 
Posts: n/a
Default Excel COUNTIF function

How do I count if values in a table that are =100 and <=200?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Excel COUNTIF function

=COUNTIF(A:A,"=100")-COUNTIF(A:A,"200")

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Viks" wrote in message
...
How do I count if values in a table that are =100 and <=200?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RagDyeR
 
Posts: n/a
Default Excel COUNTIF function

One way:

=SUMPRODUCT((A1:A30=100)*(A1:A30<=200))


Another way:

=COUNTIF(A1:A30,"=100")-COUNTIF(A1:A30,"200")
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===


"Viks" wrote in message
...
How do I count if values in a table that are =100 and <=200?


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Viks
 
Posts: n/a
Default Excel COUNTIF function

Thanks, much appreciated! The second option works really cool and easy.

Best Regards
Viks

"RagDyeR" wrote:

One way:

=SUMPRODUCT((A1:A30=100)*(A1:A30<=200))


Another way:

=COUNTIF(A1:A30,"=100")-COUNTIF(A1:A30,"200")
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===


"Viks" wrote in message
...
How do I count if values in a table that are =100 and <=200?



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Viks
 
Posts: n/a
Default Excel COUNTIF function

Thanks Bob, much appreciated, works really well and easy.

Best Regards
Viks

"Bob Phillips" wrote:

=COUNTIF(A:A,"=100")-COUNTIF(A:A,"200")

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Viks" wrote in message
...
How do I count if values in a table that are =100 and <=200?




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
How do i execute a VBA function by clicking on an excel cell? Matthew Excel Discussion (Misc queries) 1 December 7th 05 01:10 AM
Excel function countif??? Raj7 Excel Worksheet Functions 3 May 26th 05 11:34 PM
Access Module coded converted to Excel Function Adam Excel Discussion (Misc queries) 1 December 23rd 04 02:48 PM
Excel function help facilities RPS Excel Discussion (Misc queries) 1 December 8th 04 02:36 AM
I cant use englisch function names in a swedich version of excel PE Excel Discussion (Misc queries) 2 December 7th 04 01:00 AM


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