Forum Discussion
MikeWilk11
Feb 23, 2021Copper Contributor
Lookup Contains
Hi All, In the attached excel file I have a small sample of data that I am trying to get the lookup value to automatically update the sport and event columns for the different programmes. I tried a ...
HansVogelaar
Feb 23, 2021MVP
In B2 as an array formula confirmed with Ctrl+Shift+Enter:
=INDEX($B$13:$B$16,MATCH(TRUE,ISNUMBER(SEARCH($A$13:$A$16,A2)),0))
and in C2, also confirmed with Ctrl+Shift+Enter:
=INDEX($C$13:$C$16,MATCH(TRUE,ISNUMBER(SEARCH($A$13:$A$16,A2)),0))
Fill or copy down.
- MikeWilk11Feb 23, 2021Copper ContributorHi Hans you are a genius, that is exactly what i was after. Thanks for your help with this, much appreciated.