#### Excel automatically adds path to external reference -> formula too long

Excel 2000 SR1 / Windows 2000

I have moved a large Excel application to a new folder. However this creates
the following problem:
I have many external references to other Excel files located in the SAME
folder.
Fields with references such as:
'[File1.XLS]Sheet1'!C50 + '[File1.XLS]Sheet2'!C50 + ...
are automatically converted by excel into:
'D:\Full path\[File1.XLS]Sheet1'!C50 + 'D:\Full path\[File1.XLS]Sheet2'!C50
+ ...
This results  finally into errors, since the formula becomes to long to fit
into a single field.

Can anyone please give me a hint, how to turn this automatism off?

Thanks
Roland


 0
rhelbig (3)
1/7/2004 6:00:23 PM
excel 39879 articles. 2 followers.

5 Replies
753 Views

Similar Articles

[PageSpeed] 20

"Roland" wrote...
...
>Fields with references such as:
>'[File1.XLS]Sheet1'!C50 + '[File1.XLS]Sheet2'!C50 + ...
>are automatically converted by excel into:
>'D:\Full path\[File1.XLS]Sheet1'!C50 + 'D:\Full path\[File1.XLS]Sheet2'!C50
>+ ...
>This results  finally into errors, since the formula becomes to long to fit
>into a single field.
>
>Can anyone please give me a hint, how to turn this automatism off?

There is no way to turn this functionality off.

However, if the portion of the formula above is indicative, you should rewrite
them (with the other workbook open before opening the workbook containing these
formulas) as

=SUM('[File1.XLS]Sheet1:SheetN'!C50)

If that isn't practical (the worksheets in question aren't in sequence), then
your only alternative is entering external references to individual cells in
separate cells in this workbook (possibly in a hidden worksheet), then summing
the range of those external references.

--
To top-post is human, to bottom-post and snip is sublime.

 0
hrlngrv (1990)
1/7/2004 8:41:06 PM
Dear Harlan
thanks a lot for your assistance.
When the referenced files are open, Excel does not automatically add the
path name.I can work this way a s a workaround.
I also tried  the much more elegant Sum formula you recommended. However I
could not make it work. I assume that this is because the referenced sheets
have special characters in their name, i.e.  KW (1) ... KW (52) . Excel does
not issue an error message, but does not produce any values either.
=SUMME('[PG166.XLS]KW (1):KW (27)'!C91)
Have a great day
Roland

