+ Reply to Thread
Results 1 to 7 of 7

External VLOOKUP returning #value

  1. #1
    Registered User
    Join Date
    01-25-2013
    Location
    munich
    MS-Off Ver
    Excel 2003
    Posts
    7

    External VLOOKUP returning #value

    hi,
    I made a VLOOKUP to a different workbook and it returns #value when the othe workbook is closed

    however each vlookup by it self returns the correct value
    The goal is to retrive data to a given firm from the Leads database and if there is no data, the next step is to look in M&A database

    =IF(COUNTA(D21)=1,IF(COUNTIF('G:\06 Online\[Internet Lead List.xlsm]Leads'!$D$13:$D$7000,D21)>0,VLOOKUP(D21,'G:\06 Online\[Internet Lead List.xlsm]Leads'!$D$13:$AK$7000,25,FALSE),VLOOKUP(D21,'G:\06 Online\[Internet Lead List.xlsm]M&A'!$C$13:$W$7000,4,FALSE)),"")

    Does anyone know whats wrong with my formular?

    Thanks
    Julius

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: External VLOOKUP returning #value

    Hi Julius,

    Vlookup works on closed workbooks.. try including full file path in the formula. Thanks.

    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: External VLOOKUP returning #value

    I can't see anything wrong with the formula.

    Have you checked to confirm that none of the values in the both the first column of the ranges being looked or the 25th or 4th column of the relevant ranges is showing an error?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: External VLOOKUP returning #value

    countif doesnt work on closed work books
    http://support.microsoft.com/kb/260415
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: External VLOOKUP returning #value

    Quote Originally Posted by martindwilson View Post
    countif doesnt work on closed work books
    http://support.microsoft.com/kb/260415
    Thanks Martin,

    They say you learn something new every day. You've just demonstrated that this is one of those days.
    Cheers


  6. #6
    Registered User
    Join Date
    01-25-2013
    Location
    munich
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: External VLOOKUP returning #value

    thank you very much thats great i would have never thought of that. now i have to reathink how i can achieve the same without countif

  7. #7
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: External VLOOKUP returning #value

    Thanks to martin for 'heads-up'

    20juls, please mark this thread as [SOLVED].. thanks.



    Regards,
    DILIPandey
    <click on below * if this helps>

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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