Trying to subtract the two lowest values from a row of numbers

J

JAIrvin

I'm trying to come up with a formula that will let me add all but the lowest
two values in a series (row) of numbers. I can add all but the lowest by
using the MIN function to find the lowest value (and then subtract it from
the sum of all the values), but I can't figure out how to find the second
lowest value.

Any help would be appreciated.
 
J

John C

Assuming your data is in J12:J16
=SUM(SUM(J12:J16),-SMALL(J12:J16,1),-SMALL(J12:J16,2))
 
R

Rick

Try this - {=sum(F1:F12)-SUM(SMALL(F1:F12,{1;2}))}

Obviously substitute the F1:F12 for your range. This needs to be entered as
an array by entering - Ctrl + Shft + Enter instead of just Enter once
completed.

To add more than just the 2 smallest you can add any number after 1;2 etc.

Good luck
Rick
 

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