+ Reply to Thread
Results 1 to 5 of 5

Capping results

  1. #1
    Forum Contributor
    Join Date
    10-29-2004
    Posts
    291

    Capping results

    I have this formula

    =SUM(IF(SUM(F18)>40,SUM((SUM(F18)-40)*1.5)+40,(SUM(F18))))

    but if the results are 40 or higher I want it to just display 40.

    How do I do that?

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451
    Wrap your current formula in a MAX()

    =MAX(SUM(IF(SUM(F18)>40,SUM((SUM(F18)-40)*1.5)+40,(SUM(F18)))),40)

  3. #3
    Forum Contributor
    Join Date
    10-29-2004
    Posts
    291
    Thanks, I actually needed a minimum, not a max but you set me in the right direction! Thanks.

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451
    Oops! That's right.

    Glad to help by giving the opposite of what you wanted.

  5. #5
    RagDyer
    Guest

    Re: Capping results

    So ... what you're saying ... is that you *don't* want to do any
    calculations ... is that correct?

    =MIN(F18,40)

    --
    HTH,

    RD
    ==============================================
    Please keep all correspondence within the Group, so all may benefit!
    ==============================================


    "djarcadian" <[email protected]> wrote
    in message news:[email protected]...
    >
    > I have this formula
    >
    > =SUM(IF(SUM(F18)>40,SUM((SUM(F18)-40)*1.5)+40,(SUM(F18))))
    >
    > but if the results are 40 or higher I want it to just display 40.
    >
    > How do I do that?
    >
    >
    > --
    > djarcadian
    > ------------------------------------------------------------------------
    > djarcadian's Profile:

    http://www.excelforum.com/member.php...o&userid=15877
    > View this thread: http://www.excelforum.com/showthread...hreadid=498451
    >



+ 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