cell formula to reference current workbook

jammoca

Banned
Joined
Nov 6, 2002
Messages
1,100
I have the following formula ...

='[QSMAA11_3b.xlsm]ZZ Generate Class Profiles'!I24

However, I was hoping to have the formula a little fluid in that it would reference whichever workbook that formula finds itself in.

So if copied across to a workbook called .... Bleeding .... then the formula would automatically adjust itself to ....

='[Bleeding.xlsm]ZZ Generate Class Profiles'!I24

Is this possible ?
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Omit the workbook reference altogether.
 
Upvote 0
I should have said, that currently my formula is without the workbook reference, so my formula is the following ...

='ZZ Generate Class Profiles'!I24

But when I copy it to a different workbook either manually or even via the 'move/copy' option, either way, the formula has my workbook address written into it automatically, so it copies across as ...

='[QSMAA11_3b.xlsm]ZZ Generate Class Profiles'!I24

So, I'm hoping to have the original formula written in such a way so as to understand it is to reference the workbook it has been transferred over to and NOT from the workbook from which it was copied.

Is this possible ?
 
Upvote 0
Try:

=INDIRECT("'ZZ Generate Class Profiles'!I24")
 
Upvote 0

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

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