Results 1 to 3 of 3

Thread: Excel Nested IF 3 Condition Formula

  1. #1
    Junior Member
    Join Date
    Feb 2012
    Posts
    1
    Rep Power
    0

    Excel Nested IF 3 Condition Formula

    Hello everyone,

    i have 3 conditions FOR THE RESULT IN CELL V2 :

    1. IF P2=1 THEN V2 =0
    2. IF E2=1 THEN V2 =18+S2+T2
    3. IF Q2=1;P2=0 THEN V2 =S2+T2 ELSE V2 =R2+S2+T2



    I want to nest the 3 conditions, can you please help for resolve this?

    Thanks a lot

  2. #2
    Administrator Admin's Avatar
    Join Date
    Mar 2011
    Posts
    1,123
    Rep Power
    10
    Hi yomgi,

    Welcome to ExcelFox !!

    Try

    =IF(P2=1,0,IF(E2=1,18+S2+T2,IF(AND(Q2=1,P2=0),S2+T 2,R2+S2+T2)))
    Cheers !

    Excel Range to BBCode Table
    Use Social Networking Tools If You Like the Answers !

    Message to Cross Posters

    @ Home - Office 2010/2013/2016 on Win 10 (64 bit); @ Work - Office 2016 on Win 10 (64 bit)

  3. #3
    Forum Guru Rick Rothstein's Avatar
    Join Date
    Feb 2012
    Posts
    662
    Rep Power
    13
    Quote Originally Posted by Admin View Post
    Try

    =IF(P2=1,0,IF(E2=1,18+S2+T2,IF(AND(Q2=1,P2=0),S2+T 2,R2+S2+T2)))
    A little shorter...

    =IF(P2=1,0,S2+T2+IF(E2=1,18,IF(AND(Q2=1,P2=0),0,R2 )))

Similar Threads

  1. Nested If Formula With Multiple Conditions
    By lprc in forum Excel Help
    Replies: 10
    Last Post: 04-22-2013, 07:27 PM
  2. Nested Search Function Excel Formula
    By trankim in forum Excel Help
    Replies: 6
    Last Post: 10-29-2012, 10:29 PM
  3. Formula Based On Condition
    By Aryan063007 in forum Excel Help
    Replies: 4
    Last Post: 10-09-2012, 10:37 AM
  4. Replies: 11
    Last Post: 10-07-2012, 12:05 AM
  5. Excel Nested IF Function With 3 Conditions
    By patsir in forum Excel Help
    Replies: 3
    Last Post: 08-25-2012, 07:15 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •