Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default how i can refer to cell in long formula go to another file

='C:\Documents and Settings\VENUS\Desktop\[1.xlsx]1'!$A$1
this is a formula in the specific cell but i have more than 150
files.xlsx
and i have to merge it in one sheet can any one give me a way to make
this idea possiable
a b c d e
1 1xlsx 2.xlsx 3.xlsx 4.xlsx 5.xlsx
2 ='C:\Documents and Settings\VENUS\Desktop\[A1]1'!$A$1
3 ='C:\Documents and Settings\VENUS\Desktop\[B21]1'!$A$1
4 ='C:\Documents and
Settings\VENUS\Desktop\[B3]1'!$A$1
that mean i will refer the name of the file in the furmula to the cell A1
B1 C1 etc.
i have tried many ways but it doesn't run
so kindly and expert tell me the way to do that with the file name and
the
sheet that i give (1) for it names also in the same way

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default how i can refer to cell in long formula go to another file

The function you'd want to use that's built into excel is =indirect(). But that
function returns an error if the sending workbook is closed.

If that's a problem, then Laurent Longre has an addin (morefunc.xll) at:
http://xcell05.free.fr/

That includes =indirect.ext() that may help you.

=============
You may want to consider building formulas that create strings that look like
those formulas.

Like:
="$$$$$='C:\Documents and Settings\VENUS\Desktop\["&A1&"]1'!$A$1"

With 1.xlsx in A1, the formula will evaluate to:
$$$$$='C:\Documents and Settings\VENUS\Desktop\[1.xlsx]1'!$A$1

Then you convert these formulas to values.

And finally, you can select the range
edit|replace
what: $$$$$=
with: =
replace all

Excel will now look at the cells and see that they contain formulas--and excel
will reevaluate them.

I'd do it on a small range first. If you make a mistake and the file doesn't
exist, you'll be dismissing lots and lots of dialogs asking what file you really
meant.





need a help wrote:

='C:\Documents and Settings\VENUS\Desktop\[1.xlsx]1'!$A$1
this is a formula in the specific cell but i have more than 150
files.xlsx
and i have to merge it in one sheet can any one give me a way to make
this idea possiable
a b c d e
1 1xlsx 2.xlsx 3.xlsx 4.xlsx 5.xlsx
2 ='C:\Documents and Settings\VENUS\Desktop\[A1]1'!$A$1
3 ='C:\Documents and Settings\VENUS\Desktop\[B21]1'!$A$1
4 ='C:\Documents and
Settings\VENUS\Desktop\[B3]1'!$A$1
that mean i will refer the name of the file in the furmula to the cell A1
B1 C1 etc.
i have tried many ways but it doesn't run
so kindly and expert tell me the way to do that with the file name and
the
sheet that i give (1) for it names also in the same way


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Request for formula to refer some letters from Cell PERANISH Excel Worksheet Functions 8 May 29th 08 05:42 PM
Copy rows but need to refer to same cell in original formula addison Excel Worksheet Functions 4 April 4th 08 04:29 PM
Formula too long - new file path is shorter than old file path - Excel 2003 Greg J Excel Worksheet Functions 1 November 22nd 06 05:16 PM
How do I refer to the tab name in a cell formula in Excel? Steven Reames Excel Discussion (Misc queries) 1 August 3rd 05 07:22 PM
refer to other xls file DKY Excel Worksheet Functions 1 November 19th 04 08:02 PM


All times are GMT +1. The time now is 08:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"