+ Reply to Thread
Results 1 to 8 of 8

IF function with multiple conditions....

  1. #1
    Registered User
    Join Date
    01-04-2010
    Location
    Amsterdam, Netherland
    MS-Off Ver
    Excel 2003
    Posts
    44

    IF function with multiple conditions....

    Hello Excel users.

    I’d like to use an If function but for multiple conditions

    Example

    If (month (a1) = ( 3 ; 6 ; 9 ; 12); value if true; value if not true).

    The idea is to pick a precise value if the month is 3 , 6 , 9 , 12 and another value ( a kind of estimation) for the rest of the months.
    Last edited by Sokol; 09-03-2013 at 04:02 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: IF function with multiple conditions....

    Please try this.

    =IF(OR(MONTH(A1)={3,6,9,12}),"True value","False value")
    Please click 'Add reputation', if my answer helped you.

  3. #3
    Forum Contributor
    Join Date
    08-02-2013
    Location
    Wageningen, The Netherlands
    MS-Off Ver
    365
    Posts
    495

    Re: IF function with multiple conditions....

    =IF(OR(A1=3;A1=6;A1=9;A1=12);true;false)

    =ALS(OF( enz enz
    When I say semicolon, u say comma!

  4. #4
    Registered User
    Join Date
    01-04-2010
    Location
    Amsterdam, Netherland
    MS-Off Ver
    Excel 2003
    Posts
    44

    Re: IF function with multiple conditions....

    Thank you guys... Problem solved.

  5. #5
    Forum Contributor
    Join Date
    08-02-2013
    Location
    Wageningen, The Netherlands
    MS-Off Ver
    365
    Posts
    495

    Re: IF function with multiple conditions....

    Please mark the thread as solved (above first post) and consider adding reputation to those who helped you (lower left corner of a post)

  6. #6
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: IF function with multiple conditions....

    Another way..

    =IF(MOD(MONTH(A1),3)=0,"true value","false value")
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  7. #7
    Registered User
    Join Date
    01-04-2010
    Location
    Amsterdam, Netherland
    MS-Off Ver
    Excel 2003
    Posts
    44

    Re: IF function with multiple conditions....

    Sorry , but how can I mark it as a "solved " ???

  8. #8
    Registered User
    Join Date
    01-04-2010
    Location
    Amsterdam, Netherland
    MS-Off Ver
    Excel 2003
    Posts
    44

    Re: IF function with multiple conditions....

    Oh.. Found it.;..
    Thank you.

+ 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. If Then function with Multiple conditions
    By DaBrot791 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-07-2012, 04:28 AM
  2. Excel 2007 : If Function With Multiple Conditions
    By AaronNeutron in forum Excel General
    Replies: 2
    Last Post: 02-21-2012, 03:52 AM
  3. multiple conditions on an If function.
    By hedgefund in forum Excel General
    Replies: 1
    Last Post: 04-21-2010, 09:42 PM
  4. IF Function - Multiple Conditions
    By jdavidson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-11-2007, 12:10 PM
  5. Looking for a function for multiple conditions
    By MrSales in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-16-2007, 03:27 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