Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Yes, the formula you proposed works. The question still remains: What is wrong with this syntax? (Type={"Service Issue","Upgrade"}) Why does this one work? (Product={"MGC","EMS"}) I would prefer this syntax as it is more compact and makes troubleshooting or review easier. Thank you. "Teethless mama" wrote: Try like this: =SUMPRODUCT((ISNUMBER(MATCH(Product,{"MGC","EMS"}, 0)))*(ISNUMBER(MATCH(Type,{"Service Issue","Upgrade"},0)))) "adimar" wrote: Please help me understand why these apparently equivalent constructs behave differently? I use them as multipliers in SUMPRODUCT. The formula is something like: =SUMPRODUCT((Product={"MGC","EMS"})*(Type={"Servic e Issue","Upgrade"})) This one does not work as expected: (Type={"Service Issue","Upgrade"}) This one does work as expected: ((Type="Service Issue") + (Type ="Upgrade")) I expect the formula to count records of Type "Service Issue" OR "Upgrade", that is allow for either. Thank you, Marta |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
search if a string contains text matching items in a list | Excel Worksheet Functions | |||
Change 3 letter text string to a number string | Excel Discussion (Misc queries) | |||
lookup or find matching number in text string | Excel Worksheet Functions | |||
Building Sum by Matching String | Excel Discussion (Misc queries) | |||
Matching data and linking it to the matching cell | Links and Linking in Excel |