+ Reply to Thread
Results 1 to 4 of 4

2 vlookup functions, need to replace the n/a's with blanks

  1. #1
    Registered User
    Join Date
    08-29-2017
    Location
    us
    MS-Off Ver
    tn
    Posts
    2

    2 vlookup functions, need to replace the n/a's with blanks

    =IF(V3="CAC",VLOOKUP(F3,'Service List'!B3:G436,6,FALSE),VLOOKUP(F3,'Service List'!B437:G1185,6,FALSE))

    these are the formulas i'm working with.

    Can someone help?

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525

    Re: 2 vlookup functions, need to replace the n/a's with blanks

    =iferror((formula),"")

  3. #3
    Registered User
    Join Date
    08-29-2017
    Location
    us
    MS-Off Ver
    tn
    Posts
    2
    Quote Originally Posted by davesexcel View Post
    =iferror((formula),"")
    Thank you for your reply. Where do I put it? I Have 2 vlookups.

  4. #4
    Registered User
    Join Date
    10-23-2017
    Location
    Vancouver, British Columbia
    MS-Off Ver
    2016
    Posts
    4

    Re: 2 vlookup functions, need to replace the n/a's with blanks

    Quote Originally Posted by agroza85 View Post
    Thank you for your reply. Where do I put it? I Have 2 vlookups.
    Probably nest it with both of them as VLookup will always turn up N/A if true.

    =IF(V3="CAC",IFERROR(VLOOKUP(F3,'Service List'!B3:G436,6,FALSE),""),IFERROR(VLOOKUP(F3,'Service List'!B437:G1185,6,FALSE),""))

    OR

    =IFERROR(IF(V3="CAC",VLOOKUP(F3,'Service List'!B3:G436,6,FALSE),VLOOKUP(F3,'Service List'!B437:G1185,6,FALSE)),"") - Cleaner?

+ 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. Need to replace 0's, #N/A and 1/0/00 with blanks
    By bdizness in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-05-2012, 04:58 PM
  2. Filter non-blanks and replace cells
    By imdl in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-15-2011, 02:37 PM
  3. Replace blanks/spaces
    By antony moseley in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-16-2009, 12:48 PM
  4. Replace 0s with blanks - IF statement
    By thomas.szwed in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-12-2007, 11:59 AM
  5. [SOLVED] Search and replace blanks
    By SamanthaK in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-15-2006, 07:10 AM
  6. [SOLVED] replace blanks using formula
    By susiecc60 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-26-2006, 09:25 PM
  7. Need to get rid of 0's and replace with Blanks
    By Intuit in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-03-2006, 04:55 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