Is there such a thing as a wildcard operator for numbers (ie. "return a result if a cell has a number greater than zero")?
I'm using a user-defined function I cribbed off the 'net called "LOOKUP_CONCAT" which basically searches a column (let's say column B) and compares whether or not it contains a certain parameter, then searches the corresponding rows in another column (say, column A) for a text string, then concatenates the resulting cell contents into a single cell. The function actually looks like this:
This would search for all the cells in column B that contained just the letter Y, then look up and dump the contents of every cell in a corresponding row from column A into the cell containing the formula. Which is fantastic if you're using a particular letter or even a particular number, but I'm now looking for a way to return the contents of a row that contains any number (a 10, a 7 or whatever, other than a blank) in column B.
Surely there's a wildcard character I can use to replace the "Y" in the above formula to check if there's a number present in a cell which is greater than zero...? I've tried:
...and so on, but the only permutation that works is entering specific numbers, which only returns the rows relating to that particular number. I've tried looking through endless forums and the MS Excel help but all it keeps throwing up are text wildcard operators. I need the number values intact as I'm keeping running totals at the foot of each column for other purposes, so changing the values to text isn't an option.
Wildcard Needed.xlsx
Bookmarks