Ok, first of all, the OFFSETS in my example are not hard coded. They are dynamic, but they may not be as dynamic as you need them to be.
My original OFFSET formulas use MATCH to determine which column to look for. I.E.: Current_Portfolio_Column_Find is based on the formula:
The column argument of the OFFSET function is calculated with a Match formula that looks for the value "Current Portfolio" in row 1, then subtracts 1 because counting starts at 0. That way, no matter where the "Current Portfolio" column is located, the Current_Portfolio_Column_Find and Current_Portfolio_Range named ranges will ALWAYS find the right column as long as that column always has the value "Current Portfolio" in Row 1.
In the attached example I have added a second sheet called "Output." I have created the following dynamic ranges:
Metrics:
Headers_Find:
Headers:
Data_Array:
Then I can used these ranges in a series of INDEX(MATCH) formulas in the Output Tab.
The Index(MATCH) is as follows:
Given 1 small change, that the first instance of "Target" in row 1 is changed to "Target1" and the second instance of "Target" in row 1 is changed to "Target2", this method will copy ALL VALUES from your initial sheet regaurdless of how many rows/columns are in the initial sheet. The dropdown menus for Column A and Row 1 of 'Output'! will automatically update aswell. See the row label "TEST ROW TFISKE" and Column Header "TEST COLUMN TFISKE".
This allows you to customize the Output to only those headers and row labels you want.
Where do you need to go from here?
Bookmarks