As an example, I have a worksheet with columns A thru K with Multiple rows. I would like to have the lookup refer to column K to find the name to put in place of 'sheet2' Is there a function to do this to make it dynamically change itself and pull the data from the correct worksheet.
VLOOKUP(G4,'sheet2'!A$2:B$800,2,FALSE)
VLOOKUP(G4,'sheet2'!A$2:B$800,2,FALSE)