+ Reply to Thread
Results 1 to 7 of 7

VLOOkUP errors

  1. #1
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    372

    VLOOkUP errors

    I'm currently using a combination of IF and VLOOKUP. However, there are cells that will have no data and i get errors (examples below). I prefer the cell to remain blank vs the errors or data it returns...


    Using: =IF(D4="","",VLOOKUP(D4,Milestones!F3:U61,7,0))

    Examples:

    - 1/0/1900
    - #N/A

    Where there are no dates to return from the Dump tab, I get 1/0/00. I prefer to leave the cell blank
    Where the Vlookup does not find the match criteria in the Dump tab, it returns #N/A.i preger to leave the cell blank

    I've attached a sample file...
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    08-28-2012
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: VLOOkUP errors

    I cannot find any cell containing fomulae.
    in Which cells you need to have this fomula??

  3. #3
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: VLOOkUP errors

    Hello rz6657,

    Although I would prefer to use Index Match, you could try:

    Please Login or Register  to view this content.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  4. #4
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: VLOOkUP errors

    Formula:
    Please Login or Register  to view this content.
    Format cell to Custom format: "m/d/yy;;;@" (no quotes)
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  5. #5
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: VLOOkUP errors

    If you have excel 2007 and beyond, there is a handy function called "iferror". You can use it with any function if you wish to return other than error

  6. #6
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: VLOOkUP errors

    Would this work:

    =IFERROR(VLOOKUP(D4,Milestones!F3:U61,7,0),"")

    - Moo

  7. #7
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: VLOOkUP errors

    Exactly! You can change this ("") bit in what ever you like.

+ 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