Skip to main content

Sum smallest or bottom N values in Excel

In Excel, it is easy for us to sum a range of cells by using the SUM function. Sometimes, you may need to sum the smallest or bottom 3, 5 or n numbers in a data range as below screenshot shown. In this case, the SUMPRODUCT together with the SMALL function can help you to solve this problem in Excel.


Sum smallest or bottom N values with SUMPRODUCT and SMALL functions

To sum the smallest n number in a data range, you can find the smallest n numbers by using the SMALL function, and then apply the SUMPRODUCT function to sum the array list directly, the generic syntax is:

=SUMPRODUCT(SMALL(range,{1,2,…,N}))
  • range: The range of cells contains the numbers to be summed;
  • N: Represents the Nth bottom value.

Here, I will sum the lowest 4 numbers in the range B2:B12, please enter or copy the below formula into a blank cell, and press Enter key to get the result:

=SUMPRODUCT(SMALL(B2:B12,{1,2,3,4}))


Explanation of the formula:

=SUMPRODUCT(SMALL(B2:B12,{1,2,3,4}))

  • SMALL(B2:B12,{1,2,3,4}):This SMALL function is used to return the 1st, 2nd, 3rd and 4th smallest values in the range B2:B12, you will get the array like this: {200,230,345,560}.
  • SUMPRODUCT(SMALL(B2:B12,{1,2,3,4}))=SUMPRODUCT({200,230,345,560}): The SUMPRODUCT function sums all numbers in the array list to get the result:1335.

Tips: Solution when N becomes large:

Sometimes, you may have a large list of numbers, to sum the smallest 50 or more number in the range, it will be tedious to enter the number 1,2,3,4…50 into the SMALL function. So, here, you can use the ROW and INDIRECT functions for creating the array constant.

For example, to sum the lowest 10 values in a range, please apply the below formulas:

Manual input a number:

=SUMPRODUCT(SMALL(B2:B15,ROW(INDIRECT("1:10"))))

Use a cell reference:

=SUMPRODUCT(SMALL(B2:B15,ROW(INDIRECT("1:"&D2))))


Relative function used:

  • SUMPRODUCT:
  • The SUMPRODUCT function can be used to multiply two or more columns or arrays together, and then get the sum of products.
  • SMALL:
  • The Excel SMALL function returns a numeric value based on its position in a list when sorted by value in ascending order.

More articles:

  • Sum Smallest Or Bottom N Values Based On Criteria
  • In previous tutorial, we have discussed how to sum the smallest n values in a data range. In this article, we will perform a further advanced operation – to sum the lowest n values based on one or more criteria in Excel.
  • Subtotal Invoice Amounts By Age In Excel
  • To sum the invoice amounts based on age as below screenshot shown may be a common task in Excel, this tutorial will show how to subtotal invoice amounts by age with a normal SUMIF function.
  • Sum All Number Cells Ignoring Errors
  • When summing a range of numbers which contain some error values, the normal SUM function will not work correctly. To sum only numbers and skip the error values, the AGGREGATE function or the SUM along with the IFERROR functions can do you a favor.

The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ...
Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup...
Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List...
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

Description


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations