ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Drop High and Low before calculation (https://www.excelbanter.com/excel-discussion-misc-queries/70195-drop-high-low-before-calculation.html)

DTTODGG

Drop High and Low before calculation
 
Hello-

I need to take 5 numbers (each in separate cells) (they could be the same),
drop the highest and lowest and then add the remaining 3.

Can you help me?

5.5
4.5
4
3
5.5
=====
drop the 5.5 and 3
add the 4.5 + 3 + 5.5
total = 13

Thank you

Ragdyer

Drop High and Low before calculation
 
Try this:

=SUM(A1:A5,-MAX(A1:A5),-MIN(A1:A5))

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"DTTODGG" wrote in message
...
Hello-

I need to take 5 numbers (each in separate cells) (they could be the
same),
drop the highest and lowest and then add the remaining 3.

Can you help me?

5.5
4.5
4
3
5.5
=====
drop the 5.5 and 3
add the 4.5 + 3 + 5.5
total = 13

Thank you



Dana DeLouis

Drop High and Low before calculation
 
Another option might be:
=3*TRIMMEAN(A1:A5,2/5)

where you are dropping 2 of the 5 (ie 2/5)
--
HTH. :)
Dana DeLouis
Windows XP, Office 2003


"DTTODGG" wrote in message
...
Hello-

I need to take 5 numbers (each in separate cells) (they could be the
same),
drop the highest and lowest and then add the remaining 3.

Can you help me?

5.5
4.5
4
3
5.5
=====
drop the 5.5 and 3
add the 4.5 + 3 + 5.5
total = 13

Thank you




L. Howard Kittle

Drop High and Low before calculation
 
Another way that seems to do what you want.

=SUM(LARGE(A1:A5,{2,3,4}))

Returns 14 in your example. You give 13 as the correct sum, however you say
to drop the 5.5 and the 3 and then you added the 3 in your example.
Probably just a typo??

HTH
Regards,
Howard

"DTTODGG" wrote in message
...
Hello-

I need to take 5 numbers (each in separate cells) (they could be the
same),
drop the highest and lowest and then add the remaining 3.

Can you help me?

5.5
4.5
4
3
5.5
=====
drop the 5.5 and 3
add the 4.5 + 3 + 5.5
total = 13

Thank you




DTTODGG

Drop High and Low before calculation
 
OK - new twist,
now I have 7 scores and I need to drop the 2 highest and 2 lowest.
Can you help?




"L. Howard Kittle" wrote:

Another way that seems to do what you want.

=SUM(LARGE(A1:A5,{2,3,4}))

Returns 14 in your example. You give 13 as the correct sum, however you say
to drop the 5.5 and the 3 and then you added the 3 in your example.
Probably just a typo??

HTH
Regards,
Howard

"DTTODGG" wrote in message
...
Hello-

I need to take 5 numbers (each in separate cells) (they could be the
same),
drop the highest and lowest and then add the remaining 3.

Can you help me?

5.5
4.5
4
3
5.5
=====
drop the 5.5 and 3
add the 4.5 + 3 + 5.5
total = 13

Thank you





Peo Sjoblom

Drop High and Low before calculation
 
just adapt to what you already have

=SUM(LARGE(A1:A7,{3,4,5}))

--
Regards,

Peo Sjoblom

Portland, Oregon




"DTTODGG" wrote in message
...
OK - new twist,
now I have 7 scores and I need to drop the 2 highest and 2 lowest.
Can you help?




"L. Howard Kittle" wrote:

Another way that seems to do what you want.

=SUM(LARGE(A1:A5,{2,3,4}))

Returns 14 in your example. You give 13 as the correct sum, however you
say
to drop the 5.5 and the 3 and then you added the 3 in your example.
Probably just a typo??

HTH
Regards,
Howard

"DTTODGG" wrote in message
...
Hello-

I need to take 5 numbers (each in separate cells) (they could be the
same),
drop the highest and lowest and then add the remaining 3.

Can you help me?

5.5
4.5
4
3
5.5
=====
drop the 5.5 and 3
add the 4.5 + 3 + 5.5
total = 13

Thank you







All times are GMT +1. The time now is 12:10 AM.

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