+ Reply to Thread
Results 1 to 6 of 6

Match formula brings #N/A result. How to change to blank cell?

  1. #1
    Forum Contributor
    Join Date
    10-23-2004
    Location
    Los Angeles
    MS-Off Ver
    2010
    Posts
    253

    Match formula brings #N/A result. How to change to blank cell?

    I am currently using a MATCH formula to look for an exact cell value (combination of numbers and characters) from a cell in a list of macro created hyperlinks on column A.

    Ex: =MATCH(F2,A:A,0)

    When it finds the cell value (exact value only, that's why I use 0), it tells me ONLY the row level in column A. When it can't find it, it returns the #N/A. How can I change the formula such that in place of returning a #N/A value, it simply gives me a blank?

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Match formula brings #N/A result. How to change to blank cell?

    You can use IFERROR function like this

    =IFERROR(MATCH(F2,A:A,0),"")
    Audere est facere

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Match formula brings #N/A result. How to change to blank cell?

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Contributor
    Join Date
    10-23-2004
    Location
    Los Angeles
    MS-Off Ver
    2010
    Posts
    253

    Re: Match formula brings #N/A result. How to change to blank cell?

    Thanks. That was exactly what I was looking for.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Match formula brings #N/A result. How to change to blank cell?

    You're welcome.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Match formula brings #N/A result. How to change to blank cell?

    Thanks for the rep. Guess you've been on the board for a long, long time!

+ 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. Leave cell result blank if blank cell is in formula
    By Grind in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 09-28-2013, 06:15 AM
  2. index match, ..... skip result if blank value ...... jump to next match
    By gehawk in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-08-2013, 04:42 AM
  3. Replies: 2
    Last Post: 06-11-2012, 07:30 PM
  4. [SOLVED] Cell containing text brings value of another cell otherwise blank
    By dwpcpa in forum Excel General
    Replies: 3
    Last Post: 04-02-2012, 12:49 PM
  5. Formula that brings data to new tab if cell not 0/blank
    By Gambinus in forum Excel General
    Replies: 3
    Last Post: 06-25-2010, 09:35 PM

Tags for this Thread

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