Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
In the mainframe report writer I do something like the following
"amount" ( in ) 22,24,30,33.5,40,44 to identify the record if any of those amounts are found. How do I convert that code to excel since COUNTIF only allows 1 condition to be met. -- vickilynn |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
If you just want to test it then
=IF(ISNUMBER(MATCH(A1,{22,24,30,33.5,40,44},0)),"a ","b") to count them =SUMPRODUCT(--(ISNUMBER(MATCH(A1:A100,{22,24,30,33.5,40,44},0))) ) -- HTH Bob Phillips (remove nothere from email address if mailing direct) "Vicki Leatherberry" wrote in message ... In the mainframe report writer I do something like the following "amount" ( in ) 22,24,30,33.5,40,44 to identify the record if any of those amounts are found. How do I convert that code to excel since COUNTIF only allows 1 condition to be met. -- vickilynn |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
thanks Bob, that was exactly what I needed
-- vickilynn "Bob Phillips" wrote: If you just want to test it then =IF(ISNUMBER(MATCH(A1,{22,24,30,33.5,40,44},0)),"a ","b") to count them =SUMPRODUCT(--(ISNUMBER(MATCH(A1:A100,{22,24,30,33.5,40,44},0))) ) -- HTH Bob Phillips (remove nothere from email address if mailing direct) "Vicki Leatherberry" wrote in message ... In the mainframe report writer I do something like the following "amount" ( in ) 22,24,30,33.5,40,44 to identify the record if any of those amounts are found. How do I convert that code to excel since COUNTIF only allows 1 condition to be met. -- vickilynn |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Countif Formula /Sort Bug??? | Excel Discussion (Misc queries) | |||
Formula format for Count or Countif funtion with two criterias | Excel Worksheet Functions | |||
COUNTIF or not to COUNTIF on a range in another sheet | Excel Worksheet Functions | |||
Combining IF and COUNTIF based on two columns | Excel Discussion (Misc queries) | |||
Countif - Countif | Excel Worksheet Functions |