sorry if this has already been asked, have read many answers about this, (this is the one that best describes my situation - Excel - Match cells that contains exact match from list )
I would like Excel to index a column where the cells contain comma separated lists of values. Some lists have only one entry and thus no comma.
I would like Excel to find an exact match for a given string, for example, if I search for "C2" I would like it only to find "C2" and not "C22" or "C230". It should also find "C2,"
I have got this to work for single cells with this formula :
=ISNUMBER(FIND(" "&E$1&", "; " "&$B1&", "))
Where "C2" is contained in cell E1 and the comma separated list is in cell B1.
However, if I try to incorporate this into an INDEX formula (I would like it to return the corresponding value from the cell in column A where C2 exists), it once again finds all instances of "C2". I wrote the formula as follows :
=INDEX(A:A;ISNUMBER(FIND(" "&E$1&", "; " "&B:B&", ")))
If anyone has any advice on how to get this to work, I would be most grateful!
Katrina