ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I sum the lowest n numbers in an array with n variable? (https://www.excelbanter.com/excel-discussion-misc-queries/136968-how-do-i-sum-lowest-n-numbers-array-n-variable.html)

remahte

How do I sum the lowest n numbers in an array with n variable?
 


Tushar Mehta

How do I sum the lowest n numbers in an array with n variable?
 
In article ,
says...


Suppose your data are in A1:A3 and 'n' is in D1. Then use the array formula
=SUM(SMALL(A1:A3,ROW(INDIRECT("1:"&D1))))

If you have a follow up question please use the body of the post for it and
not just the subject line.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions


All times are GMT +1. The time now is 08:57 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com