+ Reply to Thread
Results 1 to 4 of 4

IF Statement with AND function

  1. #1
    Registered User
    Join Date
    04-16-2013
    Location
    Pennsylvania, USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    IF Statement with AND function

    I have tracking workbook for calculating production bonus amounts. The following is the bonus breakdown.

    Less Than 4000 = 0
    4000 - 4999 = 40
    5000 - 5999 = 50
    6000 - 7999 = 60
    8000 - 11999 = 80
    >= 12000 = 120

    My attempt has been the following but is erroring out.

    =IF(AC2<4000,0,IF(AND(AC2>=4000,AC2<5000,40,IF(AND(AC2>=5000,AC2<6000,50,IF(AND(AC2>=6000,AC2<8000,60,IF(AND(AC2>=8000,AC2<12000,80,120)))))))))

    Thanks.

  2. #2
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: IF Statement with AND function

    =vlookup(ac2,{0,0;4000,40;5000,50;6000,60;8000,80;12000,120},2,true)
    Appreciate the help? CLICK *

  3. #3
    Registered User
    Join Date
    04-16-2013
    Location
    Pennsylvania, USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: IF Statement with AND function

    Thank you the vlookup worked perfect.

  4. #4
    Forum Contributor
    Join Date
    07-27-2012
    Location
    California, USA
    MS-Off Ver
    Excel 2003
    Posts
    198

    Re: IF Statement with AND function

    Here is one solution:
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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