Home |
Search |
Today's Posts |
#5
![]() |
|||
|
|||
![]()
And this saves 4 keystrokes and does *exactly* the same thing!
=SUMPRODUCT((A1:A20=0)*(A1:A20<=3)) It seems to be the "fashion" to use the unary, even when unnecessary. -- Regards, RD -------------------------------------------------------------------- Please keep all correspondence within the Group, so all may benefit ! -------------------------------------------------------------------- "Soz" wrote in message ... Thanks Biff, That works just the way I needed it to. The formula makes sense, but what is the purpose of the two -- in the formula. Thanks, Soz "Biff" wrote in message ... Hi! Assume the list is in column A: =SUMPRODUCT(--(A1:A20=0),--(A1:A20<=3)) Or, put the number ranges in two cells: B1 = 0 C1 = 3 =SUMPRODUCT(--(A1:A20=B1),--(A1:A20<=C1)) Biff -----Original Message----- Hi, I have a long column list of numbers that I need to count instances of. example: the instances of numbers =0 & <=3, =4 & <=7, etc. Thanks, Soz . |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
array functions and ISNUMBER() | Excel Worksheet Functions | |||
# of Functions per cell | Excel Worksheet Functions | |||
PivotTable canned functions | Excel Discussion (Misc queries) | |||
How to load Engineering Functions into the Fx function wizard? | Excel Worksheet Functions | |||
Where can I see VBA code for financial functions? | Excel Worksheet Functions |