Applies ToExcel for Microsoft 365 Excel for Microsoft 365 for Mac Excel for the web Excel 2024 Excel 2024 for Mac Excel 2021 Excel 2021 for Mac Excel 2019 Excel 2016

This article describes the formula syntax and usage of the LARGE function in Microsoft Excel.

Description

Returns the k-th largest value in a data set. You can use this function to select a value based on its relative standing. For example, you can use LARGE to return the highest, runner-up, or third-place score.

Syntax

LARGE(array, k)

The LARGE function syntax has the following arguments:

  • Array    Required. The array or range of data for which you want to determine the k-th largest value.

  • K    Required. The position (from the largest) in the array or cell range of data to return.

Remarks

  • If array is empty, LARGE returns the #NUM! error value.

  • If k ≤ 0 or if k is greater than the number of data points, LARGE returns the #NUM! error value.

If n is the number of data points in a range, then LARGE(array,1) returns the largest value, and LARGE(array,n) returns the smallest value.

Example

Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.

Data

Data

3

4

5

2

3

4

5

6

4

7

Formula

Description

Result

=LARGE(A2:B6,3)

3rd largest number in the numbers above

5

=LARGE(A2:B6,7)

7th largest number in the numbers above

4

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.