Dynamic Vlookup Function Formula Help
Posted on 2016-11-30
I have the following formula which is not working.
So I am trying to assign the vlookup array location dynamically. I think I am having a problem with the worksheet name (PNL) in this case.
When I evaluate the formula, It shows Vlookup("XLF","'PNL'!A14:N38",4,False) and then it gives #Value!
The vlookup function that I create manually work fine (=VLOOKUP(B11,'PNL'!$A$14:$N$38,4,FALSE)), so the data is there. But my dynamic formula doesn't work. I think the problem is with the name of the spreadsheet. Or maybe something else?