+ Reply to Thread
Results 1 to 7 of 7

Multiple IF(AND) Statements

  1. #1
    Registered User
    Join Date
    05-07-2013
    Location
    Brookings, SD
    MS-Off Ver
    Excel 2013
    Posts
    3

    Multiple IF(AND) Statements

    I am attempting to calculate a commission based on the range that the number falls in between. I keep getting a #value error.

    C1= $15
    C2= $1,000,000
    C5= $0.00
    D5= .75%
    B6= $.01
    C6= $15.00
    D6= 2.00%
    B7= $15.01
    C7 = $50.00
    D7 = 2.50%
    B8= $50.01
    D8= 3.00%
    This is the formula that I have
    =IF(C1<=C5,C2*D5),IF(AND(C1>=B6,C6<=C1),C2*D6),IF(AND(C1>=B7,C1<=C7),D7*C2),IF(C1>=B8,D8*C2,0)
    Last edited by kevin_evan; 05-07-2013 at 03:21 PM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,622

    Re: Multiple IF(AND) Statements

    Hi
    it is not quite clear what you are trying to achieve
    Perhaps make and post a sheet with three columns : lower boundary, upper boundary and commission

  3. #3
    Forum Contributor
    Join Date
    12-14-2012
    Location
    Doha, State of Qatar
    MS-Off Ver
    excel 2003, 2007, 2010, 2016
    Posts
    124

    Re: Multiple IF(AND) Statements

    Do you want to add all this commisson values
    Regards,
    abdul

  4. #4
    Registered User
    Join Date
    05-07-2013
    Location
    Brookings, SD
    MS-Off Ver
    Excel 2013
    Posts
    3

    Re: Multiple IF(AND) Statements

    IF AND Calculation 5-7-13.xlsx Here is the spreadsheet. What I am trying to do is wherever the number C1 falls in the 4 different ranges, then I need to calculate the percentage based on that range. So in this case the result should be $1,000,000* 2.00%

  5. #5
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Multiple IF(AND) Statements

    See the attached file. Does this work?
    Attached Files Attached Files
    Please click the * icon below if I have helped.

  6. #6
    Forum Contributor
    Join Date
    12-14-2012
    Location
    Doha, State of Qatar
    MS-Off Ver
    excel 2003, 2007, 2010, 2016
    Posts
    124

    Re: Multiple IF(AND) Statements

    try this...!

    =IF(C1<=C5,C2*D5,IF(AND(C1>=B6,C6>=C1),C2*D6,IF(AND(C1>=B7,C1<=C7),D7*C2,D8*C2)))

  7. #7
    Registered User
    Join Date
    05-07-2013
    Location
    Brookings, SD
    MS-Off Ver
    Excel 2013
    Posts
    3

    Re: Multiple IF(AND) Statements

    Thank you both so much. They both work!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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