Asked by Allpurple
at 2024-07-17 01:50:27
Point:500 Replies:4 POST_ID:829000USER_ID:11898
Topic:
Spreadsheet Software;;
I want to use the contents of a cell to replace the lookup name in a different workbook. Here is an example of what I am attempting:
A B
APC Ref
128
Week_27 =VLOOKUP($A$2,'APC Collections Notices.xlsm'!Week_27,6,FALSE)
Week_28 =VLOOKUP($A$2,'APC Collections Notices.xlsm'!Week_28,6,FALSE)
Week_29 =VLOOKUP($A$2,'APC Collections Notices.xlsm'!Week_29,6,FALSE)
Week_27/28/29 etc in the formulas, refer to named areas in another workbook (APC Collections Notice.xlsm). I would like to replace the week number reference with the variable information in the same row and in column A. I have tried the following, without success:
Week_27 =VLOOKUP($A$2,'APC Collections Notices.xlsm'!A4,6,FALSE)
Week_27 =VLOOKUP($A$2,'APC Collections Notices.xlsm'!INDIRECT(A4),6,FALSE)
Please help if you can.
A B
APC Ref
128
Week_27 =VLOOKUP($A$2,'APC Collections Notices.xlsm'!Week_27,6,FALSE)
Week_28 =VLOOKUP($A$2,'APC Collections Notices.xlsm'!Week_28,6,FALSE)
Week_29 =VLOOKUP($A$2,'APC Collections Notices.xlsm'!Week_29,6,FALSE)
Week_27/28/29 etc in the formulas, refer to named areas in another workbook (APC Collections Notice.xlsm). I would like to replace the week number reference with the variable information in the same row and in column A. I have tried the following, without success:
Week_27 =VLOOKUP($A$2,'APC Collections Notices.xlsm'!A4,6,FALSE)
Week_27 =VLOOKUP($A$2,'APC Collections Notices.xlsm'!INDIRECT(A4),6,FALSE)
Please help if you can.