where data is the named range B5:B15. The result is 7, since the number in B11 (the seventh row in data) contains 99. This is an array formula and must be entered with Control + Shift + Enter, except in Excel 365. One solution is to convert the numeric values to text with the TEXT function like this: This is an array formula and must be entered with Control + Shift + Enter, except in Excel 365. This formula uses the TEXT function to transform the numbers in B5:B10 to text with the number format “0”. Because we give the entire range to TEXT, we get back all values converted to text in an array, which is returned directly to the MATCH function as the array argument. With the numbers converted to text, the MATCH function can find a partial match as usual. Note that MATCH must be configured for exact match to use wildcards, by setting the 3rd argument to zero (0) or FALSE.
Another option
Another way to to transform a number to text is to concatenate the numbers to an empty string ("") with the ampersand (&) operator like this: The numbers in data become text without formatting, and the result is the same as above, 7.
Dave Bruns
Hi - I’m Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.