"Harlan Grove" <hrlngrv@aol.com> schrieb im Newsbeitrag
news:C9_Kb.21544$85.607@www.newsranger.com... > "Roland" wrote... > .. > >Fields with references such as: > >'[File1.XLS]Sheet1'!C50 + '[File1.XLS]Sheet2'!C50 + ... > >are automatically converted by excel into: > >'D:\Full path\[File1.XLS]Sheet1'!C50 + 'D:\Full path\[File1.XLS]Sheet2'!C50 > >+ ... > >This results finally into errors, since the formula becomes to long to fit > >into a single field. > > > >Can anyone please give me a hint, how to turn this automatism off? > > There is no way to turn this functionality off. > > However, if the portion of the formula above is indicative, you should rewrite > them (with the other workbook open before opening the workbook containing these > formulas) as > > =SUM('[File1.XLS]Sheet1:SheetN'!C50) > > If that isn't practical (the worksheets in question aren't in sequence), then > your only alternative is entering external references to individual cells in > separate cells in this workbook (possibly in a hidden worksheet), then summing > the range of those external references. > > -- > To top-post is human, to bottom-post and snip is sublime.   0 rhelbig (3) 1/8/2004 8:35:31 AM "Roland" wrote... ... >When the referenced files are open, Excel does not automatically add the >path name.I can work this way a s a workaround. Excel has odd external reference semantics. One of Excel's oldest and at times most frustrating limitations is it's inability to allow you to open multiple files with the same base filename. That is, D:\foo\X.xls and C:\bar\X.xls can't be open at the same time. If D:\foo\X.xls were open, this allows Excel to refer to that file only by its base filename as in [X.xls]. Since only one file may be open with the base filename X.xls, there's no ambiguity. When workbooks are closed, however, Excel can no longer refer to that file just by its base filename because then there would be ambiguity with respect to which exact file it was referring. That's why Excel must include the entire pathname in references to closed files. There is no work-around for this. >I also tried the much more elegant Sum formula you recommended. However I >could not make it work. I assume that this is because the referenced sheets >have special characters in their name, i.e. KW (1) ... KW (52) . Excel does >not issue an error message, but does not produce any values either. >=SUMME('[PG166.XLS]KW (1):KW (27)'!C91) Excel can accomodate parentheses in worksheet names in English versions, so it can also accomodate them formulas with references to those worksheets. For example, the following formula works for me. =SUM('[deleteme.xls]foo (1):foo (4)'!A1) I suppose it's possible your language version (German?) could use a character other than colon (:) to separate worksheet names. If you select a blank cell, start typing the formula =SUMME( then press [Crtl]+[PageDown] followed by [Shift]+[Ctrl]+[PageDown] a few times followed by ) and [Enter], what does your formula look like? What's the character between the worksheet names? If it's something other than :, then replace the : in your SUMME formula with this other character. FWIW, while Excel can accept square brackets in worksheet names, you'll find it impossible to enter formulas containing external references to cells in so-named worksheets. At least in Excel 97. I wonder if this is fixed in more recent versions (by disallowing square brackets in worksheet names). -- To top-post is human, to bottom-post and snip is sublime.   0 hrlngrv (1990) 1/8/2004 7:54:46 PM xl2002 still allows square brackets in the worksheet name. Harlan Grove wrote: <<snipped>> > > FWIW, while Excel can accept square brackets in worksheet names, you'll find it > impossible to enter formulas containing external references to cells in so-named > worksheets. At least in Excel 97. I wonder if this is fixed in more recent > versions (by disallowing square brackets in worksheet names). > > -- > To top-post is human, to bottom-post and snip is sublime. -- Dave Peterson ec35720@msn.com   0 ec35720 (10082) 1/8/2004 11:31:35 PM Dear Harlan thanks alot for your detailed explanation. Now even the strange behaviour of Excel even makes sense. Youer guess was tight, I'm working with the German version ef Excel. I tried your suggestions and finally could make it work Example: =SUMME('D:\full_path\[filename.XLS]KW (40):KW (52)'!C50) Thanks again for your great help Roland "Harlan Grove" <hrlngrv@aol.com> schrieb im Newsbeitrag news:aAiLb.21698$85.820@www.newsranger.com...
> "Roland" wrote...
> ..
> >When the referenced files are open, Excel does not automatically add the
> >path name.I can work this way a s a workaround.
>
> Excel has odd external reference semantics. One of Excel's oldest and at
times
> most frustrating limitations is it's inability to allow you to open
multiple
> files with the same base filename. That is, D:\foo\X.xls and C:\bar\X.xls
can't
> be open at the same time. If D:\foo\X.xls were open, this allows Excel to
refer
> to that file only by its base filename as in [X.xls]. Since only one file
may be
> open with the base filename X.xls, there's no ambiguity.
>
> When workbooks are closed, however, Excel can no longer refer to that file
just
> by its base filename because then there would be ambiguity with respect to
which
> exact file it was referring. That's why Excel must include the entire
pathname
> in references to closed files. There is no work-around for this.
>
> >I also tried  the much more elegant Sum formula you recommended. However
I
> >could not make it work. I assume that this is because the referenced
sheets
> >have special characters in their name, i.e.  KW (1) ... KW (52) . Excel
does
> >not issue an error message, but does not produce any values either.
> >=SUMME('[PG166.XLS]KW (1):KW (27)'!C91)
>
> Excel can accomodate parentheses in worksheet names in English versions,
so it
> can also accomodate them formulas with references to those worksheets. For
> example, the following formula works for me.
>
> =SUM('[deleteme.xls]foo (1):foo (4)'!A1)
>
> I suppose it's possible your language version (German?) could use a
character
> other than colon (:) to separate worksheet names. If you select a blank
cell,
> start typing the formula  =SUMME(  then press [Crtl]+[PageDown] followed
by
> [Shift]+[Ctrl]+[PageDown] a few times followed by  )  and [Enter], what
does
> your formula look like? What's the character between the worksheet names?
If
> it's something other than :, then replace the : in your SUMME formula with
this
> other character.
>
> FWIW, while Excel can accept square brackets in worksheet names, you'll
find it
> impossible to enter formulas containing external references to cells in
so-named
> worksheets. At least in Excel 97. I wonder if this is fixed in more recent
> versions (by disallowing square brackets in worksheet names).
>
> --
> To top-post is human, to bottom-post and snip is sublime.


 0
rhelbig (3)
1/14/2004 5:48:28 PM

Similar Artilces:

I'm trying to add 3 more email addresses to the existing 6 in my current list. They seem to be added ok, the POP3 and SMTP servers are correct, the Username and Passwords are correct in the setup and I can send mail from any of the new addresses. What I cannot do is get OL to download existing mail from the server. I know the mail is there because I can log on to the ISP's mail program and see it. When I use Tools, Send/Receive, none of the new mail accounts are listed in the box, only the previous 6. When I went back to Tools and deleted one of the original 6, it still shows up un...

How do I create project schedule using excel
I need to create a project schedule using excel. Please help. Hi lack of details :-) Maybe give some more information what you're trying to do? -- Regards Frank Kabel Frankfurt, Germany raeisza wrote: > I need to create a project schedule using excel. Please help. ...

Printing an Excel doucument
In this example, I have a document of 100 pages, when I print the document, the column headers only print on the first page and not the subsequent pages. also I would like all the pages to be numbered. is therea fix for this? Hi Richard, For your first question goto File>Page Setup>Sheet tab and look for the option 'Rows to repeat at top' For your second question goto View>Header and Footer and look at the &[page] and &[pages] options in your footer. HTH Martin ...

my printer ejects a blank sheet prior to printing with EXCEL
...

Excel: extract and sum numerals from mixed text/numeral cell range
I have a large (30x20) grid of cells with data, and I want to extract and then sum up certain numerals from this entire range. The catch is that the data is mixed numerals and text, as you'll see below. Here's an abbreviated 3x3 example, with a value in each of the nine cells: V7.1 T H P1 A T B V3 P4.5 If I just wanted to sum up the instances of "T" appearing, I could use COUNTIF() for the entire range to come up with answer ("T" appears 2 times). Easy enough. But, what I'm trying to accomplish is to sum up the numerals associated w...

Windows Update
My problem is similar to someone else's below(about Excel 2003 not being able to update), the only difference is that I don't want Excel to update at all. I don't even use it. But the yellow shield kept telling me that it had 1 update available, which was Excel 2003, so, out of annoyance, I installed it. After failing to install several times, I decided to uninstall Excel from Microsoft Office(Pro Edition 2003). Even after uninstalling Excel, I still got the windows update alert. How do I stop it? Extra info: When windows update first appeared, I did a custom instal...

excel axes
how do I create a secondary horizontal axis on an xy scatter plot? forgot to mention 2008 excel using Leopard (10.5.2) ...

Excel program
I have a simple program in excel for data entry. When I protect the sheet, and use tab to move about within the spreadsheet, sometimes the tab button will not move the cursor to the next cell. It will pick a random cell to go to next. Is there a way that I can designate what cell it will go to next. Thanks for your help, jb On a protected sheet, it is going to the next unprotected cell. So, if you don't want it to go to a cell, protect it. "JB" <jgblanton@hotmail.com> wrote in message news:093a01c391d0$ae57f190$a301280a@phx.gbl... > I have a simple program in exce...

Shift held too long key blocker on can't get it off
Can anyone help? Hi! I had this happen to me a while back. I can't remember what I had to do to fix it, though. This is an operating system setting. Maybe post in a Windows group. I did a quick search of Windows help and of course it was NO help! Biff "plumber1" <plumber1@discussions.microsoft.com> wrote in message news:BD9437D5-5BC5-4315-A4A5-0BB4F85E142C@microsoft.com... > Can anyone help? > Maybe it was: windows start button|Control Panel|Accessibility Options|Keyboard tab Something to do with StickyKeys???? (But I don't know what key blocker is.)...

2003 Excel and 2007 Trial Version Excel

Error Message When opening Excel
I am using Windows VISTA 64 bit O/S with Office Professional 2003 All of a sudden I started to get the following error message: 'One of your object libraries (Stdole32.tlb) is missing or damaged. Please run setup to install it' I am at a loss as how to correct this. I checked online and found some instructions that were for Windows 2000 Those did not work for VISTA at all. Thank you in advance for your support and suggestions, HankL It is telling you to do a "setup to install" on the Office product, did you try that? Did you try doing a repair on ...

Hi I use MFC Visual C++ 4.2. I am automating Excel from my application. My problem is I cannot quit the Excel after the automation process finished! I checked it still exists on the Process lists and the most DANGEROUS is everytime the automation function run, it create other Excel and so on. So it must be out of memory soon. I have used the app.Quit() method like all the people used but it DOES NOT work. What should I do? Thank you. I happened to answer this on the office.developer.vba newsgroup. You most likely have neglected to Release() the automation object. joe On Wed, 3 Sep...

Excel number / date conversion
I've just pulled some data out of an ODBC connection into Access an then exported it to Excel. The dates are currently in the format 20031109. But the built in dat convertor (from Format Cells) doesn't do anything, even if I convert i to a 'proper' number first. How can I convert this to 09/11/2003 so that I can do some date - base arithmetic and work out difference in days -- markperr ----------------------------------------------------------------------- markperry's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=2759 View this thread: http://w...

Excel charts should allow "switching" series on or off
A plot (chart) of time series data may be used for many purposes. From my use two reasons I use such plots are: Studying individual time series trends; and Overall impression of all results. But when studying multiple time series data a chart can become cluttered. It would be useful if individual series could be seleceted as visible or invisible so that they could be evaluated without losing the total plot. At the moment the only way to "unclutter" the plot is to remove the temporaily-unwanted series but it can be time consuming to reconstruct the plot. ---------------- Thi...

Email from Excel #3
Is it possible to have Excel send an email if the value of a certain cell is changed? Hi see your post in public.excel -- Regards Frank Kabel Frankfurt, Germany "berj" <berj@adelphia.net> schrieb im Newsbeitrag news:CcSdndsVDJy4jcjcRVn-pQ@adelphia.com... > Is it possible to have Excel send an email if the value of a certain cell is > changed? > > ...

version excel
bonjour a tous, & a tous les pro bien sur es qu'il est possible ,que des l'instant on modifie le code VBA EXCEL on incremente un compteur pour les mise a jour cela me semble plus simple merci pour vos reponse patrick.villa@laposte.net +++++ http://www.mcgimpsey.com/excel/udfs/sequentialnums.html -- --- HTH Bob (change the xxxx to gmail if mailing direct) "pounet" <patrick.villa@laposte.net> wrote in message news:1165418782.552172.169740@j44g2000cwa.googlegroups.com... > bonjour a tous, & a tous les pro bien sur > > es qu'il est possible ,qu...

double line spacing using excel 2000
I have a paragraph of writing, how do i get the text to be double line spaced? I am using excel 2000. Excel doesn't have a line spacing setting. You could add line breaks by pressing Alt+Enter at the end of a line, then another Alt+Enter to create a blank line. Dan wrote: > I have a paragraph of writing, how do i get the text to be double line > spaced? I am using excel 2000. -- Debra Dalgleish Excel FAQ, Tips & Book List http://www.contextures.com/tiptech.html Does this aply to newer versions of excel? "Debra Dalgleish" wrote: > Excel doesn't have a...

