Running a written formula

RossMcColl

Board Regular
Joined
Sep 11, 2006
Messages
155
Hey all,

I have this displayed in a cell as a result of a formula

='C:\[Book2.xls]Sheet1'!$A$1

How can I turn this text answer into actually running the formula so I can find out what is in A1 on Book2? Assuming Book2 is closed.

Thank you,
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
If the cell is formatted as General, Number or a custom number format, it should display the result of the formula, rather than the formula itself.
 
Upvote 0
It's a text version of the formula, not the actually formula itself.

So in the cell it has quote marks around it "='C:\[Book2.xls]Sheet1'!$A$1"
 
Upvote 0
Not sure there's not a better way, but here's one way.

If the reference workbook is open, then

=INDIRECT(MID(A2,3,LEN(A2)-3)) where A2 house the string

if the workbook is close, you will have to download and install the morefunc.xll addin from http://xcell05.free.fr/english/

and change the formula to:

=INDIRECT.EXT(MID(A2,3,LEN(A2)-3))
 
Upvote 0

Forum statistics

Threads
1,226,237
Messages
6,189,801
Members
453,569
Latest member
Kevo85

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