I would appreciate your help in solving this, even if not sure it's possible in excel
I have an excel file with a tab named "Index", in which in column A are listed the names of all the additional tabs of the file and in column B are listed all the titles I would like to have in cell C10 of each of the other tabs.
In other words:
In tab called Idex, in column A I have:
A1: T_DEMO
A2: F_DEMO
A3: T_BASE
etc...
In tab called Idex, in column B I have:
B1: Table 1: Demographics
B2: Table 2: Baseline
B3: Figure 1: Demographics
etc...
The excel file has other tabs called: T_DEMO, F_DEMO, T_BASE etc... (same names as in column A of the Index tab)
I would need a function to use to copy the title to be reported in cell B2 of the single tab from the Index tab, based on the name of the tab.
So for example in tab T_DEMO cell C10 I would need a function that can copy the value of the column B (Table 1: Demographics), considering the line for which column A of Index tab is the same of the tab name.Please note the order of the tabs is not the same of the order in which they are listed.
This function should be flexible ehough to use the same with a copy and paste on all the other tabs.