+ Reply to Thread
Results 1 to 9 of 9

VLOOKUP: is it really unable to fetch data from another closed workbook?

  1. #1
    Forum Contributor
    Join Date
    01-16-2014
    Location
    London
    MS-Off Ver
    Excel 2003 Excel 2010
    Posts
    189

    VLOOKUP: is it really unable to fetch data from another closed workbook?

    I have done some search about VLOOKUP to see if it is really can fetch data from a closed workbook. There are two different opinions: some said it could, but others said the source workbook needs to be open first.

    My colleague experienced this problem yesterday. She has a spreadsheet which has a VLOOKUP function to get data from another workbook:

    =VLOOKUP(A1,'c:\Document\[TOTAL Clients.xls]Data Sheet'!$C$1:$E$65536,3,FALSE)

    She noticed that the result is wrong when the source file TOTAL Clients is closed. I asked her to open the source file, and immediately the result works perfectly.

    Can Excel expert really give some advice on this question to clarify it?

  2. #2
    Forum Contributor
    Join Date
    09-18-2014
    Location
    Pakistan
    MS-Off Ver
    2013, 2016
    Posts
    283

    Re: VLOOKUP: is it really unable to fetch data from another closed workbook?

    Workbook should remain open for change.

    Press F9 key to update the data manually. I think this will work.

  3. #3
    Forum Contributor
    Join Date
    01-16-2014
    Location
    London
    MS-Off Ver
    Excel 2003 Excel 2010
    Posts
    189

    Re: VLOOKUP: is it really unable to fetch data from another closed workbook?

    So, for VLOOKUP to work to get data from an external workbook, the external workbook needs to open?

  4. #4
    Forum Contributor
    Join Date
    01-16-2014
    Location
    London
    MS-Off Ver
    Excel 2003 Excel 2010
    Posts
    189

    Re: VLOOKUP: is it really unable to fetch data from another closed workbook?

    Can I get more opinion about VLOOKUP?

  5. #5
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: VLOOKUP: is it really unable to fetch data from another closed workbook?

    VLOOKUP should work with a closed workbook. Did she update the links when opening the workbook?
    Remember what the dormouse said
    Feed your head

  6. #6
    Forum Contributor
    Join Date
    01-16-2014
    Location
    London
    MS-Off Ver
    Excel 2003 Excel 2010
    Posts
    189

    Re: VLOOKUP: is it really unable to fetch data from another closed workbook?

    Hi romperstomper. She did update the link. I also helped her to update the link and the status showed 'OK'. The calculation is also on (automatic).

    If we agree that VLOOKUP should work for closed workbook, then I don't know what is really the reason to explain this VLOOKUP bizarre behavior

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: VLOOKUP: is it really unable to fetch data from another closed workbook?

    You can use vlookup() into a closed WB and it will bring back the data from that closed WB as it was last saved.

    Have you tried to do the vlookup with both WB's open, then testing to make sure the data that you are searching ON and searching FOR actually exist in both files?
    Last edited by FDibbins; 02-07-2015 at 02:20 AM.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  8. #8
    Forum Contributor
    Join Date
    01-16-2014
    Location
    London
    MS-Off Ver
    Excel 2003 Excel 2010
    Posts
    189

    Re: VLOOKUP: is it really unable to fetch data from another closed workbook?

    Hi, FDibbins, I did another test as you suggested. The data do exist.

    Very confusing about the behavior of VLOOKUP. Is it because the file is in the format of Excel 2003?

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: VLOOKUP: is it really unable to fetch data from another closed workbook?

    File format should not make a difference either

    Can you upload a small (clean) sample of those files for me?

+ 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. Vlookup Macro to fetch data from another worksheet
    By sn152 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-10-2014, 04:56 AM
  2. Replies: 0
    Last Post: 03-27-2014, 12:38 PM
  3. Unable To fetch Data
    By vipul520 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-14-2013, 05:16 AM
  4. vba vlookup updates current data's from closed workbook undefined name of workbooks
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-27-2013, 06:53 AM
  5. VLOOKUP using VBA to auto fetch data
    By RahulM in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-16-2013, 09:46 AM

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