+ Reply to Thread
Results 1 to 8 of 8

my if formula not evaluating correctly

  1. #1
    Forum Contributor
    Join Date
    06-21-2009
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2007
    Posts
    200

    my if formula not evaluating correctly

    =IF(C4=C3,IF(D4=D3,"DUP",""))


    That formula’s not working for me. It’s displaying DUP (duplicate) for every single line. Basically if C4 = C3 is false, goes straight to Dup. Why would that be?

    Also how would I say what im trying to say, ie if C4=C3 & D4=D3 then Duplicate? I tried ‘&’ that's not working.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: my if formula not evaluating correctly

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,440

    Re: my if formula not evaluating correctly

    =IF(AND(C4=C3,D4=D3),"DUP","")


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Contributor
    Join Date
    06-21-2009
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2007
    Posts
    200

    Re: my if formula not evaluating correctly

    great thanks guys.

    can you tell me why my formula kept saying duplicate when it wasnt?

  5. #5
    Forum Contributor
    Join Date
    06-21-2009
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2007
    Posts
    200

    Re: my if formula not evaluating correctly

    Quote Originally Posted by TMShucks View Post
    =IF(AND(C4=C3,D4=D3),"DUP","")


    Regards, TMS

    actually thats not working somehow..

    the value of this cell, and all others, is indeed DUPE

    excel 3.png

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: my if formula not evaluating correctly

    Quote Originally Posted by zazzz View Post
    actually thats not working somehow..
    the value of this cell, and all others, is indeed DUPE
    I have one quick question.

    Whether the calculation is Automatic? If it is automatic whether the calculation process completed to 100% without any interruptions?

  7. #7
    Forum Contributor
    Join Date
    06-21-2009
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2007
    Posts
    200

    Re: my if formula not evaluating correctly

    Quote Originally Posted by :) Sixthsense :) View Post
    I have one quick question.

    Whether the calculation is Automatic? If it is automatic whether the calculation process completed to 100% without any interruptions?
    ohhh. it is indeed manual. i did set the manual option for some files i was working on a week ago, i didnt realize it carries over, thought that was just for the file i was working on. is that not the way it works?

    anyway, so how does that impact things in this case?

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: my if formula not evaluating correctly

    Quote Originally Posted by zazzz View Post
    ohhh. it is indeed manual. i did set the manual option for some files i was working on a week ago anyway, so how does that impact things in this case?
    Pressing F9 will calculate the Active WORKBOOK (Calculation Occurs For All Sheets in the workbook)
    pressing Shift+F9 will calculate the Active SHEET (Calculation Occur for Current Sheet Only).

+ 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