"Text" formula in one cell becomes "Real&quot

Walking Shorts

New Member
Joined
Nov 23, 2005
Messages
17
Let's say that I have a formula in a cell, the formula is something like-

="[jan05.xls]Monthly!D6", so the text that appears in the cell is [jan05.xls]Monthly!D6

Now, my question is, can I cell reference this text in a way that it becomes an actual formula and displays the data from the jan05.xls, without simply just typing the formula into another cell or using the INDIRECT function?

Searched a fair bit on my own, but I can't seem to find anything that quite works besides the INDIRECT function, and it doesn't really suit my needs. Anything?

Thanks,
Wshorts
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,367
Office Version
  1. 365
Platform
  1. Windows
How does INDIRECT not suit your needs?
 
Upvote 0

NBVC

Well-known Member
Joined
Aug 31, 2005
Messages
5,828
Why don't you want Indirect?

eg. =Indirect(A1) where A1 contains the string.
 
Upvote 0

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
Re: "Text" formula in one cell becomes "Real&

Walking Shorts said:
Let's say that I have a formula in a cell, the formula is something like-

="[jan05.xls]Monthly!D6", so the text that appears in the cell is [jan05.xls]Monthly!D6

Now, my question is, can I cell reference this text in a way that it becomes an actual formula and displays the data from the jan05.xls, without simply just typing the formula into another cell or using the INDIRECT function?

Searched a fair bit on my own, but I can't seem to find anything that quite works besides the INDIRECT function, and it doesn't really suit my needs. Anything?

Thanks,
Wshorts

Are you looking for something like:

=EVAL(B1)

where B1 houses:

="[jan05.xls]Monthly!D6"

Note that EVAL is part of the morefunc.xll add-in. It works here like INDIRECT would and has the same restriction: the file the formula refers to must be in open state. For closed books, you'll need INDIRECT.EXT, also a part of the add-in just mentioned.
 
Upvote 0

Forum statistics

Threads
1,195,632
Messages
6,010,788
Members
441,569
Latest member
PeggyLee

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
Top