+ Reply to Thread
Results 1 to 4 of 4

Change #N/A to another text automaticly

  1. #1
    Forum Contributor
    Join Date
    06-14-2013
    Location
    jk
    MS-Off Ver
    Excel 2007
    Posts
    326

    Change #N/A to another text automaticly

    Hi guys!

    I'm building a template and i don't like #N/A notifications lol.

    What i'm doing is a vlookup and the result should be #N/A, but instead of the error message i would like to see "Ok!" for example. And when the result isn't #N/A i'd like to see "Not ok!" for example.

    Is there an easy way to fix this?

    Thanks and regards!

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

    Re: Change #N/A to another text automaticly

    hi there. so you don't want the VLOOKUP results, but just "ok" or "not ok"? seems like you can make do with COUNTIF. but anyway, try:
    =IF(ISNA(Vlookup formula),"Not ok!","Ok!")

    COUNTIF would be:
    =IF(COUNTIF(A1:A10,B1),"Ok!","Not ok!")

    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

  3. #3
    Forum Contributor
    Join Date
    06-14-2013
    Location
    jk
    MS-Off Ver
    Excel 2007
    Posts
    326

    Re: Change #N/A to another text automaticly

    Thank you very much sir!

    But i just found the answer for the isna a couple of posts below mine lol!

    I still give you a *.

    Have a nice day.

  4. #4
    Forum Contributor
    Join Date
    06-14-2013
    Location
    jk
    MS-Off Ver
    Excel 2007
    Posts
    326

    Re: Change #N/A to another text automaticly

    Quote Originally Posted by benishiryo View Post
    hi there. so you don't want the VLOOKUP results, but just "ok" or "not ok"? seems like you can make do with COUNTIF. but anyway, try:
    =IF(ISNA(Vlookup formula),"Not ok!","Ok!")

    COUNTIF would be:
    =IF(COUNTIF(A1:A10,B1),"Ok!","Not ok!")
    benishiryo,

    Since you are a guru , i like to ask you if you would take a look at another topic i created but have no solution still, after many hours of experimenting...

    This is the link to the topic..

    http://www.excelforum.com/excel-prog...eccessary.html

+ 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