Hi I am trying to lookup numbers in multiple worksheets that have comma separated and non comma separated values. I have used the formula below but it only works in cells that have conman separated values.
=IFERROR(VLOOKUP(B$1,'Data Sheet'!$A$1:$B$3,2,FALSE),IFERROR(VLOOKUP(B$1,'Data Sheet2'!$A$1:$B$2,2,FALSE),""))
The result of the formula above is "RED" if I try to find code 8 it does not return a result, is there a way to to update the query to search for comma and non comma separated values.
Lookup Sheet
Data Sheet
Data Sheet2
=IFERROR(VLOOKUP(B$1,'Data Sheet'!$A$1:$B$3,2,FALSE),IFERROR(VLOOKUP(B$1,'Data Sheet2'!$A$1:$B$2,2,FALSE),""))
The result of the formula above is "RED" if I try to find code 8 it does not return a result, is there a way to to update the query to search for comma and non comma separated values.
Lookup Sheet
A | B | |
1 | Code | 456 |
Data Sheet
A | B |
1 | 123,456,789 | RED |
2 | 8 | BLUE |
3 | 752,451 | YELLOW |
Data Sheet2
A | B | |
1 | 652,458,752 | ORANGE |
2 | 4 | GREEN |