Hi all,
I can't get my head around the correct syntax for this type of formula:
=SUMPRODUCT(SIGN(ISNUMBER(SEARCH({"454";"453";"452";"451";"254";"253";"252"};INDIRECT("'"&A51&"'!B3:B"&D51-1))));INDIRECT("'"&A51&"'!H3:H"&D51-1);INDIRECT("'"&A51&"'!"&C51&3&":"&C51&D51-1))
or to simplify:
=SUMPRODUCT(SIGN(ISNUMBER(SEARCH({"454";"453";"452";"451";"254";"253";"252"};B3:B69)));H3:H69;I3:I69)
In column B there is a text (Type no.) that I want to scan for the occurrence (yes/no) of one of these 7 substrings, and for the rows that are returned, multiply columns H and I (price per item [H] times number of items [I]).
In this way, the formula will return the total summed price for all items that match the search conditions.
If I run this command without the array, so only for "254" for example, all goes well. Why doesn't it in this form?
Bookmarks