#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 222
Default average cells

I have been appointed the golf handicap guru for a small group (30+) of
golfers. They have been keeping the handicaps by hand. I NEEDTO LINK 2
cells, C5 (date) & C6 (score) together. Keeping up to 20 scores in a row.
After the 21st score, the oldest needs to drop by date. NEED TO AVERAGE LOW
10 OF 20 SCORES. As new players join, there will be blank cells until they
reach 20 scores.

Row Date C5 D5 E5 F5 etc until W5 i.e. 01/12 01/19 02/02 02/09
etc, etc
Row Score C6 D6 E6 F6 etc until W6 i.e. 85 79 80
81 etc, etc

Would also like to sort row by date left (newest) to right (oldest).

Would anyone help a beginner with the correct formula?

Bob Morris


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default average cells

So.....

If you're adding the newest scores to the left how are you doing that? By
inserting a new column C each time?

The formula needed to do this is already somewhat "complicated" but having
to build it to accommodate column insertions makes it really complicated!

Biff

"robert morris" wrote in message
...
I have been appointed the golf handicap guru for a small group (30+) of
golfers. They have been keeping the handicaps by hand. I NEEDTO LINK 2
cells, C5 (date) & C6 (score) together. Keeping up to 20 scores in a row.
After the 21st score, the oldest needs to drop by date. NEED TO AVERAGE
LOW
10 OF 20 SCORES. As new players join, there will be blank cells until
they
reach 20 scores.

Row Date C5 D5 E5 F5 etc until W5 i.e. 01/12 01/19 02/02
02/09
etc, etc
Row Score C6 D6 E6 F6 etc until W6 i.e. 85 79 80
81 etc, etc

Would also like to sort row by date left (newest) to right (oldest).

Would anyone help a beginner with the correct formula?

Bob Morris




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 222
Default average cells

If I can "sort" the Row, or "linked" cells (Rows 5 & 6) I could delete the
oldest date visually from the last column on the right.

Thanks for your reply, Biff

Bob Morris

"T. Valko" wrote:

So.....

If you're adding the newest scores to the left how are you doing that? By
inserting a new column C each time?

The formula needed to do this is already somewhat "complicated" but having
to build it to accommodate column insertions makes it really complicated!

Biff

"robert morris" wrote in message
...
I have been appointed the golf handicap guru for a small group (30+) of
golfers. They have been keeping the handicaps by hand. I NEEDTO LINK 2
cells, C5 (date) & C6 (score) together. Keeping up to 20 scores in a row.
After the 21st score, the oldest needs to drop by date. NEED TO AVERAGE
LOW
10 OF 20 SCORES. As new players join, there will be blank cells until
they
reach 20 scores.

Row Date C5 D5 E5 F5 etc until W5 i.e. 01/12 01/19 02/02
02/09
etc, etc
Row Score C6 D6 E6 F6 etc until W6 i.e. 85 79 80
81 etc, etc

Would also like to sort row by date left (newest) to right (oldest).

Would anyone help a beginner with the correct formula?

Bob Morris





  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default average cells

Try this and see how you make out:

Entered as an array using the key combination of CTRL,SHIFT,ENTER (not just
ENTER):

=IF(COUNT($C6:$AH6)<20,"",AVERAGE(SMALL($C6:INDEX( $C6:$AH6,SMALL(IF($C6:$AH6,COLUMN($C6:$AH6)-MIN(COLUMN($C6:$AH6))+1),20)),ROW(INDIRECT("1:10") ))))

If there are less than 20 scores the formula will return a blank. It will
average the lowest 10 scores from the last 20 scores (last (newest) scores
entered from the left (sorted)).

Note: if a player misses a round it's best to leave that cell empty. Don't
enter a 0.

Biff

"robert morris" wrote in message
...
If I can "sort" the Row, or "linked" cells (Rows 5 & 6) I could delete
the
oldest date visually from the last column on the right.

Thanks for your reply, Biff

Bob Morris

"T. Valko" wrote:

So.....

If you're adding the newest scores to the left how are you doing that? By
inserting a new column C each time?

The formula needed to do this is already somewhat "complicated" but
having
to build it to accommodate column insertions makes it really complicated!

Biff

"robert morris" wrote in message
...
I have been appointed the golf handicap guru for a small group (30+) of
golfers. They have been keeping the handicaps by hand. I NEEDTO LINK 2
cells, C5 (date) & C6 (score) together. Keeping up to 20 scores in a
row.
After the 21st score, the oldest needs to drop by date. NEED TO
AVERAGE
LOW
10 OF 20 SCORES. As new players join, there will be blank cells until
they
reach 20 scores.

Row Date C5 D5 E5 F5 etc until W5 i.e. 01/12 01/19 02/02
02/09
etc, etc
Row Score C6 D6 E6 F6 etc until W6 i.e. 85 79
80
81 etc, etc

Would also like to sort row by date left (newest) to right (oldest).

Would anyone help a beginner with the correct formula?

Bob Morris







  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 222
Default average cells

Biff,

The formula works beautifully except for those who have less than 20 scores.
Any ideas on that one? Just curious, why ($C6:AH6) instead of (C6:V6)?
Also, I use Column A for the Names of players. How do I link A6 & A7
together for alphabetical sorting? A6 = Name, A7 = blank.

People helping people, it's a beautiful thing!!!

Thanks so much,

Bob Morris

"T. Valko" wrote:

Try this and see how you make out:

