I have a table that has headers "Data", "2024", "2023" and "2022". I can use a formula =[@2022] that will result in 111. I want to be able to change the value in the "Data Reference" cell so when I change it to 2023 or 2024 it will return 777 or 555 respectively. I tried =INDIRECT("[@"&B1&"]") but get a #REF! error.
Any help would be appreciated
Any help would be appreciated
Data Reference | 2022 | ||
Data | 2024 | 2023 | 2022 |
=[@2022] | 555 | 777 | 111 |