I'm trying to find the ID for each value in a cell. I tried using a VLOOKUP but it fails when a cell has more than one value.
In this scenario, B2 would be updated to 4,1
I'm trying to find the ID for each value in a cell. I tried using a VLOOKUP but it fails when a cell has more than one value.
In this scenario, B2 would be updated to 4,1
TEXTJOIN with an IF:
This will order the output on the lookup table order
Another option is using XLOOKUP:
with Office 365 which will order by the input.