In numbers use Match without wildcards
According to the Numbers help for the Match function, I have to prefix * with tilde if I want to find literally ‘*. and not use * as a a wildcard.
I have thousands of lookups where there is a table of data that includes, numbers, words, characters, punctuation and is likely to contain * and ? on their own or in combination with other characters.
I have hundreds of match functions that look for a seemingly random inputs to see if the input is the large table.
I cannot simply use Match(“~” & input, …) because while blindly prefixing everything with ~ does negate wildcards it breaks all other input. I could try if() within Match to conditionally add ~ in cases where the input is * or ?, such as MATCH( IF(OR(input=“*”,input=“?”) ,”~” ,””) & input, …) but this feels both cumbersome and complex when spread across so many Match functions and in the context of my sheet’s layout.
Is there a better way? Perhaps XMatch and Regex? (I am not familiar with Regex syntax).
Thanks.
MacBook Pro 17″, macOS 10.13