FormulaCraft

How to sum the bottom N values in Excel and Google Sheets

Topic:SUM & aggregation
Excel & Google Sheets
=SUMPRODUCT(SMALL(B2:B6,{1,2,3}))

Verified example

Computed by a real spreadsheet engine on the sample data below.

ProductScore
A88
B72
C95
D65
E80

=SUMPRODUCT(SMALL(B2:B6,{1,2,3}))65

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Identify the range containing your values, e.g. B2:B6.
  2. 2Decide how many bottom values to sum (N). For N=3 enter =SUMPRODUCT(SMALL(B2:B6,{1,2,3})). The array constant {1,2,3} tells SMALL to return the 1st, 2nd, and 3rd smallest values.
  3. 3Press Enter. Adjust the array constant to match your desired N (e.g. {1,2,3,4,5} for N=5).

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

How do I sum the bottom N values excluding zeros?

Filter zeros first: =SUMPRODUCT(SMALL(IF(B2:B6>0,B2:B6,""),{1,2,3})) entered as a regular formula in Excel 365 / Sheets, or Ctrl+Shift+Enter in older Excel.

What is the difference between SMALL and MIN?

MIN returns only the single smallest value. SMALL(range, k) returns the k-th smallest, allowing you to retrieve multiple ranked values.

More on SUM & aggregation

See all →

Formulas used

Related tasks

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: