+ Reply to Thread
Results 1 to 8 of 8

vlookup return blank

Hybrid View

  1. #1
    Registered User
    Join Date
    02-18-2015
    Location
    New York
    MS-Off Ver
    office2013
    Posts
    32

    vlookup return blank

    hi.

    how can I make this formula to return to blank instead of #n/a.

    "=VLOOKUP(RC[-8],'[case number.xls]Sheet1'!C2:C3,2,0)"


    any help is appreciated.

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: vlookup return blank

    =iferror(VLOOKUP(RC[-8],'[case number.xls]Sheet1'!C2:C3,2,0),"")

  3. #3
    Registered User
    Join Date
    02-18-2015
    Location
    New York
    MS-Off Ver
    office2013
    Posts
    32

    Re: vlookup return blank

    running into error when i run in Marco.

  4. #4
    Registered User
    Join Date
    02-18-2015
    Location
    New York
    MS-Off Ver
    office2013
    Posts
    32

    Re: vlookup return blank

    Quote Originally Posted by YasserKhalil View Post
    =iferror(VLOOKUP(RC[-8],'[case number.xls]Sheet1'!C2:C3,2,0),"")
    it is running into error in Macro

  5. #5
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: vlookup return blank

    When using formulas in vba it should be like that
    =iferror(VLOOKUP(RC[-8],'[case number.xls]Sheet1'!C2:C3,2,0),"""")

  6. #6
    Registered User
    Join Date
    02-18-2015
    Location
    New York
    MS-Off Ver
    office2013
    Posts
    32

    Re: vlookup return blank

    Quote Originally Posted by YasserKhalil View Post
    When using formulas in vba it should be like that
    =iferror(VLOOKUP(RC[-8],'[case number.xls]Sheet1'!C2:C3,2,0),"""")
    still getting an error: RC[-8]

  7. #7
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: vlookup return blank

    Can you post your sample workbook?

  8. #8
    Registered User
    Join Date
    02-18-2015
    Location
    New York
    MS-Off Ver
    office2013
    Posts
    32

    Re: vlookup return blank

    Quote Originally Posted by YasserKhalil View Post
    Can you post your sample workbook?
    I wrote the new macro with your formula, and it works now.
    thanks alot.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] VLOOKUP - If table array is blank, need it to return blank
    By bxk006 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-27-2014, 11:36 AM
  2. [SOLVED] Need formula to return blank instead of #N/A when source cell is blank, using VLOOKUP
    By TMB1234 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-03-2013, 07:16 PM
  3. How to return a blank with VLOOKUP
    By eugbed in forum Excel General
    Replies: 4
    Last Post: 05-08-2011, 01:34 AM
  4. How do I return a blank for VLOOKUP instead of #N/A?
    By Duke Carey in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-06-2005, 05:05 AM
  5. [SOLVED] How do I return a blank for VLOOKUP instead of #N/A?
    By ExcelBee in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM

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