## Excel Office

Excel How Tos, Tutorials, Tips & Tricks, Shortcuts

# Tag: LARGE function

## LARGE function: Description, Usage, Syntax, Examples and Explanation

What is LARGE function in Excel? LARGE function is one of Statistical functions in Microsoft Excel that 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 of LARGE function LARGE(array, k) The…

## Highlight top values in Excel

This tutorial shows how to Highlight top values in Excel using the example below; Formula =A1>=LARGE(data,N) Explanation To highlight the highest values in a set of data with conditional formatting, you can use a formula based on the LARGE function. In the example shown, the formula used for conditional formatting is: =B4>=LARGE(data,input) Note: Excel contain a conditional formatting “preset” that highlights…

## Get last match in Excel

This tutorial shows how to Get last match in Excel using the example below; Formula {=MAX(IF(criteria,ROW(rng)-MIN(ROW(rng))+1))} Explanation To get the position of the last match (i.e. last occurrence) of a lookup value, you can use an array formula based on the IF, ROW, INDEX, MATCH, and MAX functions. In the example shown, the formula in H6 is: {=MAX(IF(names=H5,ROW(names)-ROW(INDEX(names,1,1))+1))} Where “names”…

## nth largest value with criteria in Excel

This tutorial shows how to calculate nth largest value with criteria in Excel using the example below; To get the 2nd largest value, 3rd largest value, 4th largest value, and so on, where each value matches supplied criteria, you can use an array formula that uses the LARGE and IF functions. Formula {=LARGE(IF(range=criteria,values),n)} Explanation In the example shown, the formula…

## nth largest value in Excel

This tutorial shows how to calculate nth largest value in Excel using the example below; Formula =LARGE(range,nth) Explanation To get the 2nd largest value, 3rd largest value, 4th largest value, and so on, from a set of data, you can use the LARGE function. In the example shown, the formula in J5 is: =LARGE(\$C5:\$G5,2) How this formula works The LARGE…

## Large with criteria in Excel

This tutorial shows how to calculate Large with criteria in Excel using the example below; Formula {=LARGE(IF(criteria,values),n)} Explanation To return the largest values in a set of data with criteria, you can use the a formula based on the LARGE and IF functions. In the example shown, the formula in F5 is: {=LARGE(IF(B5:B11=”B”,C5:C11),2)} Note: this is an array formula and…

## Average top 3 scores in Excel

This tutorial shows how to work  Average top 3 scores in Excel using the example below; Formula =AVERAGE(LARGE(range,{1,2,3})) Explanation To average the top 3 scores in a data set, you can use a formula based on the LARGE function. In the example shown, the formula in G6 is: =AVERAGE(LARGE(B6:F6,{1,2,3})) How this formula works The LARGE function can retrieve the top nth…

## Sum top n values in Excel

This tutorial shows how to Sum top n values in Excel using the example below; To sum the top values in a range, you can use a formula based on the LARGE function, wrapped inside the SUMPRODUCT function. Formula =SUMPRODUCT(LARGE(range,{1,2,N})) Explanation In the generic form of the formula (above), a range of cells that contain numeric values and N represents the idea of Nth…

## How To Use AGGREGATE function to sum a range with errors in Excel

Excel functions such as SUM, COUNT, LARGE and MAX don’t work if a range includes errors. However, you can easily use the AGGREGATE function to fix this. 1. For example, Excel returns an error if you use the SUM function to sum a range with errors. 2. Use the AGGREGATE function to sum a range with errors. Explanation: the first argument (9) tells…