Code:
=INDEX($C4:$K4,MATCH(P$2,$C4:$K4,0))
I use this formula to match single numbers in P2 with the defined range. Is it possible to change this formula so that it works when there are comma separated 2 or 3 numbers in P2. And if one (or more) of these numbers in P2 match with the defined range, it will be indexed in the target cell.
I need a formula solution. If it requires VBA, it has to be with a user defined formula, please. (Without user defined formula, it won't be useful for me).
Thanks.