BrianB2026
New Member
Please remember to post links to other forums you have posted this question on.
I could probably Brute Force my way through this, but I'm hoping to get a more efficient, elegant solution from someone more practiced than I am.
All the sheets are contained in one workbook.
Sheet 1 is the target sheet.
Sheet VariableName is the lookup sheet.
Sheet 1, $F1:$Q1 contain the Month & Year, "Jan 2026", with the actual value set as 1/1/2026 thru "Dec 2026 (12/1/2026).
Sheet 1, A:A contain the Name of the lookup sheet - "VariableName"
Sheet VarialbeName contains a Table (Table1, Table range A19:H1000 and all of the VariableName sheets will be formatted the same).
Sheet VariableName, Table1, Column A contains Dates formatted MM/DD/YYYY.
Sheet VaraibleName, Table1, Column C contains the values I want to return.
For Instance: I want to fill Sheet1 $F50:$Q50 with values from the sheet 'VariableName', $C$22:$C$1000
Where:
The sheet name VariableName matches the value in Sheet1, A50
To get the row for Column C in VariableSheetName, Table1, I need to match the month from Sheet1, F$1:Q$1 to the month in the sheet VariableName, Table1, $A22:$A1000.
So on my target sheet, Sheet1, and target cell F50, I want the formula to look at the name in Sheet1, A50, go to the Sheet that matches that name in A50, find the row number by matching the Month & Year in Sheet1, F$1 with Table1, A22:A1000 then return the value from Table1, Column C and that corresponding row#.
Of course, and as always, any input is greatly appreciated.
Mod edit:
www.mrexcel.com
All the sheets are contained in one workbook.
Sheet 1 is the target sheet.
Sheet VariableName is the lookup sheet.
Sheet 1, $F1:$Q1 contain the Month & Year, "Jan 2026", with the actual value set as 1/1/2026 thru "Dec 2026 (12/1/2026).
Sheet 1, A:A contain the Name of the lookup sheet - "VariableName"
Sheet VarialbeName contains a Table (Table1, Table range A19:H1000 and all of the VariableName sheets will be formatted the same).
Sheet VariableName, Table1, Column A contains Dates formatted MM/DD/YYYY.
Sheet VaraibleName, Table1, Column C contains the values I want to return.
For Instance: I want to fill Sheet1 $F50:$Q50 with values from the sheet 'VariableName', $C$22:$C$1000
Where:
The sheet name VariableName matches the value in Sheet1, A50
To get the row for Column C in VariableSheetName, Table1, I need to match the month from Sheet1, F$1:Q$1 to the month in the sheet VariableName, Table1, $A22:$A1000.
So on my target sheet, Sheet1, and target cell F50, I want the formula to look at the name in Sheet1, A50, go to the Sheet that matches that name in A50, find the row number by matching the Month & Year in Sheet1, F$1 with Table1, A22:A1000 then return the value from Table1, Column C and that corresponding row#.
Of course, and as always, any input is greatly appreciated.
Mod edit:
Multiple Index/Match (I think)
I could probably Brute Force my way through this, but I'm hoping to get a more efficient, elegant solution from someone more practiced than I am. All the sheets are contained in one workbook. Sheet 1 is the target sheet. Sheet VariableName is the lookup sheet. Sheet 1, $F1:$Q1 contain the Month...
Indirect Index Match and Table Data# ?
I could probably Brute Force my way through this, but I'm hoping to get a more efficient, elegant solution from someone more practiced than I am. All the sheets are contained in one workbook. Sheet 1 is the target sheet. Sheet VariableName is the lookup sheet. Sheet 1, $F1:$Q1 contain the...
www.excelforum.com
Last edited by a moderator: