+ Reply to Thread
Results 1 to 4 of 4

If(OR) forumla doesnt work

  1. #1
    Registered User
    Join Date
    04-22-2019
    Location
    Singapore
    MS-Off Ver
    365
    Posts
    54

    If(OR) forumla doesnt work

    Hi All, could you assist me.

    1)
    BK190=$397,000.00
    BK193=$404,184.83
    BK200=$7,184.83
    BK202=$7,184.83

    =IF(OR(BK190>=BK193,BK200>=BK202), "SUFFICIENT","INSUFFICIENT")

    The results shows "INSUFFICIENT". It should be SUFFICIENT as bk200=bk202

    I have another case below which applies the same forumula and show correctly.

    2)
    BD190= $49,000.00
    BD193= $113,928.57
    BD200= $64,928.57
    BD202= $64,928.57

    =IF(OR(BD190>=BD193,BD200>=BD202), "SUFFICIENT","INSUFFICIENT")

    The results shows "SUFFICIENT" which is correct.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,791

    Re: If(OR) forumla doesnt work

    It might be that the .83 in BK202 is lightly larger than .83 but you have formatted the cell to show only 2 decimal places, or that BK200 is slightly less than .83 but the formatting show both being the same value. You can use the ROUND functions on all terms to ensure that you are comparing the same number of decimal places:

    =IF(OR(ROUND(BK190,2)>=ROUND(BK193,2),ROUND(BK200,2)>=ROUND(BK202,2)), "SUFFICIENT","INSUFFICIENT")

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    04-22-2019
    Location
    Singapore
    MS-Off Ver
    365
    Posts
    54

    Re: If(OR) forumla doesnt work

    Wow Pete! It works perfectly. Thank you very much. Sincerely appreciate it!

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,791

    Re: If(OR) forumla doesnt work

    Glad to help.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    You might also like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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. Macro which used to work, now doesnt -
    By Spyros13 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-25-2016, 02:08 PM
  2. Replies: 5
    Last Post: 01-27-2016, 11:59 AM
  3. [SOLVED] FilterIndex:=2 doesnt work ?
    By HerryMarkowitz in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-21-2014, 04:19 AM
  4. why doesnt this work
    By cybereyeball in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-02-2012, 10:10 AM
  5. If Else Statement doesnt work well...
    By xmux in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-25-2009, 08:58 AM
  6. [SOLVED] sum totaling doesnt work
    By Bedros in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  7. [SOLVED] TAB Key doesnt work.
    By Murat D. Hekimoðlu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-25-2005, 07:06 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