# Cap percentage at specific amount

=MIN(A1*percent,1000)

To cap the result of a percentage-based calculation at a a specific amount, you can use the MIN function. In the example shown, the formula in D6 is:

=MIN(C6*10%,1000)

which ensures the result will never be greater than $1000.

### How this formula works

This formula uses the MIN function to make a decision that might otherwise be handled with the IF function. Although MIN is usually used to return the minimum value in a data set with many numbers, it also works fine for "lesser of the two" situations.

Inside MIN, the value in C6 is multiplied by10%, and the result appears at the first number given to MIN. The number 1000 is supplied as the second value. The MIN function simply returns the smaller of the two values:

- When C6*10% is < 1000, the result is C6*10%
- When C6*10% is > 1000, the result is 1000
- When C6*10% is = 1000, the result is 1000

### Replacement for IF

To return the smaller or greater of two values, MIN and MAX can be a clever way to avoid a more complicated IF formula.

## Excel Formula Training

Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.