+ Reply to Thread
Results 1 to 5 of 5

IF, AND, OR, AND, AND... calculation??

  1. #1
    Registered User
    Join Date
    07-11-2010
    Location
    Auckland, New Zealand
    MS-Off Ver
    Excel 2007
    Posts
    16

    Red face IF, AND, OR, AND, AND... calculation??

    Hi, I'm trying to insert a function that will calculate the production bonus for my staff. There are several targets that must be met to get the bonus. Just to compound the difficulty the targets can change drop on what product we are running.

    I have entered this one so far, which looks at the 3 target numbers.

    =IF(AND(OR(I36=0,I36>180),OR(I68=0,I68>60),OR(I100=0,I100>3)),1,0)

    If there is no production, target=0, so target is met, and doesn't affect the other parts of the bonus.

    if we run Mulch, I36 can drop from >180 to >140. I enter 'Mulch' into I37.

    What do I need to include so that this formula looks up the product in I37 and takes this into account.

    Thanks

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: IF, AND, OR, AND, AND... calculation??

    I'd suggest posting a small sample file using the same cell references and outlining the various products and associated values.

    What you want to do should prove straight forward enough - however - I think we need to better understand

    a) the number of products you're looking to account for as this will have a direct impact on the approach you should adopt.

    b) whether all values I36, I60 & I100 relate to the same product or not (ie I37)

  3. #3
    Registered User
    Join Date
    07-11-2010
    Location
    Auckland, New Zealand
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: IF, AND, OR, AND, AND... calculation??

    Hi, I'm trying to attach a sample file, hopefully there is enough info on it (had to paste values), as there is lots of conditional formatting and links to other employee's pages.

    To try and answer the questions as well,

    I36 is either 180bags/hr or 140b/hr if we run mulch on the machine. This does not affect any of the other numbers.

    I68 is either 60b/hr or 40b/hr if we run boulders manually. This also does not affect any of the other numbers.

    the 'total' numbers are aggegated from the 10 employee sheets, I have included 'Colin' to show where and how the Data is entered.

    hopefully this helps a bit more.
    Attached Files Attached Files

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: IF, AND, OR, AND, AND... calculation??

    I'm guessing the formula is meant for I150 ?

    One possibility if I've interpreted correctly:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    07-11-2010
    Location
    Auckland, New Zealand
    MS-Off Ver
    Excel 2007
    Posts
    16

    Talking Re: IF, AND, OR, AND, AND... calculation??

    AWESOME, you are a scary LEGEND!! Thanks so much, this will cut down at least an hour of trying to scan through a cluttered Excel spreadsheet!!

+ 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