ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   summing a row, remove lowest values from the total (https://www.excelbanter.com/excel-discussion-misc-queries/177256-summing-row-remove-lowest-values-total.html)

randy chapman

summing a row, remove lowest values from the total
 
Is there a way to remove the lowest 5 cell values from the sum of a row of 20
cells.

Gary''s Student

summing a row, remove lowest values from the total
 
=SUM(A1:T1)-SUM(SMALL(A1:T1,{1,2,3,4,5}))

--
Gary''s Student - gsnu200769

Max

summing a row, remove lowest values from the total
 
"randy chapman" wrote:
Is there a way to remove the lowest 5 cell values
from the sum of a row of 20 cells


Assume the 20 source cells are A1:A20
Try this in B1, press CTRL+SHIFT+ENTER to array-enter the formula (instead
of pressing ENTER):
=SUM(A1:A20)-SUM(SMALL(A1:A20,ROW(1:5)))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


All times are GMT +1. The time now is 04:44 PM.

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