Please enable JavaScript to view the comments powered by Disqus.


SUMPRODUCT(...SMALL(...(...B4:B15),ROW(...INDIRECT(..."A1:A"&B17))))

How to sum bottom n values in Excel.

The formula first creates a number series till n-values and that is feed to small to get the n-smallest values, Then the values are summed by SUMPRODUCT function.


Used Functions

Category: Math and trigonometry

Returns the sum of the products of corresponding array components

Syntax

SUMPRODUCT(array1, [array2], [array3], ...)

Category: Statistical

Returns the k-th smallest value in a data set

Syntax

SMALL(array, k)

Category: Lookup and reference

Returns the row number of a reference

Syntax

ROW([reference])

Category: Lookup and reference

Returns a reference indicated by a text value

Syntax

INDIRECT(ref_text, [a1])

Lets chat on this