LARGE

Statistical Functions
(4.8/5)

Returns the k-th largest value from a data set. LARGE finds the nth largest value when data is sorted in descending order. Use LARGE to find top values like 1st largest, 2nd largest, etc. Essential for finding top performers, identifying outliers, ranking analysis, and top-N analysis.

Interactive Formula Tester

=LARGE("10, 20, 30, 40, 50, 2")

Complete Theory & Understanding

Master the fundamentals of Excel LARGE function

Core Concept

The LARGE function returns the k-th largest value from a data set. LARGE sorts the data in descending order and returns the value at position k. k=1 returns the largest value (same as MAX), k=2 returns the 2nd largest, etc. LARGE ignores text values, logical values, and empty cells. If k is greater than the number of values or ≤ 0, LARGE returns #NUM!. Essential for finding top performers, identifying top values, ranking analysis, top-N analysis, and finding outliers or highest values.

Why Use LARGE?

  • Find top values or performers
  • Rank values from largest
  • Analyze top N values
  • Identify highest outliers

Key Characteristics

k-th Largest

Returns value at position k

LARGE(range, 1) = MAX(range)

Descending Sort

Values sorted descending

1 = largest, 2 = 2nd largest

Ignores Text

Only numeric values considered

LARGE ignores text and empty cells

Array Support

Can return multiple values

LARGE(range, {1,2,3})

Function Anatomy

=LARGE(parameters...)
Required
Parameters:

Function-specific parameters

Returns
Return Value:

Function-specific return type

Primary Use Cases

Top Performers

Find top values or performers

Ranking Analysis

Rank values from largest

Top-N Analysis

Analyze top N values

Outlier Detection

Identify highest outliers

Theory Summary

Precise

Exact matching required

Position-Based

Returns numeric position

Error-Safe

Handles missing text gracefully

Syntax & Parameters

=LARGE(array, k)
Required
array:

Array or range of data from which you want to find the k-th largest value.

Required
k:

Position from the largest value to return (1 = largest, 2 = 2nd largest, etc.).

Returns
Return Value:

The k-th largest value

Description: Returns the k-th largest value from a data set

Interactive Examples

Basic LARGE

Find largest value

"A1:A10, 1"
=LARGE(A1:A10, 1)
Largest value

Returns the largest value. LARGE(range, 1) is equivalent to MAX(range).

VBA Implementation & Automation

Basic LARGE in VBA

Use LARGE function in VBA

' Basic LARGE in VBA
Range("C1").Value = Application.WorksheetFunction.Large(Range("A1:A10"), 1)
' Returns: Largest value

' Find largest value
Sub FindLargest()
    Dim largeValue As Double
    largeValue = Application.WorksheetFunction.Large(Range("A1:A10"), 1)
    Range("B1").Value = largeValue
End Sub

' Find top 5 values
Sub FindTop5()
    Dim i As Integer
    Dim topValue As Double
    For i = 1 To 5
        topValue = Application.WorksheetFunction.Large(Range("A1:A100"), i)
        Range("B" & i).Value = topValue
    Next i
End Sub

' Compare LARGE with MAX
Sub CompareLargeMax()
    Dim largeValue As Double
    Dim maxValue As Double
    largeValue = Application.WorksheetFunction.Large(Range("A1:A10"), 1)
    maxValue = Application.WorksheetFunction.Max(Range("A1:A10"))
    Range("B1").Value = "LARGE(1): " & largeValue
    Range("B2").Value = "MAX: " & maxValue
    ' Should be equal
End Sub

' Find values in top percentile
Sub FindTopPercentile()
    Dim dataRange As Range
    Dim totalCount As Long
    Dim percentile As Double
    Dim topCount As Long
    Dim i As Long
    
    Set dataRange = Range("A1:A100")
    percentile = 0.1 ' Top 10%
    totalCount = Application.WorksheetFunction.Count(dataRange)
    topCount = Application.WorksheetFunction.RoundUp(totalCount * percentile, 0)
    
    ' Output top values
    Range("B1").Value = "Top " & (percentile * 100) & "%"
    For i = 1 To topCount
        Range("B" & (i + 1)).Value = Application.WorksheetFunction.Large(dataRange, i)
    Next i
End Sub

Business Applications

Top Performers

Find top values or performers

=LARGE(scores, 1)

Ranking Analysis

Rank values from largest

=LARGE(values, {1,2,3})

Top-N Analysis

Analyze top N values

=LARGE(data, 1) to LARGE(data, N)

Outlier Detection

Identify highest outliers

=LARGE(values, 1)

Common Issues & Solutions

#NUM! Error

LARGE returns #NUM!

Check: k must be 1 ≤ k ≤ COUNT(range)

Solution: This occurs when k is greater than the number of numeric values, or k ≤ 0. Ensure k is between 1 and the count of values. Use COUNT(range) to verify available values.

LARGE vs MAX

Uncertainty about when to use LARGE vs MAX

LARGE(range, 1) = MAX(range)

Solution: MAX finds largest only. LARGE(range, 1) equals MAX(range), but LARGE can find 2nd, 3rd, etc. Use MAX for largest only; use LARGE when you need k-th largest.

Text Values Ignored

Text values not considered

LARGE only works with numbers

Solution: This is expected. LARGE only considers numeric values. Text values are ignored. If you need to rank text, convert to numbers first or use a different approach.

Getting Top N Values

Need array of top N values

LARGE(range, {1,2,3}) returns top 3

Solution: Use array formula: LARGE(range, {1,2,3,...,N}). Enter as array formula or use in newer Excel with automatic array expansion.

Performance Tips & Best Practices

⚡ Performance Optimization

  • LARGE is fast - minimal performance impact
  • Use LARGE directly instead of sorting entire range
  • Avoid entire columns in large datasets
  • LARGE works efficiently in array formulas
  • Consider caching results if used repeatedly

🎯 Best Practices

  • LARGE(range, 1) = MAX(range)
  • k must be between 1 and count of values
  • LARGE ignores text and empty cells
  • Use array {1,2,3} for multiple values
  • Test with known data to verify
  • Combine with COUNT to validate k
  • Document k value meaning
  • Use for top-N analysis efficiently