dlrollings83
New Member
- Joined
- Jul 7, 2016
- Messages
- 18
I have a spreadsheet which has been amalgamated from few other, as such the data is not as I would like but the owner will not amend the data. I need to create a search engine of sorts using partial matches. I have the following formula for the first and second matches and they work fine but I cannot think how to arrange this, without an array formula, to search for the 3rd, 4th match etc.
The formula for the first match is: =VLOOKUP("*"&B4&"*",Sheet1!B1:H125,1,0)
The formula for the second match is: =VLOOKUP("*"&B4&"*",OFFSET(Sheet1!B1,MATCH("*"&B4&"*",Sheet1!B:B,0),0,125,7),1,0)
Without an array or helper column, is there a way to find the nth match where the data in Sheet1 column B contains the text in cell Sheet 2 B4?
Happy to consider a macro.
The formula for the first match is: =VLOOKUP("*"&B4&"*",Sheet1!B1:H125,1,0)
The formula for the second match is: =VLOOKUP("*"&B4&"*",OFFSET(Sheet1!B1,MATCH("*"&B4&"*",Sheet1!B:B,0),0,125,7),1,0)
Without an array or helper column, is there a way to find the nth match where the data in Sheet1 column B contains the text in cell Sheet 2 B4?
Happy to consider a macro.