+ Reply to Thread
Results 1 to 7 of 7

Limit SUM Maximum

Hybrid View

  1. #1
    Registered User
    Join Date
    06-06-2010
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    8

    Limit SUM Maximum

    I have a simple addition =SUM(E5:F5) with total in E6

    If I wanted to CAP the total to say 150, as the maximum allowed, is there an easy way to do that?

    I'm saying even if the total was 156 or even 212 then the cell would read 150?

    Thanks for your help
    Last edited by gkkes; 06-16-2010 at 01:22 AM.

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Limit SUM Maximum

    Maybe

    =IF(SUM(E5:F5)>150,150,SUM(E5:F5))

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Limit SUM Maximum

    or

    =MAX(150,SUM(E5:F5))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Limit SUM Maximum

    or =max(150,sum(e5:f5))
    =min(150,sum(e5:f5))
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Limit SUM Maximum

    =min(150,sum(e5:f5))

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Limit SUM Maximum

    Yup, wrong way...

    Thanks both...

  7. #7
    Registered User
    Join Date
    06-06-2010
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Limit SUM Maximum

    Super

    Thank you all very much!

+ 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