Peter Davison
Active Member
- Joined
- Jun 4, 2020
- Messages
- 435
- Office Version
- 365
- Platform
- Windows
I have the following formula and in cell AD34 is the words "Own Brand Flag"
=IFERROR(VLOOKUP($A35,'[MasterData.xlsm]New Products'!$A$1:$Z$500,MATCH(AD$34,'[MasterData.xlsm]New Products'!$A$1:$T$1,0),FALSE),"")
Because in the New Products sheet the heading may be different e.g Private Brand Flag or Private Brand
I wanted to use a wild card to find it.
I've tried using an asterix before and after the cell reference but just get an error. (e.g. "*"AD$34&"*")
Can't work out what I am doing wrong.
Any help would be appreciated.
Thanks
=IFERROR(VLOOKUP($A35,'[MasterData.xlsm]New Products'!$A$1:$Z$500,MATCH(AD$34,'[MasterData.xlsm]New Products'!$A$1:$T$1,0),FALSE),"")
Because in the New Products sheet the heading may be different e.g Private Brand Flag or Private Brand
I wanted to use a wild card to find it.
I've tried using an asterix before and after the cell reference but just get an error. (e.g. "*"AD$34&"*")
Can't work out what I am doing wrong.
Any help would be appreciated.
Thanks