+ Reply to Thread
Results 1 to 10 of 10

Ridiculously simple formula to compare the values of two cells not working!!!

  1. #1
    Forum Contributor
    Join Date
    07-29-2013
    Location
    Oshawa
    MS-Off Ver
    Excel 2010
    Posts
    660

    Ridiculously simple formula to compare the values of two cells not working!!!

    Arg!

    Hey guys. All i'm trying to do is have cell J3 indicate "Match" or "No Match" between cells I2 and I3. I've tried:

    if(I2=I3,"Match","No Match") and EXACT(I2,I3) and I'm not getting consistently correct results. The formatting on the cells is identical, but the results are generated from various formulas.

    Help!

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Ridiculously simple formula to compare the values of two cells not working!!!

    Well, until we know precisely what's in each of those cells, including the formulas which generated them, we can't do much to help you!

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Contributor
    Join Date
    07-29-2013
    Location
    Oshawa
    MS-Off Ver
    Excel 2010
    Posts
    660

    Re: Ridiculously simple formula to compare the values of two cells not working!!!

    Hi XOR

    Okay:

    I2=(IF(ISERROR(F2/(F2+G2)),"N/A",F2/(F2+G2)))*100
    I3=(IF(ISNA(VLOOKUP(B1,'3 Sheet'!A:K,6,FALSE)),"N/A",VLOOKUP(B1,'3 Sheet'!A:K,6,FALSE)))

    Both cells have Number formatting

    Any ideas?

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Ridiculously simple formula to compare the values of two cells not working!!!

    And what are the results of those two formulas?

    Also, what do the following give:

    =ISNUMBER(I2)

    =ISNUMBER(I3)


    ?

    Regards

  5. #5
    Forum Contributor
    Join Date
    07-29-2013
    Location
    Oshawa
    MS-Off Ver
    Excel 2010
    Posts
    660

    Re: Ridiculously simple formula to compare the values of two cells not working!!!

    XOR

    The results are fractions which, when number formatting is added, give results to two decimal places.

    isnumber(i2)=True
    isnumber(i3)=True

  6. #6
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Ridiculously simple formula to compare the values of two cells not working!!!

    Could you share the actual values with me? And I mean the actual values, not simply what is displayed as a result of whatever formatting you have on those cells (change the formatting back to e.g. General to reveal this)?

    Regards

  7. #7
    Forum Contributor
    Join Date
    07-29-2013
    Location
    Oshawa
    MS-Off Ver
    Excel 2010
    Posts
    660

    Re: Ridiculously simple formula to compare the values of two cells not working!!!

    Sure, and thanks for your help thus far:

    As an example:

    I2=0.6666666667
    I3=66.67

    I figured its probably a formatting thing but i still can't get it to match

  8. #8
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Ridiculously simple formula to compare the values of two cells not working!!!

    Not sure I understand.

    The difference between those two values is approximately 60.

    Regards

  9. #9
    Forum Contributor
    Join Date
    07-29-2013
    Location
    Oshawa
    MS-Off Ver
    Excel 2010
    Posts
    660

    Re: Ridiculously simple formula to compare the values of two cells not working!!!

    XOR

    This is why i applied formatting to the two results. One one side the result comes out as a percentage, on the other the result is an implied percentage though without the actual percentage parts.

  10. #10
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Ridiculously simple formula to compare the values of two cells not working!!!

    Formatting doesn't change the values in cells it just changes the appearance....that can be deceiving.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. [SOLVED] Simple v look up formula is not working
    By ryan4646 in forum Excel General
    Replies: 11
    Last Post: 11-30-2013, 02:09 AM
  2. Creating a simple loop to compare values
    By marvelous1 in forum Excel General
    Replies: 1
    Last Post: 09-18-2009, 02:35 PM
  3. Working with simple multilined cells
    By Gordon@work in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-19-2008, 02:26 AM
  4. [SOLVED] Simple formula NOT working :(
    By Danny Lewis in forum Excel General
    Replies: 3
    Last Post: 08-01-2006, 05:40 AM
  5. Simple Formula not working?
    By GETGO in forum Excel General
    Replies: 2
    Last Post: 01-06-2005, 08:50 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