I have Excel 2010 and am trying to do the following:
Column A has free form data. Typically it will be last name, first name (i.e. smith, peter) but it may also have just text ("Accounting Dept Support")
Column B has just the last name ("smith")
I want to search Column A for any matches and output the match in Column C. any ideas on how to get started with this?
Hi
This will find the first instance of a match assuming data is in the range A1:A5.
Array enter (ctrl, shift, enter) the formula
What do you want to do if there is more than 1 match? Or if there are no matches?=INDEX(A:A,MIN(IF(ISNUMBER(SEARCH("*"&B1&"*",A1:A5)),ROW(A1:A5),"")))
rylo
Hello Tia,
Please take a few minutes to read forum rules about cross posting.
Cross posted here
HTH; Haseeb
If your problem is solved, please say so clearly, and mark your thread as Solved:
Forum Rules & How to Mark a thread as SOLVED
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks