+ Reply to Thread
Results 1 to 4 of 4

External Links result in #VALUE errors when external file is closed

  1. #1
    Registered User
    Join Date
    03-09-2015
    Location
    US
    MS-Off Ver
    2010
    Posts
    26

    External Links result in #VALUE errors when external file is closed

    External references in my file result in #VALUE errors when both files aren't open. Excel 2010.

    I have a file that someone else runs with productivity by sales person, site, and month. This information is displayed in a pivot table, but my formulas references the cells (not GETPIVOTDATA) and the file is in a folder that I only have read permissions to so I can't edit the file.

    My file is in another folder. I've been trying to create external links in index/match/match formulas. I created named ranges and used OFFSET to make the data ranges dynamic. Index references a named range of all the data, match references a named range of the rows, and match reference a named range of the columns. Formulas work fine as long as the other file is open. When both are closed, I get #VALUE errors when reopening.

    I've tried just using references to the cells with no OFFSET, moving the productivity file to a folder I have read/write permissions, and making the formulas array formulas.

    From what I've found searching, it looks like there may be no solution and it's just how Excel works. So I'd just have to copy/paste the data into my file with no external links. Is that right? Or is there a solution I'm missing?

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: External Links result in #VALUE errors when external file is closed

    We have to see your actual formulas to understand what you're talking about. But some functions require the other workbook to be open, most notably INDIRECT but you didn't mention that one. I can't remember offhand what the others are. Is the named range in the file with the formulas, or defined in the external workbook?

    There might be a way to do what you want, if you can explain in more detail exactly what you need to do. It would be ideal if you could attach both your file and the productivity file, although I imagine they would contain proprietary data. At a bare minimum you need to show your formulas.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    03-20-2019
    Location
    costa rica
    MS-Off Ver
    windows 10
    Posts
    10

    Re: External Links result in #VALUE errors when external file is closed

    Have you tried making a connection with the Get & Transform options? This would refresh the information on your workbook, so you don't have to depend on whether the workbook is open or not.

  4. #4
    Registered User
    Join Date
    03-09-2015
    Location
    US
    MS-Off Ver
    2010
    Posts
    26

    Re: External Links result in #VALUE errors when external file is closed

    The formula was in this format with the first match matching a concatenated LocationName in column A and the second match matching "Month Year."
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Named ranges were in my main file, but I tried the above without named ranges with the same result. The concatenated LocationName was in the production file and main file. I also tried putting the main file's concatenate outside of the formula and only referencing a cell. At this point, the report is only updated monthly so I think copy/paste the data is a low enough amount of work. Turning off automatic calculations also seems to work if I save with both files open.



    I'm not familiar with Get & Transform. I'll look into it.
    Last edited by ziggyztz; 05-24-2019 at 04:45 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. returning data from an external closed file
    By Naz555 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-08-2018, 02:53 AM
  2. [SOLVED] #value when external file is closed
    By Shamz41 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-22-2017, 01:40 AM
  3. External Data from Microsoft Query - Excel File - Causes external file to open.
    By lee1000d in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-25-2015, 02:25 PM
  4. Replies: 0
    Last Post: 04-02-2014, 03:25 PM
  5. [SOLVED] External links break after the source workbook is closed
    By jankee in forum Excel General
    Replies: 6
    Last Post: 05-21-2013, 09:14 AM
  6. Extract information from external closed file according to a date
    By lampoonsaat in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-15-2011, 11:01 AM
  7. Changing external file links
    By mgron in forum Excel General
    Replies: 1
    Last Post: 12-21-2006, 02:57 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1