+ Reply to Thread
Results 1 to 8 of 8

How to use multiple IF's

  1. #1
    Registered User
    Join Date
    05-24-2017
    Location
    Philippines
    MS-Off Ver
    2013
    Posts
    32

    How to use multiple IF's

    Not sure how to use the "if" command in multiple scenarios (if it even exist like countifs)


    In my table there are 2 results, there are criteria in which one scenario will have remarks of "passed"

    1) each of result shall not be below 90% of the base
    2) average should be at least equal to the value of the base

    so if it cannot meet the requirements it will have remarks of "failed"

    a sample of each scenario is shown in sample workbook.

    hoping for help.. Thanks a lot!
    Attached Files Attached Files

  2. #2
    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
    81,162

    Re: How to use multiple IF's

    Try this:

    =IF(AND(AVERAGE($C$6:$C$7)>=C5,COUNTIF($C$6:$C$7,">="&C5*0.9)),"PASSED","FAILED")
    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.

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: How to use multiple IF's

    C10=IF(OR(COUNTIF(C6:C7,"<"&C5*0.9),C8<C5),"FAILED","PASSED")
    Try this
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,406

    Re: How to use multiple IF's

    Withdrawn by FR.
    Last edited by FlameRetired; 08-22-2017 at 12:38 PM.
    Dave

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,406

    Re: How to use multiple IF's

    Interpreted differently and rearranged 'Remarks'.

    If you offset 'Remarks' data can be "future proofed".
    Formula: copy to clipboard
    Please Login or Register  to view this content.




    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    1
    2
    3
    scenario 1
    scenario 2
    scenario 3
    scenario 4
    4
    5
    base
    3000
    base
    3000
    base
    3000
    base
    3000
    6
    result 1
    3220
    result 1
    4500
    result 1
    3300
    result 1
    2600
    7
    result 2
    3000
    result 2
    2600
    result 2
    2700
    result 2
    2700
    8
    average
    3110
    average
    3550
    average
    3000
    average
    2650
    9
    10
    remarks
    Passed
    remarks
    Failed
    remarks
    Passed
    remarks
    Failed

  6. #6
    Registered User
    Join Date
    05-24-2017
    Location
    Philippines
    MS-Off Ver
    2013
    Posts
    32

    Re: How to use multiple IF's

    Formula by Aligw did not work for scenario 4 , nflsales & fr worked on all scenarios

    thank you very much!!!

  7. #7
    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
    81,162

    Re: How to use multiple IF's

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  8. #8
    Registered User
    Join Date
    05-24-2017
    Location
    Philippines
    MS-Off Ver
    2013
    Posts
    32

    Re: How to use multiple IF's

    Mind guys if I ask additional help/question??

    What if there is just 1 result for 1 Scenario? but it will still read as 2 results and the average will be equal to the result.. Pls refer scenario 5 6 7

    I was thinking of adding a new cell and hide it and put some formula in the hidden cell like :
    IF(value of Result 2 = n/a , then average= Result 1)
    Am confused how to construct it..

    Thanks a lott

    Ps. got it already thanks!
    Attached Files Attached Files
    Last edited by monskaye; 09-30-2017 at 07:51 AM.
    Newbie and still learning

+ 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] SUMPRODUCT of multiple columns with multiple criteria over multiple sheets
    By BellyGas in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-16-2015, 08:27 AM
  2. Replies: 2
    Last Post: 05-26-2015, 07:29 PM
  3. Multiple cells, multiple sheets, multiple criteria matching
    By Drudnits1 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-17-2014, 12:12 PM
  4. Replies: 20
    Last Post: 03-13-2013, 04:15 PM
  5. [SOLVED] Large spreadsheet; multiple scores on multiple dates for multiple students
    By MelindaCapri in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 11-16-2012, 06:03 PM
  6. Return Multiple Values with multiple rows & multiple columns
    By sachin parab in forum Excel General
    Replies: 2
    Last Post: 11-05-2012, 10:21 AM
  7. Replies: 5
    Last Post: 11-04-2010, 06:02 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