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.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

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
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,501
Messages
5,832,079
Members
430,110
Latest member
Chyke_mxl

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