One of the most powerful and best tricks I have ever learned from this forum was how to properly use the Array Formula. But I running into a problem recently that I thought could be solved easily using a Wild Card (*,?,~).
To be simple, here's my formula that results in "0".
{=SUM(IF(WHEREFROM = "CURB*",1))} If I remove the asterick, it will properly and count all the "CURB" values, but I need it to count all the CURB* items.
Because the text in this column may occasionally be a value that only STARTS with CURB and may not always be *-EAST or *-WEST, I prefer not to nest more conditions in the array.
WHEREFROM is a defined range containing about 8 different text values (CURB, CURB-EAST,CURB-WEST,TRADE,AUCTION, etc.)
However, the old COUNTIF works fine
=COUNTIF(WHEREFROM="CURB*")
The reason that I need the wildcard to work inside the ARRAY Formula is that it will be part of a much longer ARRAY Formula that SUMs values of other ranges, etc.
I thank you all in advance!!
creeker69
To be simple, here's my formula that results in "0".
{=SUM(IF(WHEREFROM = "CURB*",1))} If I remove the asterick, it will properly and count all the "CURB" values, but I need it to count all the CURB* items.
Because the text in this column may occasionally be a value that only STARTS with CURB and may not always be *-EAST or *-WEST, I prefer not to nest more conditions in the array.
WHEREFROM is a defined range containing about 8 different text values (CURB, CURB-EAST,CURB-WEST,TRADE,AUCTION, etc.)
However, the old COUNTIF works fine
=COUNTIF(WHEREFROM="CURB*")
The reason that I need the wildcard to work inside the ARRAY Formula is that it will be part of a much longer ARRAY Formula that SUMs values of other ranges, etc.
I thank you all in advance!!
creeker69