Excel LARGE Function

The LARGE function returns the k-th largest value from a dataset. Learn how to find top values, combine with other functions, and avoid common errors.

ExcelExcel
Google SheetsGoogle Sheets
statistical
intermediate
Syntax Preview
ExcelExcelGoogle SheetsGoogle Sheets
=LARGE(array, k)
Understanding the LARGE Function
Syntax and Parameters

Practical Examples

Find the Largest Value (Top 1)

Extract the highest value from a sales dataset

Result: $78,500

Find Top 3 Values

Extract the three highest sales figures to identify top performers

Result: 1st: $78,500, 2nd: $72,100, 3rd: $67,300

Combine LARGE with INDEX-MATCH for Names

Find the name of the employee with the highest performance score

Result: Sarah Johnson

Dynamic Top N with Cell Reference

Create a flexible dashboard where users can specify how many top values to display

Result: Returns the Nth largest value where N is specified in cell E1

LARGE with FILTER for Conditional Ranking

Find top values from filtered dataset based on conditions

Result: $95,000

Multiple Top Values with SEQUENCE

Generate top 5 values automatically using dynamic arrays

Result: Spills top 5 values vertically

Common Errors and Solutions

#NUM!

NUM error occurs when k is invalid

Cause:

The k parameter is either less than 1, greater than the count of values in the array, or not a whole number. This often happens when k is calculated dynamically and produces an invalid result.

Solution:

1. Verify k value is between 1 and COUNT(array) 2. Check the k parameter is a positive integer 3. Ensure k does not exceed the number of values in array 4. Use COUNT(array) to verify available values 5. If k is calculated, validate the result is within bounds

Prevention:

Use MIN function to cap k: =LARGE(A1:A10, MIN(3, COUNT(A1:A10))). Add data validation for user inputs. Include error checking before LARGE.

Frequency: 45%

Example:

#VALUE!

VALUE error when array contains no numeric values

Cause:

The array contains only text, blank cells, or logical values but no numeric values. LARGE requires at least one numeric value to operate. This commonly occurs when referencing the wrong range or when text numbers (stored as text) exist.

Solution:

1. Check if COUNT(array) returns a value greater than 0 2. Look for apostrophes before numbers indicating text 3. Inspect cells for hidden characters or spaces 4. Convert text to numbers using VALUE or multiply by 1 5. Use Text-to-Columns with Number format to clean data

Prevention:

Use data validation to ensure numeric input. Pre-check with COUNT before using LARGE. Clean imported data before analysis. Use VALUE to convert text numbers.

Frequency: 30%

Example:

#REF!

Reference error from deleted cells or invalid range

Cause:

The array reference points to deleted cells, rows, or columns. This error also occurs if referencing cells in a closed workbook or protected worksheet without proper permissions.

Solution:

1. Check if referenced range still exists 2. Update formula to correct range reference 3. Use structured references (Tables) for automatic updates 4. Verify external workbook links are not broken 5. For external refs, ensure source workbook is accessible

Prevention:

Use Excel Tables with structured references: =LARGE(Table1[Sales], 1). Use named ranges that adjust automatically. Avoid absolute references when rows/columns might be deleted.

Frequency: 25%

Example:

Best Practices and Pro Tips

Use with Dynamic Arrays for Multiple Ranks

In Excel 365 and Google Sheets, combine LARGE with SEQUENCE to extract multiple top values in one formula. This is more elegant and maintainable than writing separate formulas for each rank. Single formula instead of multiple copies makes it easy to change the number of results.

Combine with SMALL for Complete Range Analysis

Use LARGE for top values and SMALL for bottom values to get comprehensive range analysis. This helps identify outliers on both ends of your dataset. Perfect for quality control, outlier detection, and data validation scenarios.

Performance Considerations for Large Datasets

LARGE function recalculates on every worksheet change. For datasets over 10,000 rows with multiple LARGE formulas, consider using helper columns with sorting or Power Query for better performance. Efficient for under 1,000 rows, acceptable for 1,000-10,000 rows, but may cause lag over 10,000 rows.

Create Dynamic Top N Lists with FILTER

Build sophisticated reports where users can filter data and see top N values from the filtered subset. This combines LARGE with FILTER for powerful data analysis. Perfect for department-specific top performers, region-filtered sales leaders, and time-period specific rankings.

Always Wrap in IFERROR for Production Workbooks

Protect your workbooks from breaking by wrapping LARGE in IFERROR. This is especially important for shared workbooks where users might modify data ranges. All user-facing formulas should include error handling to prevent #NUM! and #VALUE! errors from disrupting reports.

LARGE vs Alternative Functions
Frequently Asked Questions
Related Formulas and Next Steps

Need Help with Excel LARGE Function?

Stop struggling with formula syntax. Use AskFormulas to generate validated formulas instantly with our AI-powered tool.

Example Excel formula:

Related Formulas

INDEX Function Excel & Sheets

Master INDEX to retrieve values from specific positions in arrays. Learn array manipulation with practical examples and solutions.

intermediate
lookup
ExcelExcel
Google SheetsSheets
Validated
MATCH Function

Find value positions in Excel/Sheets with MATCH. Learn syntax, examples, errors, and combine with INDEX for powerful lookups.

intermediate
lookup
ExcelExcel
Google SheetsSheets
Validated
MAX Function - Excel & Sheets

Master the MAX function to find the largest value in your data. Learn syntax, examples, error handling, and best practices for Excel and Google Sheets.

beginner
math
ExcelExcel
Google SheetsSheets
Validated
RANK Function in Excel

The RANK function returns the rank of a number within a list. Learn to rank data in ascending or descending order with examples.

beginner
statistical
ExcelExcel
Google SheetsSheets
Validated