I am racking my brain on the correct formula for this.
My source data is 20+ tables (geographical locations) used for metrics on build costs between locations. Each table (location) has 5 different sizing capacities for what we're building and the cost metric varies based on the sizing. This variable is located in one row across the table (x-axis). In the left most column, we have a list of cost premiums that vary by location e.g. labor premium, winterization, seismic conditions, etc. (y-axis). The sizing capacity affects the cost metric for each of these premiums. This table / matrix is repeated down the spreadsheet 20+ times with the change being the location, and thus the cost metrics for each premium x capacity.
I want to summarize this data in a semi automated way where if I select from a drop down: variable 1 - the location + variable 2 - the sizing capacity, it returns the correct cost premium. What is the best function for this and how would I go about it? INDEX, MATCH? VLOOKUP? XLOOKUP?
Assume I don't want to change the format of the source data. I don't mind adding data if I need to but wanted to see if there is a way to create a function without changing anything from the source.
My source data is 20+ tables (geographical locations) used for metrics on build costs between locations. Each table (location) has 5 different sizing capacities for what we're building and the cost metric varies based on the sizing. This variable is located in one row across the table (x-axis). In the left most column, we have a list of cost premiums that vary by location e.g. labor premium, winterization, seismic conditions, etc. (y-axis). The sizing capacity affects the cost metric for each of these premiums. This table / matrix is repeated down the spreadsheet 20+ times with the change being the location, and thus the cost metrics for each premium x capacity.
I want to summarize this data in a semi automated way where if I select from a drop down: variable 1 - the location + variable 2 - the sizing capacity, it returns the correct cost premium. What is the best function for this and how would I go about it? INDEX, MATCH? VLOOKUP? XLOOKUP?
Assume I don't want to change the format of the source data. I don't mind adding data if I need to but wanted to see if there is a way to create a function without changing anything from the source.