Question about referenced cells/formulas

alexj

New Member
Joined
Nov 15, 2005
Messages
5
Can someone explain to me how I can turn "Kanoodle" and "012605" into referenced cells (from a different workbook, obviously) in this formula?
='[AllTime-KanoodleROI-012605.xls] Summary'!$E$7
I figured something like this would do the trick, but I'm not too familiar with Excel:
='[AllTime-', 'Kanoodle', 'ROI-', '012605', '.xls] Summary'!$E$7
Apparently, it's harder to break text out of a formula than it is in PHP :x.

Thank you in advance.
 

Some videos you may like

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
You would need to use INDIRECT like this:

=INDIRECT("'[AllTime-"&"Kanoodle"&"ROI"&"012605"&".xls]Summary'!$E$7")

You can replace "Kanoodle" and "012605" with cell references.


The source workbook must be open.
 

alexj

New Member
Joined
Nov 15, 2005
Messages
5
Thanks, Andrew.

However, this document needs to be viewable by anyone in my dept. at any given time. Do you know if there's a way to pull those references from closed workbooks?

Thanks again,

Alex
 

alexj

New Member
Joined
Nov 15, 2005
Messages
5
^ Thanks, I'll try that out. Meanwhile, can someone explain why this keeps returning the dreaded "#REF!" error?

=INDIRECT("'[AllTime-"&"C3"&"ROI-"&"F3"&".xls]Summary'!$E$7")
 

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092

ADVERTISEMENT

alexj said:
^ Thanks, I'll try that out. Meanwhile, can someone explain why this keeps returning the dreaded "#REF!" error?

=INDIRECT("'[AllTime-"&"C3"&"ROI-"&"F3"&".xls]Summary'!$E$7")

Remove the quotes around your range references "C3" and "F3".
 

alexj

New Member
Joined
Nov 15, 2005
Messages
5
I have the morefunc thing installed...yet it seems as though Excel isn't recognizing it. I tried pulling the data from a closed workbook and I'm getting a "#VALUE!" error.

=INDIRECT.EXT("'[AllTime-"&C$3&"ROI-"&G3&".xls] Summary'!$E$7")
 

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
In a spare cell enter:

="'[AllTime-"&C$3&"ROI-"&G3&".xls] Summary'!$E$7"

In another cell enter the formula as it should appear without the = sign. Do they look the same?
 

alexj

New Member
Joined
Nov 15, 2005
Messages
5
No, the first one looks like this:

"'[AllTime-"&C$3&"ROI-"&G3&".xls] Summary'!$E$7"

...and the second one looks like this:

'[AllTime-KanoodleROI-012605.xls] Summary'!$E$7

Thanks,

Alex
 

Watch MrExcel Video

Forum statistics

Threads
1,118,910
Messages
5,574,989
Members
412,633
Latest member
simon_elvin
Top