+ Reply to Thread
Results 1 to 4 of 4

Set a Maximum value for "if" formula

Hybrid View

sabuviva Set a Maximum value for "if"... 08-29-2013, 05:18 AM
Pete_UK Re: Set a Maximum value for... 08-29-2013, 05:25 AM
wenqq3 Re: Set a Maximum value for... 08-29-2013, 05:25 AM
Roger Govier Re: Set a Maximum value for... 08-29-2013, 05:26 AM
  1. #1
    Registered User
    Join Date
    08-29-2013
    Location
    Amsterdam, the Netherlands
    MS-Off Ver
    Excel 2013
    Posts
    1

    Set a Maximum value for "if" formula

    Hi all,
    I am new to this and i have a question.

    does anyone know how i can set a maximum value for an "if" formula?
    I am calculating an accumulative rebate system. and my formula is as such,
    =IF(BY10>=10000,(BY10-10000)*$CB$6,0) --> read as, if BY10 greater than 10,000(in value), then we take BY10 - 10k * % of rebate.
    but this must be capped at 40k. because this rebate % is only for between 10k - 40k.
    how can i make a cap on this formula?

    thanks a lot for your help!

    S.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,411

    Re: Set a Maximum value for "if" formula

    Try this:

    =IF(BY10>=10000,MIN(40000,(BY10-10000)*$CB$6),0)

    Hope this helps.

    Pete

  3. #3
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Set a Maximum value for "if" formula

    =IF(BY10>=10000,Min(((BY10-10000)*$CB$6),40k),0)

    if min is 10k, then

    =IF(BY10>=10000,Max(10k,Min(((BY10-10000)*$CB$6),40k)),0)
    Last edited by wenqq3; 08-29-2013 at 05:28 AM.
    -If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".

    -Always upload a workbook before start your question
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

    +++ If my answer(s) helped you, please add me reputation by click on * +++

  4. #4
    Valued Forum Contributor
    Join Date
    07-17-2005
    Location
    Abergavenny, Wales, UK
    MS-Off Ver
    XL2003, XL2007, XL2010, XL2013, XL2016
    Posts
    608

    Re: Set a Maximum value for "if" formula

    Hi

    try
    =IF(BY10>=10000,(MIN(BY10,40000)-10000)*$CB$6,0)
    --
    Regards
    Roger Govier
    Microsoft Excel MVP

+ 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. [SOLVED] Formula needed to display "Pass" or "Fail" if a column contains any values other than "yes
    By andreindy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-26-2013, 05:49 PM
  2. Replies: 5
    Last Post: 10-12-2010, 06:46 AM
  3. Replies: 3
    Last Post: 08-28-2010, 09:31 AM
  4. Excel formula for "maximum value"
    By david33957 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-09-2008, 11:16 AM
  5. [SOLVED] If changed array formula reduce ""\""\""\ - signs to #Missing, will it make ...
    By Maria J-son in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2006, 08:25 AM

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