Reference cell from another workbook

oowop

New Member
Joined
Jan 11, 2012
Messages
2
Excel always finds a way to test my excelformulagenerating skills.

This is a value from a cell =[Book1.xlsx]Sheet1!A1 which works by it self great. But I would need to pull sequential number from a column A:A full of numbers from 1 - 5000.

So the cell would need to have formula of some sort which adds a number value from A1, A2, ... to "Book" string.

=["Book" A1]Sheet1!A1

obviously this doesn't work. So how to make it work avoiding VBA if possible?

Solution will bring you immortality!
 
You could use INDIRECT

=INDIRECT("[Book"&B1&"]Sheet1!A1")
 
Upvote 0
INDIRECT hm... that's a new one for me I will have to look into it a little deeper what it does.

Regard yourself immortal from now on!

P.S.
May gods give you all sons or thank you dave3009.
 
Upvote 0

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