+ Reply to Thread
Results 1 to 4 of 4

True/false

  1. #1
    Registered User
    Join Date
    06-23-2009
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2007
    Posts
    92

    True/false

    When comparing two cells, e.g. =J369=P407, to show if they are the same, the result is sometimes FALSE, even though the numbers look identical (displaying 2 decimals). I suspect that one of the numbers has a different 3rd decimal due to rounding.
    Is it possible to tell him to look only at the 2 displayed decimals when making the comparison, and disregard the other decimals?
    Last edited by peri1224; 01-02-2012 at 11:33 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,627

    Re: True/false

    Try: =ROUND(J369,2)=ROUND(P407,2)

  3. #3
    Registered User
    Join Date
    06-23-2009
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2007
    Posts
    92

    Re: True/false

    Thanks, works perfectly.
    Can't seem to find the Edit button to change the thread to Solved.
    Also how to give credit?

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: True/false

    Hi peri,

    another option could be to use Trunc function if you want to completely ignore the decimal part, see below:-

    =trunc(J369)=trunc(p407)

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

+ 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