How to use MAX function in Excel?

The MAX function in Excel is used to find the largest number in a set of values. Here’s how you can use the MAX function:

   =MAX(number1, [number2], ...)
  • Basic Syntax:
    • `number1` is required and can be a number, cell reference, or a range of numbers.
    • `[number2]`, `…` are optional additional numbers or ranges.
  • Steps to Use MAX Function:
    • Click on the cell where you want the result to appear.
    • Type `=MAX(` to start the formula.
    • Select the range of cells you want to find the maximum value for. For example, if your numbers are in cells A1 through A10, you would type `=MAX(A1:A10)`.
    • Press `Enter`.
  • Example:

If you have numbers in cells B1 through B5, the formula `=MAX(B1:B5)` will return the largest number from those cells.

  • Handles Non-Continuous Ranges:

If your numbers are spread out in non-adjacent cells, you can include multiple arguments like this: `=MAX(A1, A3, A5, B2, B4)`.

  • Ignores Text and Empty Cells:

MAX only considers numeric values and ignores any text or blank cells in the specified range. This ensures that the function returns a numeric result.

  • Using with Other Functions:

You can use MAX in combination with other functions. For example, `=MAX(SUM(A1:A5), A10, B5)` will calculate the sum of the range A1:A5 and compare it with A10 and B5 to find the maximum value among them.

The MAX function is straightforward and very useful for quickly determining the highest number in a data set.

Unlock Your Potential

Excel

Basic - Advanced

Access

Access Basic - Advanced

Power BI

Power BI Basic - Advanced

Help us grow the project