Reputation: 3
I have an odd question I could do with some expert advice on. I have two tables in Excel, in different sheets:
I now need to create Table 3 (in a separate sheet), which has the following layout:
I can't seem to think of formulas that can fit in Table 3's B and C columns. Would this be a case of INDEX and MATCH? Any help is greatly appreciated. (I've attached a screenshot as an example.)
Edit:
Upvotes: 0
Views: 1319
Reputation: 14373
You might use this formula in N2 of your posted worksheet and copy down.
=INDEX(G2:G3,MATCH("*" & L2 &"*",I2:I3,0)).
Perhaps it makes sense to include the trailing opening parenthesis in the match:-
=INDEX(G2:G3,MATCH("*" & L2 &"(*",I2:I3,0)).
In cell M2 you might use a formula like this one:-
=IF(COUNTIF(C:C,L2)>1,"Yes","No")
Upvotes: 1