reference different workbook sheet using a cell value

kell22

New Member
Joined
Oct 12, 2010
Messages
16
Hi,

I have 2 workbooks one called "Overview" and one called "Dept 1". Each workbook has 12 sheets for the months of the year.


What I want to do is in the "Overview" workbook sheet "January", reference a cell "N$32" in the "Dept 1" workbook sheet "January". I did this using the formula:

='[Dept 1.xlsx]January'!N$32

I would like to develop this further so that I can substitute the sheet name for a value in cell "I5" - I am not sure if it is a problem that the value in I5 is generated using a formula to. this way the Overview February sheet will automatically look in the Dept 1 February sheet.

I also need this to work when the "Dept 1" workbook is closed. I have had a look at indirect referencing but it kept returning an error, can anyone modify the formula to do what I want.

I hope that makes sense, it is 04:20 currently so quite possible that it doesn't :laugh:

Thanks in advance!
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
=INDIRECT( "'[Dept 1]" & MONTH & "'!" & LOOKUP)

Name I5 as MONTH and name an empty cell LOOKUP with N32 in it.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,326
Members
452,635
Latest member
laura12345

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