+ Reply to Thread
Results 1 to 3 of 3

Vlookup?

  1. #1
    Registered User
    Join Date
    06-17-2007
    Posts
    18

    Vlookup?

    i have several vlookups in sheet 2, that is taking data from sheet 1.

    it works perfectly when i need to see the data i am after, but sometimes i need the cell to be blank when i do not require it to look up information.

    the formula that im using is
    =VLOOKUP(C5,STOCK2,2,FALSE)

    when C5 is blank, this cell shows up as #N/A.

    how do i make this cell blank if cell C5 is blank?

    any suggestions?

  2. #2
    Forum Contributor
    Join Date
    06-25-2007
    Posts
    166
    Try this (untested, but should work):

    =IF(ISERROR(VLOOKUP(C5,STOCK2,2,FALSE)),"",VLOOKUP(C5,STOCK2,2,FALSE))

  3. #3
    Registered User
    Join Date
    06-17-2007
    Posts
    18
    yes it works

    thank you

+ 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