+ Reply to Thread
Results 1 to 6 of 6

Help with vlookup

  1. #1
    Registered User
    Join Date
    03-07-2013
    Location
    Kentucky
    MS-Off Ver
    Excel 2010
    Posts
    80

    Help with vlookup

    I need some help with my Excel worksheet. Using vlookup (colums B1 and C1) show a date that is a result of the lookup. I would like to have these cells blank when the project has no dates in cells. If project selected is 8880(cell B5), column B1 is blank. If project selected is 8881(cell B6), column B1 is 16-Apr. I hope you can understand this. Thanks in advance.Vlookup Help.xlsm

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Help with vlookup

    =iferror(vlookup($a$1,$a$3:$c$21,2),"") ?????????
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    03-07-2013
    Location
    Kentucky
    MS-Off Ver
    Excel 2010
    Posts
    80

    Re: Help with vlookup

    Fotis1991, Thanks for the reply, columns B1 and C1 still show 0-Jan, and I would like them to be blank them to be blank. I will have a message box come up and tell the user that there is no date there.

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Help with vlookup

    .............................
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-07-2013
    Location
    Kentucky
    MS-Off Ver
    Excel 2010
    Posts
    80

    Re: Help with vlookup

    Fotis1991, Thanks again but is still shows a date when no date is there. I am going to study up on my range and offset to find an answer. Thanks for the effort. I'm going to give you a rep just for replying and close this, in a while. Thanks .

  6. #6
    Registered User
    Join Date
    03-07-2013
    Location
    Kentucky
    MS-Off Ver
    Excel 2010
    Posts
    80

    Re: Help with vlookup

    Fixed the problem by using an IF statement in my commandbutton.

+ 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