summing a row, remove lowest values from the total

R

randy chapman

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

Max

randy chapman said:
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)))

---
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top