sunilbsrv2k
Board Regular
- Joined
- May 25, 2018
- Messages
- 73
Hi All,
I have 2 workbooks; one has got data in multiple tabs and each tab has a different name.
The second one has only 2 tabs; second tab has a table in which first 2 columns contain info about the type, tab name.
from 3rd column, it will be month wise data like Jan-19, Feb - 19, Mar-19 etc.
I used Index-Match-Match to get data from first workbook into 2nd one. This works fine
Since, tab names change in first worksheet and I have to get data in 2nd workbook based on the tab name mentioned in column D, I am using Indirect(D2) or D3 etc , but getting #Ref error
This works fine:
=INDEX('[Workbook1.xlsx]P I'!$B$3:$J$21,MATCH($C2,'[
However, when I replace P I with Indirect (D2) in the above formula, it gives error.
Request your help.
Thanks
I have 2 workbooks; one has got data in multiple tabs and each tab has a different name.
The second one has only 2 tabs; second tab has a table in which first 2 columns contain info about the type, tab name.
from 3rd column, it will be month wise data like Jan-19, Feb - 19, Mar-19 etc.
I used Index-Match-Match to get data from first workbook into 2nd one. This works fine
Since, tab names change in first worksheet and I have to get data in 2nd workbook based on the tab name mentioned in column D, I am using Indirect(D2) or D3 etc , but getting #Ref error
This works fine:
=INDEX('[Workbook1.xlsx]P I'!$B$3:$J$21,MATCH($C2,'[
Workbook1
.xlsx]P I'!$B$3:$B$21,0),MATCH(K$1,'[Workbook1
.xlsx]P I'!$B$3:$J$3,0))However, when I replace P I with Indirect (D2) in the above formula, it gives error.
Request your help.
Thanks