+ Reply to Thread
Results 1 to 6 of 6

Vlookup Problems

  1. #1
    Registered User
    Join Date
    07-16-2007
    Posts
    30

    Vlookup Problems

    I wonder if anyone can help me please with a Vlookup issue.

    In the attached spreadsheet I have a Vlookup that returns a Date of Birth (from the Lookup sheet) based on a name selected in column A of sheet 1. The formula works fine but I have 2 issues which I don't know a fix to.

    1. If the Name in column A of Sheet 1 is blank it returns #N\A in column B. I want it to return a blank cell.

    2. If the person does not have a DOB entered in column B in the lookup sheet the formula returns a date of 00 January 1900, which is not correct. In instances where there is no date on the Lookup sheet against a person's name I want the formula to return a blank cell.

    Could anyone help me resolve these two issues please?

    Many thanks
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    12-24-2009
    Location
    Istanbul
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Vlookup Problems

    try to use this one;

    b2:

    =IFERROR(INDEX(Lookup!$B$2:$B$6,MATCH(A2,look,0)),"")

  3. #3
    Forum Contributor
    Join Date
    08-01-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007
    Posts
    182

    Re: Vlookup Problems

    Try this

    Please Login or Register  to view this content.
    Hope this helps

  4. #4
    Registered User
    Join Date
    07-16-2007
    Posts
    30

    Re: Vlookup Problems

    Excellent - that has fixed the #N\A problem, but I still have the issue with the wrong date of 00 January 1990 showing. Any ideas on a fix that will sort that one as well?

    Thank you

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Vlookup Problems

    This is your one solution for both problems :

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    07-16-2007
    Posts
    30

    Re: Vlookup Problems

    Fantastic - that's done the trick. Thanks folks much appreciated.

+ 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