Function Problems

Excel Formula to Sum the Five Largest of Six Numbers

Muhammad TalhaMuhammad Talha Nov 13, 2026 869 views

Question details

The user needs an Excel formula that calculates the sum of the five largest values from six noncontiguous cells, such as D7, D9, D11, D13, D15, and D17.

How to Sum the Five Largest of Six Numbers in Excel
Product
WPS Office Spreadsheet / Microsoft Excel
Device & OS
not provided
Scenario
The user is working with six values placed in noncontiguous cells and needs to total only the five highest values, excluding the smallest.
Observed behavior
The formula should return the sum of the five largest values from the six referenced cells.
Before you start

Open the workbook that contains the six values and confirm the cell references to include, such as D7, D9, D11, D13, D15, and D17.

Solution 1Recommended

Use SUM and LARGE with an Array Constant

Best for all Excel versions and WPS Office Spreadsheet; this formula extracts the five largest values from a noncontiguous range and sums them.

The LARGE function accepts a union of noncontiguous cells wrapped in parentheses. The array constant {1;2;3;4;5} tells LARGE to return the first through fifth largest values, and SUM adds them.

1
Select the result cell

Click the cell where you want the total to appear, for example E1.

2
Enter the LARGE formula

Type =SUM(LARGE((D7,D9,D11,D13,D15,D17),{1;2;3;4;5})) and press Enter.

3
Confirm the result

Check that the returned value is the sum of the five highest numbers from the six referenced cells.

Use SUM and LARGE with an Array Constant
Works in Excel and WPS Office: This formula does not require Excel 365 and works in WPS Office Spreadsheet.
Direct solution in WPS Office Spreadsheet

Sum the Five Largest of Six Numbers in WPS Office Spreadsheet

Open your workbook in WPS Office Spreadsheet and enter the LARGE-based formula in the result cell. WPS Office Spreadsheet is compatible with Excel formulas, so you can calculate the sum without changing files.

  1. 1. Download and install WPS Office: Visit the official WPS Office download page, download the installer, and open WPS Office Spreadsheet.
  2. 2. Open your workbook: Click Menu > Open and select the Excel workbook that contains the six noncontiguous cells.
  3. 3. Select the result cell: Click the cell where you want the total to appear.
  4. 4. Enter the formula: Type =SUM(LARGE((D7,D9,D11,D13,D15,D17),{1;2;3;4;5})) and press Enter.
  5. 5. Save your file: Click Menu > Save As to keep the result as .xlsx or save a copy in WPS format.
Supports Excel-compatible functions such as SUM, LARGE, LET, and array constants.Opens and saves .xlsx files without losing formulas or formatting.Free, lightweight, and easy-to-use spreadsheet interface.No Microsoft 365 subscription required for many Excel-style formulas.
microsoft office alternative - wps office

Frequently Asked Questions

Can I use this formula with noncontiguous cells that are not in the same column?

Yes. Replace the cell references inside the LARGE formula with your own cell references, separated by commas and wrapped in parentheses.

Why does the formula use {1;2;3;4;5}?

The array constant tells LARGE to return the 1st through 5th largest values. The semicolons create a vertical array; commas can also work depending on your regional settings.

Does this formula work in WPS Office Spreadsheet?

Yes. WPS Office Spreadsheet supports SUM and LARGE, so you can enter the formula exactly as shown.

Do I need Excel 365 for the LET alternative?

The LET formula requires Excel 365 or a version of WPS Office that supports LET. The SUM/LARGE formula works in older versions.