One way
Try: =SUMPRODUCT((B2:B50>1)*(B2:B50<=3))
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"benny" <(E-Mail Removed)> wrote in message
news:#(E-Mail Removed)...
> Hi
> I have a problem to make simple countif formula for more than 1 category.
> Suppose I have an array of data in B2:B50 which has value (1 to 9). I want
> to count the number of value with categories where the value is equal or
> more than 1 and equal or less than 3.
> I make the formula
> "=Countif(B2:B50,"1")+Countif(B2:B50,"2")+Countif(B2:B50,"3")...that looks
> so long formula.
>
> I want to make it simple with just one countif formula...without "+"
> operator.
> Highly appreciate for some help
>
> thanks