I am trying to create a Vlookup to pull in data from various sheets. The formula below works for my purposes however I would like to have a variable table array as at present when copy the data to the next column for a new week number I have to manually type the week number for every single row *yawn*.
=IFERROR(VLOOKUP($C16,'Wk14'!$AA:$AC,3,FALSE),"")
I have tried to put Indirect formulae into the formula but either excel has a problem with me or (more likely) I have made a mistake:
=IFERROR(VLOOKUP($C19,Indirect(L15)$AA:$AC,3,FALSE),"") where L15 = the week number
I even tried a concatenate formula but don't know if this is even allowed for a variable lookup:
=IFERROR(VLOOKUP($C17,'"concatenate("Wk"&L15)"'!$AA:$AC,3,FALSE),"")
If somebody could please save my sanity it would be much appreciated, if you need further info let me know, thank you in advance!
=IFERROR(VLOOKUP($C16,'Wk14'!$AA:$AC,3,FALSE),"")
I have tried to put Indirect formulae into the formula but either excel has a problem with me or (more likely) I have made a mistake:
=IFERROR(VLOOKUP($C19,Indirect(L15)$AA:$AC,3,FALSE),"") where L15 = the week number
I even tried a concatenate formula but don't know if this is even allowed for a variable lookup:
=IFERROR(VLOOKUP($C17,'"concatenate("Wk"&L15)"'!$AA:$AC,3,FALSE),"")
If somebody could please save my sanity it would be much appreciated, if you need further info let me know, thank you in advance!
