How to limit formula result to maximum or minimum value in Excel?
Here are some cells needed to be entered, and now I want to use a formula to sum up the cells but limit the result to a maximum value such as 100. In other words, if the summation is smaller than 100, display the summation, otherwise display 100.
Limit formula result to a maximum or minimum value
Limit formula result to a maximum or minimum value
To handle this task, you only need to apply the Max or Min function in Excel.
Limit formula result to maximum value (100)
Select a cell which you will place the formula at, type this formula =MIN(100,(SUM(A5:A10))), A5:A10 is the cell range you will sum up, and press Enter. Now, if the summation is greater than 100, it will display 100, if not, display the summation.
Summation is greater than 100, show 100 |
![]() |
Summation is smaller than 100, show summation |
![]() |
Limit formula result to minimum value (20)
Select a cell which you place the formula at, type this =MaX(20,(SUM(A5:A10))), A5:A10 is the cell range you will sum up, and press Enter. Now, if the summation is smaller than 20, it will display 20; if not, display the summation.
Summation is smalller than 20, show 20 |
![]() |
Summation is greater than 20, show summation |
![]() |
Best Office Productivity Tools
Supercharge Your Spreadsheets: Experience Efficiency Like Never Before with Kutools for Excel
Kutools for Excel boasts over 300 features, ensuring that what you need is just a click away...
Supports Office/Excel 2007-2021 & newer, including 365 | Available in 44 languages | Enjoy a full-featured 30-day free trial.
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!



















