MS Excel: Max Function
In Excel, the Max function returns the largest value from the numbers provided.
The syntax for the Max function is:
Max( number1, number2, ... number_n )
number1, number2, ... number_n are numeric values - they can be numbers, named ranges, arrays, or references to numbers. There can be up to 30 values entered.
Applies To:
- Excel 2007, Excel 2003, Excel XP, Excel 2000
For example:
Let's take a look at an example:

Based on the Excel spreadsheet above:
=Max(B2, B3) would return 10.5 =Max(B3, B5, 45) would return 45 =Max(B2:B6) would return 200