# Maximum value

=MAX(range)

To get the maximum value from a set of numbers, use the MAX function. In the example shown, the formula in cell I6, copied down, is:

=MAX(C6:G6)

The MAX function accepts one or more arguments, which can be a mix of constants, cell references, and ranges. MAX then returns the maximum value in the data provided. Text values and empty cells are ignored.

In this example, each student has five test scores in the same row, and the goal is to get the maximum score for each student. Data is supplied to MAX in a single range. The formula in I6 is:

=MAX(C6:G6)

As the formula is copied down the table, MAX returns the top score for each student. MAX is fully automatic. If any scores are changed, MAX will automatically recalculate to show the latest.

### Other options

To calculate a max value with conditions, see the MAXIFS function. To get the nth largest value in a set of data, see the LARGE function.

## 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.