ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Calculating averages (olympic style) (https://www.excelbanter.com/excel-worksheet-functions/127988-calculating-averages-olympic-style.html)

jatman

Calculating averages (olympic style)
 
good morning,

i have a worksheet and i need to calculate averages with a catch. i know
how to do basic averages and stuff. i need a formula to calculate the
following example:

data is in row 1. column a, b, c, d, e and f all have values entered in
them. i need the formula to drop the lowest value and give an average for
the remaining 5 only.

thank you,

jat jaswal


daddylonglegs

Calculating averages (olympic style)
 
You could try this formula

=(SUM(A1:F1)-MIN(A1:F1))/(COUNT(A1:F1)-1)

"jatman" wrote:

good morning,

i have a worksheet and i need to calculate averages with a catch. i know
how to do basic averages and stuff. i need a formula to calculate the
following example:

data is in row 1. column a, b, c, d, e and f all have values entered in
them. i need the formula to drop the lowest value and give an average for
the remaining 5 only.

thank you,

jat jaswal


Ron Coderre

Calculating averages (olympic style)
 
If there will ALWAYS be at least 5 numbers in A1:H1
Then....try this:
=AVERAGE(INDEX(LARGE(A1:F1,{1,2,3,4,5}),0))

Otherwise:
=SUM(A1:F1,-MIN(A1:F1)*(COUNT(A1:F1)5))/(MIN(COUNT(A1:F1),5))

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"jatman" wrote:

good morning,

i have a worksheet and i need to calculate averages with a catch. i know
how to do basic averages and stuff. i need a formula to calculate the
following example:

data is in row 1. column a, b, c, d, e and f all have values entered in
them. i need the formula to drop the lowest value and give an average for
the remaining 5 only.

thank you,

jat jaswal


Teethless mama

Calculating averages (olympic style)
 
=AVERAGE(IF(A1:F1<MIN(A1:F1),A1:F1))

ctrl+shift+enter, not just enter


"jatman" wrote:

good morning,

i have a worksheet and i need to calculate averages with a catch. i know
how to do basic averages and stuff. i need a formula to calculate the
following example:

data is in row 1. column a, b, c, d, e and f all have values entered in
them. i need the formula to drop the lowest value and give an average for
the remaining 5 only.

thank you,

jat jaswal


Bernd

Calculating averages (olympic style)
 
Hello,

Sorry, that does not work if min value appears more than once.

I suggest
=(SUM(A1:F1)-MIN(A1:F1))/4

Regards,
Bernd



All times are GMT +1. The time now is 09:48 PM.

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