Excel 95 to Excel 2003
Anyone know if it's possible to convert Excel 95 files to Excel 2003? If so, how. Thanks in advance Open the file in 2003 and SAVE as you would a file created in 2003. If not absolutely positive, save as a different name. -- Don Guillett SalesAid Software donaldb@281.com "Cooper" <kcooper2@austin.rr.com> wrote in message news:uqLpEuG4EHA.1292@TK2MSFTNGP10.phx.gbl... > Anyone know if it's possible to convert Excel 95 files to Excel 2003? If > so, how. > > Thanks in advance > > Open in XL 2003, when you close it, it should, ask you if you w...

Conversion Excel 97 to Excel 2003
Hi There, I would like to convert Excel 97 files to excel 2003 I m using Save AS, but little bit confuse what type I have to choose "Microsoft Office Excel workbood (*.xls)" or "Microsoft Excel 97 - Excel 2003 & 5.0/95 workbook (*.xls)". We will not use Office 97 anymore next few weeks. Thank for your prompt response. Wayne You shouldn't have to do anything. If you feel the need, just save as microsoft excel workbook.xls -- Don Guillett SalesAid Software donaldb@281.com "Wayne" <anonymous@discussions.microsoft.com> wrote in message news:8286...

Inner Borders in Excel 2007
Before in pre-Excel 2007 world, I used to be able to select a range of cells, click on a button to get vertical or horizontal boarders for the range selected. In Excel 2007 I can only apply outer boarders. Was this feature removed? I now have go to "format cells", then select the "borders" tab to do the same. Where did the buttons for inner vertical/horizontal boarders go? Thanks. louishong - Home ribbon > (Font group) drop down between Underline and Fill Color - Mike http://www.MikeMiddleton.com <louishong@lycos.com> wrote in message...

Convert excel to java
Hi does anybody know a way to convert an XL spreadhseet (with charts) to a fully interactive Java object?? I have tried exceleverywhere and xlsius, but no luck! Thanks in advance -- shnim1 ...

Importing Excel data into Access?
Can Excel data be imported into Access easily!? I know from Word table I can simply copy and paste but it is not that easy when doing from Excel to Access! I downloaded this manual from http://www.mousetraining.co.uk/training-manuals/Access2003Intro.pdf but couldn't find this topic If anyone knows please let me know! Cheers Raj Hello, there are plenty of sources. e.g.: http://office.microsoft.com/training/training.aspx?AssetID=RC102722321033 Stefan. "Rajeev Rawat" wrote: > Can Excel data be imported into Access easily!? I know from Word table &g...

How do I import Excel into Microsoft Money
#1 - This question is more likely to get an answer in the Money newsgroup than here #2 - Place your question in the body of the message, with a little more explanation of what you want to accomplish "Tax Help" wrote: > You can't do it directly. The only formats that Money can import are QIF and OFX. Go to Google and search for excel money import qif to get multiple hits including macros and/or commercial solutions. One the I found is http://www.bigredconsulting.com/AboutXLQIFConverter.htm Their program is \$39. On Mon, 21 Mar 2005 12:55:03 -0800, "Tax H...

Entering hour minute only 'now' in Excel (without day/date)
How to change Time now function to give only Hour/minute time 'now' in Excel Hi just format the cell with the custom format hh:mm -- Regards Frank Kabel Frankfurt, Germany "Ian" <Ian@discussions.microsoft.com> schrieb im Newsbeitrag news:7A1AFC42-791F-4397-94F2-91DE0ADB34D7@microsoft.com... > How to change Time now function to give only Hour/minute time 'now' in > Excel ...

Excel to Excel Automation
Could someone please explain the best process for taking data that has been typed into certain cells in spreadsheet and sending this information to another spreadsheet, in a different location.. Is this possible thorough VBA. Thanks for any advice.. Larry Bargers -- lbargers ------------------------------------------------------------------------ lbargers's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=32798 View this thread: http://www.excelforum.com/showthread.php?threadid=526211 You are really better off using the destination to pull the info from the ...