+ Reply to Thread
Results 1 to 8 of 8

Instead of having FALSE or #N/A leave a cell blank

  1. #1
    Registered User
    Join Date
    03-15-2013
    Location
    South West, England
    MS-Off Ver
    Excel 2010
    Posts
    27

    Instead of having FALSE or #N/A leave a cell blank

    I have this formula and I want to get it to leave the cell blank as opposed to showing FALSE or #N/A

    =IF(A252<>"",VLOOKUP(A252,Customers!$A$2:$F$250,1,FALSE))

    Any ideas? Google seems to lead me down a path and I couldn't find it here...

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Instead of having FALSE or #N/A leave a cell blank

    try the iferror

    =iferror(=IF(A252<>"",VLOOKUP(A252,Customers!$A$2:$F$250,1,FALSE)),"")

    or this one

    =iferror(VLOOKUP(A252,Customers!$A$2:$F$250,1,FALSE)),"")
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,419

    Re: Instead of having FALSE or #N/A leave a cell blank

    =IF(A252<>"",IFERROR(VLOOKUP(A252,Customers!$A$2:$F$250,1,FALSE),""),"")
    Cheers
    Andy
    www.andypope.info

  4. #4
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: Instead of having FALSE or #N/A leave a cell blank

    If you have the verision Excel-2007 or above, then you can use this function.

    =IFERROR(VLOOKUP(A252,Customers!$A$2:$F$250,1,FALSE),"")
    Please click 'Add reputation', if my answer helped you.

  5. #5
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Instead of having FALSE or #N/A leave a cell blank

    hi there. not sure why you need VLOOKUP since you're returning the 1st column. this is an alternative:
    =IF(COUNTIF(Customers!A:A,A252),A252,"")

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  6. #6
    Registered User
    Join Date
    03-15-2013
    Location
    South West, England
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Instead of having FALSE or #N/A leave a cell blank

    Quote Originally Posted by Andy Pope View Post
    =IF(A252<>"",IFERROR(VLOOKUP(A252,Customers!$A$2:$F$250,1,FALSE),""),"")
    Thanks, Andy, this one worked a charm.

  7. #7
    Registered User
    Join Date
    03-15-2013
    Location
    South West, England
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Instead of having FALSE or #N/A leave a cell blank

    Quote Originally Posted by Andy Pope View Post
    =IF(A252<>"",IFERROR(VLOOKUP(A252,Customers!$A$2:$F$250,1,FALSE),""),"")
    Thanks, Andy, this one worked a charm.

  8. #8
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Instead of having FALSE or #N/A leave a cell blank

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. If Then formula. If false, I would like to leave the cell blank.
    By joaquinwalking in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-30-2013, 01:56 PM
  2. [SOLVED] Simple pull exact text from cell, if blank it pulls up a 0. How to leave it as blank?
    By sharpmel in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-30-2012, 02:20 PM
  3. If result is "FALSE" leave blank
    By matrixpom in forum Excel General
    Replies: 3
    Last Post: 08-27-2012, 01:56 AM
  4. Replies: 3
    Last Post: 06-16-2009, 10:07 AM
  5. False - want to leave blank
    By redlion3 in forum Excel General
    Replies: 1
    Last Post: 11-26-2007, 06:01 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