Hello, I need to scan a column of numbers for a target value and then pass the values from the column to the left of the found targets to a cell. I normally do this with a list box in a userform but this time I need to do it in a worksheet cell instead.
I am scanning column B for the values. (numbers).
I want to return the found values from column A (text).
The number in "H4" is my target value.
I can use this formula to find the first occurrence, but how do I change the formula to get multiples to show up in the same cell? I do not know if I use the count function or the index or something like that.
For this example I have the formula in C1
I appreciate any thoughts - thanks
I am scanning column B for the values. (numbers).
I want to return the found values from column A (text).
The number in "H4" is my target value.
I can use this formula to find the first occurrence, but how do I change the formula to get multiples to show up in the same cell? I do not know if I use the count function or the index or something like that.
For this example I have the formula in C1
Excel Formula:
=IF(B19<=H4,A19,"")
I appreciate any thoughts - thanks