Looking up in multiple sheets of another workbook

imran1059

Board Regular
Joined
Sep 28, 2014
Messages
112
Hi everyone,

Written below is my formula and yellow text in it is a sheet name in a workbook named as "3 - P&L BP monthly". In this work book I have multiple sheets from where data is extracted. All I want is to make the yellow text dynamic and give its reference to a specific cell let say A1. If value in A1 is changed then the formula should go to that sheet of the same work book and extract what is required.

=INDEX('[3 - P&L BP monthly.xlsx]Central (ISD & SISD)'!$D$3:$AA$18,MATCH($A41,'[3 - P&L BP monthly.xlsx]Central (ISD & SISD)'!$A$3:$A$18,0),MATCH(D$2,'[3 - P&L BP monthly.xlsx]Central (ISD & SISD)'!$D$2:$AA$2,0))


Thanks in advance for your help.
Imran,
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
You can use INDIRECT, but the other workbook needs to be open or you'll get an error.
 
Upvote 0
Try
Excel Formula:
=INDEX(INDIRECT("'[3 - P&L BP monthly.xlsx]"&A1&"'!$D$3:$AA$18"),MATCH($A41,INDIRECT("'[3 - P&L BP monthly.xlsx]"&A1&"'!$A$3:$A$18"),0),MATCH(D$2,INDIRECT("'[3 - P&L BP monthly.xlsx]"&A1&"'!$D$2:$AA$2"),0))
 
Upvote 0
Solution
Try
Excel Formula:
=INDEX(INDIRECT("'[3 - P&L BP monthly.xlsx]"&A1&"'!$D$3:$AA$18"),MATCH($A41,INDIRECT("'[3 - P&L BP monthly.xlsx]"&A1&"'!$A$3:$A$18"),0),MATCH(D$2,INDIRECT("'[3 - P&L BP monthly.xlsx]"&A1&"'!$D$2:$AA$2"),0))
its wonderful, Thanks a lot.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,493
Messages
6,125,131
Members
449,206
Latest member
burgsrus

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top