+ Reply to Thread
Results 1 to 6 of 6

If two cells same , true , otherwise blank

  1. #1
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    If two cells same , true , otherwise blank

    If suppose I have numeric 30 on cell A and cell B

    What is the formula on c1 to write true otherwise leave blank

    I am using =exact(a1,b1) but it writes false that I don't need
    Last edited by makinmomb; 06-09-2014 at 12:23 PM. Reason: cell reference

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: If two cells same , true , otherwise blank

    That works for me if both A1 and B1 = 30

    If it's returning false for you, then the 2 cells are NOT the same.
    Check for any decimal value on the cells (format both cells to show several decimals)
    Last edited by Jonmo1; 06-09-2014 at 12:34 PM.

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: If two cells same , true , otherwise blank

    I think I misunderstood the post...

    To make it only show TRUE or Blank, try

    =IF(EXACT(A1,B1),True,"")

  4. #4
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: If two cells same , true , otherwise blank

    Yes that is what I need , thanks

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: If two cells same , true , otherwise blank

    You're welcome..

    FYI, for comparing Numbers, EXACT is not required (like hitting a nail with a sledgehammer)
    A simple A1=B1 works perfectly.

    =IF(A1=B1,TRUE,"")


    Exact is meant for comparing Text Strings where the comparison needs to be case sensitive
    A1: Jon
    B1: jon
    =A1=B1 = True
    =EXACT(A1,B1) = False

  6. #6
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: If two cells same , true , otherwise blank

    added thanks I will take your advice
    before someone laughs at me

+ 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. Replies: 3
    Last Post: 04-09-2012, 02:53 PM
  2. Making two cells blank if only one value is true
    By benjamings in forum Excel General
    Replies: 8
    Last Post: 08-11-2010, 11:48 AM
  3. if value is not true, leave blank
    By surfengine in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-08-2010, 07:01 PM
  4. Is it possible to insert a TRUE blank into a cell?
    By EricLindros in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 03-13-2010, 01:05 AM
  5. True/False on whether a cell is blank or not
    By krayziez in forum Excel General
    Replies: 1
    Last Post: 06-06-2008, 02:36 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