I have a table that is referencing a pivot table on the same sheet. I added a form control scroll bar to be able to flip through the data without changing the view.
The headers of that table are linked to the headers of the pivot table. I am trying to write the =INDEX(L3:L$17,$D$6) formula so that the column info is adjusted automatically.
I managed to use the columnletter to convert the match of the header to the correct letter but don't know how to adjust the Index formula to use that info.
Difficult to understand what you want.
To get the header from the Pivot Table just write
=L2
In F6
If you want to be able to pull and copy your formula in F7 not only down but to the right, then use this:
Option 1 E8= =INDEX($L$3:$N$26;$F$3+ROWS($E$8:E8)-1;COLUMNS($E$8:E8))
Option 2 Q7= =INDEX($L3:$N$26;$F$3;COLUMNS($Q$6:Q6))
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.