### MAX Function In Excel

This Excel Tutorial demonstrates how to use the Excel MAX Function in Excel to calculate the largest number, with formula examples.

## MAX Function Description:

The MAX Function Calculates the largest number.

## Formula Examples: Example Formula Result
1 =MAX(B5:B10) 6
1 Other Functions:
3 =MIN(B5:B10)
4 =MEDIAN(B5:B10)
5 =MODE(B5:B10)
6

## Syntax and Arguments:

The Syntax for the MAX Formula is:

### Function Arguments ( Inputs ):

array – An array of numbers.

The MIN Function returns the smallest number in a series.

## MAX Examples in VBA

You can also use the MAX function in VBA. Type:
`application.worksheetfunction.max(number1,number2)`
For the function arguments (array, etc.), you can either enter them directly into the function, or define variables to use instead.

## How to use the MAX Function in Excel:

To use the AND Excel Worksheet Function, type the following into a cell:
`=AND(`
After entering it in the cell, notice how the AND formula inputs appear below the cell: You will need to enter these inputs into the function. The function inputs are covered in more detail in the next section. However, if you ever need more help with the function, after typing “=MAX(” into a cell, without leaving the cell, use the shortcut CTRL + A (A for Arguments) to open the “Insert Function Dialog Box” for detailed instructions:  