+ Reply to Thread
Results 1 to 3 of 3

How to create a formula with multiple conditions and limits

  1. #1
    Registered User
    Join Date
    02-23-2015
    Location
    Ontario
    MS-Off Ver
    14
    Posts
    1

    How to create a formula with multiple conditions and limits

    Hey,
    So the question states: "... as Director of Operations, you are entitled to a bonus of 2% of any positive year-end
    balance to a maximum of $10,000 as long as the hotel’s balance is positive in all months."

    Essentially I need a formula that will multiply .02 by say (A1) whose product has a maximum limit of 10,000 given that the value of (A1) is greater than zero and that ALL the balances of 12 months are also positive.

    Naturally this is a pretty insane function and the internet has brought me no help so far.
    Thanks for any help you can give!

    Link: http://www.excelforum.com/excel-form...ml#post3997797
    Last edited by Alex_m; 02-23-2015 at 06:51 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Complicated formula

    Hi, welcome to trhe forum

    Naturally this is a pretty insane function
    Actually, not so, it involves the use of MIN and probably COUNTIF(), but Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem - not what you think the answer might be. (think google search terms?). Once you have done this please send me a PM and I will remove this request. (Also, include a link to your thread - copy from the address bar)

    Many members search our previous posts, and thread titles play a big part of the search. I doubt anybody would do a search based on your title?

    To change a Title on your post, click EDIT POST then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    Once changed PM me and I will give you the rest of what you want
    Last edited by FDibbins; 02-23-2015 at 06:41 PM.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: How to create a formula with multiple conditions and limits

    Thanks

    Try this...
    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    1
    Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
    2
    10000
    20000
    30000
    40000
    50000
    60000
    70000
    80000
    90000
    100000
    110000
    120000
    3
    4
    5
    10000


    A5=IF(COUNTIF(B2:M2,">0")=12,MIN(10000,SUM(B2:M2)*0.02),"")

    You didnt say which way your data went, so adjust as needed

+ 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. check a cell for a certain time and day of week
    By garyfahy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-16-2014, 07:39 AM
  2. Need help with a complicated If Formula
    By Chris602 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-23-2014, 04:14 PM
  3. Complicated Formula
    By Exxodus in forum Excel General
    Replies: 2
    Last Post: 06-01-2011, 09:04 AM
  4. Complicated IF Formula.
    By samprince in forum Excel General
    Replies: 5
    Last Post: 12-23-2006, 10:21 AM
  5. [SOLVED] Complicated Formula
    By Stephen in forum Excel General
    Replies: 12
    Last Post: 04-17-2005, 09:06 AM

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