Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Use the MAX Function in Excel

Learn how to use MAX Function in Excel, including its purpose, syntax, examples, and common errors, with clear step-by-step guidance.

Table of Contents

This guide explains how to use MAX Function in Excel, including its syntax, required arguments, practical examples, and common errors.

How to Use the MAX Function in Excel screenshot

Description: The function returns the largest value in a set of values.

Syntax: MAX (number1, [number2]. )

Inside:

- number1, [number2]. ) : The values that want to find the largest value, where number1 is the required parameter, other values are optional and contain up to 255 number parameters .

Attention:

- The value of the argument must be a number, name, array or reference containing numbers.

- Logical or text values when typing directly into the argument list -> these values are still counted.

- If the argument is a reference array containing text values or logic -> these values are ignored, but the value 0 is still counted.

- If the value of the argument is not a number -> the function returns the value 0.

- Arguments that are text or error values cannot be converted -> cause errors in the function.

- If you want to include the logical value and text in the function -> use the MAXA function .

For example:

Calculate the maximum value of the number values as described in the following data table:

How to Use the MAX Function in Excel screenshot 2

- In the cell to calculate enter the formula : = MAX (D6: D10)

How to Use the MAX Function in Excel screenshot 3

- Press Enter -> maximum value is:

How to Use the MAX Function in Excel screenshot 4

- Calculate the maximum value in the set of number values and 209 -> enter the formula: = MAX (D6: D10, 209) -> press Enter -> the largest value is:

How to Use the MAX Function in Excel screenshot 5

- Where the number values are not numbers -> the function returns the value 0

How to Use the MAX Function in Excel screenshot 6

Above are instructions and some specific examples when using the MAX function in Excel.

Good luck!

FAQ

What does the MAX function do in Excel?

The MAX function performs the calculation described in this guide. Use the correct arguments and compatible data types for reliable results.

How do I enter the MAX function correctly?

Start with an equals sign, enter MAX, add the required arguments inside parentheses, and confirm that cell references and separators are correct.

Why does the MAX function return an error?

Common causes include missing arguments, invalid data types, incorrect cell references, unsupported values, or regional separator settings.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.