ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I sum 4 number discarding the largest number. (https://www.excelbanter.com/excel-worksheet-functions/8220-how-do-i-sum-4-number-discarding-largest-number.html)

SteveP

How do I sum 4 number discarding the largest number.
 
I am trying to sum 4 numbers discarding the largest number. If two or more
number equal the largest number, only want to discard one of them. What
function can I use and how would I set it up.

Gary T

Hi,

Assuming your numbers are in A1, A2, A3 and A4, the following will work:

=sum(A1:A4)-max(A1:A4)

Happy to Help,

Gary Thomson

"SteveP" wrote:

I am trying to sum 4 numbers discarding the largest number. If two or more
number equal the largest number, only want to discard one of them. What
function can I use and how would I set it up.


JE McGimpsey

Just another way:

=SUM(SMALL(A1:A4,{1,2,3}))

In article ,
SteveP wrote:

I am trying to sum 4 numbers discarding the largest number. If two or more
number equal the largest number, only want to discard one of them. What
function can I use and how would I set it up.


SteveP

Thanks, that worked perfectly if your in Jacksonville Fl next week your
invited to play in my golf tournament

"Gary T" wrote:

Hi,

Assuming your numbers are in A1, A2, A3 and A4, the following will work:

=sum(A1:A4)-max(A1:A4)

Happy to Help,

Gary Thomson

"SteveP" wrote:

I am trying to sum 4 numbers discarding the largest number. If two or more
number equal the largest number, only want to discard one of them. What
function can I use and how would I set it up.



All times are GMT +1. The time now is 07:40 AM.

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