Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Smith
 
Posts: n/a
Default Need some help on a formula please

Cells K5 through K12 have 8 game scores. Best 6 scores are counted. I'm
trying to remove the two worst scores and do an average on the remaining
six, and keep coming up with error messages.

Last formula I tried that didn't work was
=AVERAGE(K5:K12)-SUM(SMALL(K5:K12,{1,2}))

Any help that you can provide is greatly appreciated :)

TIA,

Bob


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default Need some help on a formula please

Hi!

This assumes that there will be at least 6 scores and the "best" scores are
the highest scores:

=AVERAGE(LARGE(K5:K12,{1,2,3,4,5,6}))

Biff

"Bob Smith" wrote in message
nk.net...
Cells K5 through K12 have 8 game scores. Best 6 scores are counted. I'm
trying to remove the two worst scores and do an average on the remaining
six, and keep coming up with error messages.

Last formula I tried that didn't work was
=AVERAGE(K5:K12)-SUM(SMALL(K5:K12,{1,2}))

Any help that you can provide is greatly appreciated :)

TIA,

Bob



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Need some help on a formula please

=AVERAGE(IF(K5:K12=LARGE(K5:K12,{1,2,3,4,5,6}),K5: K12))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Bob Smith" wrote in message
nk.net...
Cells K5 through K12 have 8 game scores. Best 6 scores are counted. I'm
trying to remove the two worst scores and do an average on the remaining
six, and keep coming up with error messages.

Last formula I tried that didn't work was
=AVERAGE(K5:K12)-SUM(SMALL(K5:K12,{1,2}))

Any help that you can provide is greatly appreciated :)

TIA,

Bob




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Need some help on a formula please

Mine was a bit of overkill as Biff showed. If there may be less than 6
values, use

=AVERAGE(LARGE(K5:K12,ROW(INDIRECT("1:"&MIN(6,COUN T(K5:K12))))))

still an array formula

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Bob Phillips" wrote in message
...
=AVERAGE(IF(K5:K12=LARGE(K5:K12,{1,2,3,4,5,6}),K5: K12))

which is an array formula, it should be committed with Ctrl-Shift-Enter,

not
just Enter.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Bob Smith" wrote in message
nk.net...
Cells K5 through K12 have 8 game scores. Best 6 scores are counted. I'm
trying to remove the two worst scores and do an average on the remaining
six, and keep coming up with error messages.

Last formula I tried that didn't work was
=AVERAGE(K5:K12)-SUM(SMALL(K5:K12,{1,2}))

Any help that you can provide is greatly appreciated :)

TIA,

Bob






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Smith
 
Posts: n/a
Default Need some help on a formula please

Thanks Biff, it worked very nicely. Thanks to Bob Phillips as well for his
input.

"Biff" wrote:

Hi!

This assumes that there will be at least 6 scores and the "best" scores are
the highest scores:

=AVERAGE(LARGE(K5:K12,{1,2,3,4,5,6}))

Biff

"Bob Smith" wrote in message
nk.net...
Cells K5 through K12 have 8 game scores. Best 6 scores are counted. I'm
trying to remove the two worst scores and do an average on the remaining
six, and keep coming up with error messages.

Last formula I tried that didn't work was
=AVERAGE(K5:K12)-SUM(SMALL(K5:K12,{1,2}))

Any help that you can provide is greatly appreciated :)

TIA,

Bob




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
2 Nesting questions Starchaser Excel Worksheet Functions 7 January 20th 06 06:53 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"