Closed Thread
Results 1 to 31 of 31

Vlookup displays REF if linked workbook is open

  1. #1
    Registered User
    Join Date
    01-07-2014
    Location
    Cape Town, South Africa
    MS-Off Ver
    Excel 2013
    Posts
    33

    Vlookup displays REF if linked workbook is open

    Hi,

    I tried to search similar problems and only found one other person with a similar problem, but it was not resolved. I have a Vlookup function in one workbook that is linked to another workbook called Job List 7.xls. When the Job List 7 workbook is closed, the vlookup function works, but as soon as the Job List 7 workbook is open then my vlookup function reveals #ref.
    This is my formula =IF(A5="","",VLOOKUP(A5,'\\192.168.10.201\eas\D Drive\Company\EAS Files\MASTER FILES\[JOB LIST 7.xls]Master Job List'!$A$9:$B$4202,2,FALSE))

    Is there anyway to make the vlookup function work regardless of whether the Job List is open or not?

    Thanks in advance.

    PS: if a excel file is to be uploaded please let me know

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Vlookup displays REF if linked workbook is open

    It should work Press Alt+E+K and press Update Values.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    01-07-2014
    Location
    Cape Town, South Africa
    MS-Off Ver
    Excel 2013
    Posts
    33

    Re: Vlookup displays REF if linked workbook is open

    The option of updating the values is masked, the popup table also shows that it is automatically updated? I'n not sure what to do now.

  4. #4
    Registered User
    Join Date
    01-07-2014
    Location
    Cape Town, South Africa
    MS-Off Ver
    Excel 2013
    Posts
    33

    Re: Vlookup displays REF if linked workbook is open

    I realised my workbook was protected, i unprotected it, selected update value and nothing changes?

  5. #5
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Vlookup displays REF if linked workbook is open

    if possible, share some screenshots

  6. #6
    Registered User
    Join Date
    01-07-2014
    Location
    Cape Town, South Africa
    MS-Off Ver
    Excel 2013
    Posts
    33

    Re: Vlookup displays REF if linked workbook is open


  7. #7
    Registered User
    Join Date
    01-07-2014
    Location
    Cape Town, South Africa
    MS-Off Ver
    Excel 2013
    Posts
    33

    Re: Vlookup displays REF if linked workbook is open

    Sorry, posted it twice, so after is of course when the job list is opened, and before is before the job list is open. i couldnt update the workbooks due to the uploader not allowing macro enables files

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Vlookup displays REF if linked workbook is open

    The masterjoblist sheet missing in your formula reference. Pls check it

  9. #9
    Registered User
    Join Date
    01-07-2014
    Location
    Cape Town, South Africa
    MS-Off Ver
    Excel 2013
    Posts
    33

    Re: Vlookup displays REF if linked workbook is open

    Hi sixthsense,
    I'm not sure if I understand what you're saying. It gets replaced by #ref in the formula once the job list is open, but it is in the formula when the job list isn't open. Thats what I'm trying to avoid.

  10. #10
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Vlookup displays REF if linked workbook is open

    This will happen if the sheet does not exist in the source workbook. I do not think you may stop this.
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  11. #11
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Vlookup displays REF if linked workbook is open

    @ Izandol,

    Thanks for jumping in

    But the OP saying that when he close the workbook it's working fine. When the source workbook is opened then the formula reference is getting affected. Not sure what's happening at OP's end

  12. #12
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Vlookup displays REF if linked workbook is open

    Yes this is normal. If source workbook is closed, formula is not affected but if source workbook is open and sheet name is not correct, formula will change to #REF error when workbook with formula is opened.

  13. #13
    Registered User
    Join Date
    01-07-2014
    Location
    Cape Town, South Africa
    MS-Off Ver
    Excel 2013
    Posts
    33

    Re: Vlookup displays REF if linked workbook is open

    But the sheet name is correct? I never change it

  14. #14
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Vlookup displays REF if linked workbook is open

    Are you 100% certain? No spaces at beginning or end? I do not know why this would create error if sheet name is correct.

  15. #15
    Registered User
    Join Date
    01-07-2014
    Location
    Cape Town, South Africa
    MS-Off Ver
    Excel 2013
    Posts
    33

    Re: Vlookup displays REF if linked workbook is open

    Yes I am sure. I just double checked now. That's why it is so strange. I saw a post as well where someone had a similar problem but it wasn't solved.

  16. #16
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Vlookup displays REF if linked workbook is open

    May you post both files for testing? No data required but the formulas must be present.

  17. #17
    Registered User
    Join Date
    01-07-2014
    Location
    Cape Town, South Africa
    MS-Off Ver
    Excel 2013
    Posts
    33

    Re: Vlookup displays REF if linked workbook is open

    i for some reason cannot upload my xlsx file? i tried last night and this morning. Will carry on trying different file types

  18. #18
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Vlookup displays REF if linked workbook is open

    What is size of the file? I think there are limits here.

  19. #19
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Vlookup displays REF if linked workbook is open

    Attaching the excel file the limit is 1 MB
    You can attach upto 10 MB of file by adding it in zip file.

  20. #20
    Registered User
    Join Date
    01-07-2014
    Location
    Cape Town, South Africa
    MS-Off Ver
    Excel 2013
    Posts
    33

    Re: Vlookup displays REF if linked workbook is open

    Its only 126kb. Going to try again now

  21. #21
    Registered User
    Join Date
    01-07-2014
    Location
    Cape Town, South Africa
    MS-Off Ver
    Excel 2013
    Posts
    33

    Re: Vlookup displays REF if linked workbook is open

    I really do not know what to do about this, I even saved it as an xls file and it still doesnt work. The original file was macro enabled and I saved it to xlsx first which didnt work and then xls which also wont work. it uploads fully then produces a red explanation mark. Hav I just started a new forum about how to upload files now!? I've uploaded so many files on here before. Strange

  22. #22
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Vlookup displays REF if linked workbook is open

    Do you have account for SkyDrive or Dropbox or other upload site?

  23. #23
    Registered User
    Join Date
    01-07-2014
    Location
    Cape Town, South Africa
    MS-Off Ver
    Excel 2013
    Posts
    33

    Re: Vlookup displays REF if linked workbook is open

    yes i do. I have skydrive and dropbox

  24. #24
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Vlookup displays REF if linked workbook is open

    You may upload there and provide share link here?

  25. #25
    Registered User
    Join Date
    01-07-2014
    Location
    Cape Town, South Africa
    MS-Off Ver
    Excel 2013
    Posts
    33

    Re: Vlookup displays REF if linked workbook is open


  26. #26
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Vlookup displays REF if linked workbook is open

    I do not see this REF error after changing the path to the downloaded file. It does not matter if source file is open or closed. I am not sure why you have this problem.

  27. #27
    Registered User
    Join Date
    01-07-2014
    Location
    Cape Town, South Africa
    MS-Off Ver
    Excel 2013
    Posts
    33

    Re: Vlookup displays REF if linked workbook is open

    Seriously? Iwonder if it has something to do with our NAS system that it has to search the Job List file. Because I can't seem to stop this ref, even when i reenter the vlookup function. Have you ever come across this problem with other people or am I a first?

  28. #28
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Vlookup displays REF if linked workbook is open

    I really do not know. Is the same problem apparent if you save the source file as .xlsx instead of .xls?

  29. #29
    Registered User
    Join Date
    01-07-2014
    Location
    Cape Town, South Africa
    MS-Off Ver
    Excel 2013
    Posts
    33

    Re: Vlookup displays REF if linked workbook is open

    Yes still has same problem. If the Job List is open first, and then i open my timesheet, the ref does not occur. If i open my timesheet and then the Job List, then ref occurs. Wow, really strange now.

  30. #30
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Vlookup displays REF if linked workbook is open

    Check and confirm, whether post #6 of the below link solves your problem

    http://www.excelforum.com/excel-form...file-open.html

  31. #31
    Registered User
    Join Date
    04-18-2015
    Location
    saudi arabia
    MS-Off Ver
    2013
    Posts
    10

    Re: Vlookup displays REF if linked workbook is open

    I had this problem and it was ruining me.

    Found a solution in removing the spaces in the sheet names!

  32. #32
    Registered User
    Join Date
    04-29-2008
    Posts
    10

    Re: Vlookup displays REF if linked workbook is open

    I have been having this exact same issue! Unfortunately I can't get to page 3 of this string, it keeps routing me back to page 2 of 3 :-(

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Keep getting #REF! until I open the linked workbook
    By sbham in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-16-2013, 08:31 AM
  2. my INDIRECT formula only works when the linked workbook is open
    By apiekar42 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-12-2013, 06:46 PM
  3. Replies: 1
    Last Post: 03-18-2013, 11:09 PM
  4. Replies: 2
    Last Post: 01-19-2013, 09:13 AM
  5. Linked cell displays 0
    By AMY Z. in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-06-2005, 04:00 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