Entered as an array using the key combination of CTRL,SHIFT,ENTER (not just
ENTER):

=IF(COUNT($C6:$AH6)<20,"",AVERAGE(SMALL($C6:INDEX( $C6:$AH6,SMALL(IF($C6:$AH6,COLUMN($C6:$AH6)-MIN(COLUMN($C6:$AH6))+1),20)),ROW(INDIRECT("1:10") ))))

If there are less than 20 scores the formula will return a blank. It will
average the lowest 10 scores from the last 20 scores (last (newest) scores
entered from the left (sorted)).

Note: if a player misses a round it's best to leave that cell empty. Don't
enter a 0.

Biff

"robert morris" wrote in message
...
If I can "sort" the Row, or "linked" cells (Rows 5 & 6) I could delete
the
oldest date visually from the last column on the right.

Thanks for your reply, Biff

Bob Morris

"T. Valko" wrote:

So.....

If you're adding the newest scores to the left how are you doing that? By
inserting a new column C each time?

The formula needed to do this is already somewhat "complicated" but
having
to build it to accommodate column insertions makes it really complicated!

Biff

"robert morris" wrote in message
...
I have been appointed the golf handicap guru for a small group (30+) of
golfers. They have been keeping the handicaps by hand. I NEEDTO LINK 2
cells, C5 (date) & C6 (score) together. Keeping up to 20 scores in a
row.
After the 21st score, the oldest needs to drop by date. NEED TO
AVERAGE
LOW
10 OF 20 SCORES. As new players join, there will be blank cells until
they
reach 20 scores.

Row Date C5 D5 E5 F5 etc until W5 i.e. 01/12 01/19 02/02
02/09
etc, etc
Row Score C6 D6 E6 F6 etc until W6 i.e. 85 79
80
81 etc, etc

Would also like to sort row by date left (newest) to right (oldest).

Would anyone help a beginner with the correct formula?

Bob Morris










  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default average cells

The formula works beautifully except for those who have
less than 20 scores. Any ideas on that one?


I noted in my reply:

If there are less than 20 scores the formula will return a blank.


What do you want to happen if there are less than 20 scores?

why ($C6:AH6) instead of (C6:V6)?


AH6 was just an arbitrary end of range I used in my testing. Adjust it to
suit your layout.

How do I link A6 & A7 together for alphabetical sorting?


Not sure what you mean by that?

Biff

"robert morris" wrote in message
...
Biff,

The formula works beautifully except for those who have less than 20
scores.
Any ideas on that one? Just curious, why ($C6:AH6) instead of (C6:V6)?
Also, I use Column A for the Names of players. How do I link A6 & A7
together for alphabetical sorting? A6 = Name, A7 = blank.

People helping people, it's a beautiful thing!!!

Thanks so much,

Bob Morris

"T. Valko" wrote:

Try this and see how you make out:

Entered as an array using the key combination of CTRL,SHIFT,ENTER (not
just
ENTER):

=IF(COUNT($C6:$AH6)<20,"",AVERAGE(SMALL($C6:INDEX( $C6:$AH6,SMALL(IF($C6:$AH6,COLUMN($C6:$AH6)-MIN(COLUMN($C6:$AH6))+1),20)),ROW(INDIRECT("1:10") ))))

If there are less than 20 scores the formula will return a blank. It will
average the lowest 10 scores from the last 20 scores (last (newest)
scores
entered from the left (sorted)).

Note: if a player misses a round it's best to leave that cell empty.
Don't
enter a 0.

Biff

"robert morris" wrote in message
...
If I can "sort" the Row, or "linked" cells (Rows 5 & 6) I could delete
the
oldest date visually from the last column on the right.

Thanks for your reply, Biff

Bob Morris

"T. Valko" wrote:

So.....

If you're adding the newest scores to the left how are you doing that?
By
inserting a new column C each time?

The formula needed to do this is already somewhat "complicated" but
having
to build it to accommodate column insertions makes it really
complicated!

Biff

"robert morris" wrote in
message
...
I have been appointed the golf handicap guru for a small group (30+)
of
golfers. They have been keeping the handicaps by hand. I NEEDTO
LINK 2
cells, C5 (date) & C6 (score) together. Keeping up to 20 scores in
a
row.
After the 21st score, the oldest needs to drop by date. NEED TO
AVERAGE
LOW
10 OF 20 SCORES. As new players join, there will be blank cells
until
they
reach 20 scores.

Row Date C5 D5 E5 F5 etc until W5 i.e. 01/12 01/19
02/02
02/09
etc, etc
Row Score C6 D6 E6 F6 etc until W6 i.e. 85 79
80
81 etc, etc

Would also like to sort row by date left (newest) to right (oldest).

Would anyone help a beginner with the correct formula?

Bob Morris










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
from a group of cells.find average of cells containing values farm Excel Discussion (Misc queries) 1 December 21st 06 08:50 PM
Excel-only average cells if two cells in same row, meet two condit Eulie-Denver Excel Worksheet Functions 5 October 5th 06 11:15 PM
average cells, show 0 if nothing to average Kycajun Excel Discussion (Misc queries) 8 June 21st 06 07:36 PM
Average in Cells martins New Users to Excel 5 April 2nd 06 11:16 AM
average 2 cells (Mileage Divide by Gallons in two cells dip43 Excel Discussion (Misc queries) 1 March 31st 06 04:03 AM


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

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

About Us

"It's about Microsoft Excel"