Hello!
I'm using JOIN COLLECT to look up a variable's name in a block of text. However, I am also trying to use a VLOOKUP to change the found variable name in the JOIN COLLECT column to the standardized name I need it to be for other calculations. For instance, the JOIN COLLECT finds "Annual Miles" but I want it to be changed to "Mileage." I created an additional column.. right now named "Test" that pulls out the values I want to change .. but the VLOOKUP I created will only look for the first value.
Vlookup formula in the Variable Match column is: =IFERROR(IF(test@row = "", "", VLOOKUP(JOIN(COLLECT({LSC Variables of Concern VLOOKUP Range 4}, {LSC Variables of Concern VLOOKUP Range 4}, HAS(@cell, test@row))), {LSC Variables of Concern VLOOKUP Range 3}, 2, false)), "")
But it only appears to work if there's only 1 variable in the 'test" column
In the attached image the VLOOKUP worked on the row with "Mileage" in the Variable Match column but did not work in the other rows with multiple values in the test column.
I hope this makes sense!