+ Reply to Thread
Results 1 to 3 of 3

Multiple Condition If statement

  1. #1
    Registered User
    Join Date
    08-14-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Multiple Condition If statement

    I have 3 If conditions that works fine separately but would like to combine them into the one statement.

    =IF(K18>=K13,"Primary",IF(K18>=K12,"Secondary",IF(K18>=K11,"Highschool","Nil")))
    =IF(L18>=L13,"Primary",IF(L18>=L12,"Secondary",IF(L18>=L11,"Highschool","Nil")))
    =IF(M18>=M13,"Primary",IF(M18>=M12,"Secondary",IF(M18>=M11,"Highschool","Nil")))

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Multiple Condition If statement

    Hi,

    Try this formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This uses the OR function to give you, say, "Primary" if any of the conditions in your 3 formulas are true. If you need them all to be true, then replace each instance of OR with AND.

    Let me know if you need some more assistance

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Multiple Condition If statement

    Those 3 formulas test 3 different pairs of cells.
    How would you like the formulas combined? What are the new rules?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

+ 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] 23 condition IF statement possible?
    By fayjohn123 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 05-23-2013, 04:43 PM
  2. Multiple condition IF statement`
    By floricita in forum Excel General
    Replies: 2
    Last Post: 10-13-2011, 05:41 AM
  3. condition:IF statement
    By MAHMUZ in forum Excel General
    Replies: 4
    Last Post: 10-08-2010, 02:46 PM
  4. Replies: 6
    Last Post: 05-06-2010, 10:06 PM
  5. auto populate a cell using IF statement with multiple condition
    By njoymirror in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 01-30-2009, 03:21 PM

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