+ Reply to Thread
Results 1 to 5 of 5

Required help for IF formula

  1. #1
    Registered User
    Join Date
    03-11-2024
    Location
    Malaysia
    MS-Off Ver
    Microsoft 365
    Posts
    2

    Post Required help for IF formula

    Hello everyone,

    I'm stuck at solving this formula issue (and i don't know if i'm using the correct one). Thus, i'm reaching help from expert out there to help me.

    I have this condition that i should meet;
    .
    .. (OD1-OD2)<0.0005, (OD2-OD3)<0.0005, (OD3-OD4)<0.0005, (O4-OD5)<0.0005 (Only when all this condition meet, the result will show pass)

    The formula that i used is ;
    =IF(AND((OD1-OD2)<0.0005,(OD2-OD3)<0.0005,(OD3-OD4)<0.0005,(OD4-OD5)<0.0005),"Pass","Fail")

    But, i'm having problem since the formula will judge as Pass even one of the condition is negative. eg; -0.0005
    So i need help to alter my formula to judge as Fail if any condition got any negative less than 0.0005.

    OD.PNG

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Required help for IF formula

    It should amalgamate two conditions: >=0 AND <0.0005 for each pair, then sum them up. If the total equals 4, then display "Pass".

    Please Login or Register  to view this content.
    Quang PT

  3. #3
    Registered User
    Join Date
    03-11-2024
    Location
    Malaysia
    MS-Off Ver
    Microsoft 365
    Posts
    2

    Re: Required help for IF formula

    Hi bebo021999,
    May i know what are "4" referring too?
    Last edited by AliGW; 03-12-2024 at 02:29 AM. Reason: Please don't quote unnecessarily - use the Quick Reply button instead.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,962

    Re: Required help for IF formula

    Bebo explained that in his post:

    It should amalgamate two conditions: >=0 AND <0.0005 for each pair, then sum them up. If the total equals 4, then display "Pass".
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Required help for IF formula

    Quote Originally Posted by miss_syer View Post
    Hi bebo021999,
    May i know what are "4" referring too?
    You have 5 OD, which need to compare like this: OD1-OD2,OD2-OD3,OD3-OD4,OD4-OD5
    4 pairs, need TRUE, then sum = 4

+ 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] Formula Required to calculate the Volume Required to achieve the Target % Set
    By Yadavgiri in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-01-2021, 07:25 AM
  2. Formula Required to add on Numbers as required to other data
    By choccy_77 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-01-2020, 01:16 PM
  3. Replies: 8
    Last Post: 06-06-2018, 09:20 AM
  4. Replies: 3
    Last Post: 01-24-2017, 08:08 AM
  5. Replies: 6
    Last Post: 01-17-2016, 09:44 AM
  6. Multiple Vlookup Normal Formula (not array formula) or VBA Function Required
    By BoopathiK in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-17-2015, 03:06 AM
  7. Formula required to hide results from another cell formula
    By 917 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-07-2013, 12:12 AM

Tags for this Thread

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