View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_] Ashish Mathur[_2_] is offline
external usenet poster
 
Posts: 1,766
Default values greater than and including

Hi,

You could try either of the following:

=sumproduct((range=6)*(range<12)); or

=countif(range,"=6")-countif(range,"<12")

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Teeny" wrote in message
...
I need to find how many values in a column are greater than and including
6
but less than 12, I have tried many variations on COUNTIF and the numbers
just dont look right.

Can anyone help?