+ Reply to Thread
Results 1 to 5 of 5

Changing EXACT funtion value from TRUE/FALSE to OK/NG

  1. #1
    Forum Contributor
    Join Date
    11-29-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    106

    Changing EXACT funtion value from TRUE/FALSE to OK/NG

    Hi,

    I'm using formula for EXACT function but I need it to return as "OK" & "NG" instead of TRUE/FALSE...

    ..newbie..

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

    Re: Changing EXACT funtion value from TRUE/FALSE to OK/NG

    welcome to the forum, namialus. you could use:
    =IF(EXACT(A1,B1),"OK","NG")

    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
    11-29-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    106

    Re: Changing EXACT funtion value from TRUE/FALSE to OK/NG

    hi benishiryo,

    Thank you for quick help ,
    just need to know one more thing. how can the function return value as
    "N/A" when no value entered in this 2 cells?


    Thank you again

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

    Re: Changing EXACT funtion value from TRUE/FALSE to OK/NG

    glad to help. if you need both cells filled, then:
    =IF(COUNTA(A1:B1)=0,"N/A",IF(EXACT(A1,B1),"OK","NG"))

    if just 1 cell, then:
    =IF(COUNTA(A1:B1)<2,"N/A",IF(EXACT(A1,B1),"OK","NG"))

  5. #5
    Forum Contributor
    Join Date
    11-29-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    106

    Re: Changing EXACT funtion value from TRUE/FALSE to OK/NG

    Thank you very much for your help benishiryo, glad to join this group :-)

+ 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. lookup exact match returns TRUE or FALSE
    By quade_1 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-05-2016, 02:21 AM
  2. [SOLVED] in this TRUE OR FALSE function, i want desired name instead of display true or false
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-15-2013, 06:44 PM
  3. Changing True/False Data depending on another cells value
    By mtrant in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-21-2008, 03:56 PM
  4. changing cell colour based on true/false
    By morbo in forum Excel General
    Replies: 4
    Last Post: 08-13-2008, 04:39 AM
  5. [SOLVED] Function to return True/False if all are validated as True by ISNU
    By Tetsuya Oguma in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-15-2006, 06:30 AM

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