#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JohnD
 
Posts: n/a
Default Count Formula

I have the following formula in a cell;
=COUNTIF(Info!L5:L499,"5<10")
The criteria of the formula is to check for number between 5 & 10.
How do this.?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Count Formula

Try something like this:

If you are looking to count items between 5 and 10, exclusive of those
numbers:
=COUNTIF(Info!L5:L499,"<10")-COUNTIF(Info!L5:L499,"<=5")
OR
=SUMPRODUCT((Info!L5:L4995)*(Info!L5:L499<10))

If you want to include 5 and 10 in the count:
=COUNTIF(Info!L5:L499,"<=10")-COUNTIF(Info!L5:L499,"<5")
OR
=SUMPRODUCT((Info!L5:L499=5)*(Info!L5:L499<=10))

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"JohnD" wrote:

I have the following formula in a cell;
=COUNTIF(Info!L5:L499,"5<10")
The criteria of the formula is to check for number between 5 & 10.
How do this.?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ardus Petus
 
Posts: n/a
Default Count Formula

=SUMPRODUCT((Info!L5:L499=5)*(Info!L5:L499<=10))

HTH
--
AP

"JohnD" a écrit dans le message de news:
...
I have the following formula in a cell;
=COUNTIF(Info!L5:L499,"5<10")
The criteria of the formula is to check for number between 5 & 10.
How do this.?



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
Creating a Count formula Shelyna Excel Worksheet Functions 1 May 30th 06 10:13 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula for If Term is on Certain Date then Count Krisjhn Excel Worksheet Functions 3 August 30th 05 07:57 PM
More Help Needed with Count formula Greegan Excel Worksheet Functions 4 July 31st 05 06:31 PM
Count numbers formed from another formula Stephen Excel Discussion (Misc queries) 4 April 5th 05 02:30 AM


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