A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

updating cell range depending on input value



 
 
Thread Tools Display Modes
  #1  
Old April 13th, 2010, 10:08 AM posted to microsoft.public.excel.worksheet.functions
handicapper
external usenet poster
 
Posts: 6
Default updating cell range depending on input value

I'm creating a spreadsheet to process golf scores and calculate handicaps.

I've identified the best 10 (AD4:AD13)scores from the past 20 (AB4:AB23).
What I now need to do is cater for the next score input which will be in AB24
and move the range to account for the new score (AB5:AB24). I also need to
tell s/s not to move the range if input value is zero (column 'U'). That's
just a start but would appreciate any help offered. Thanks.
  #2  
Old April 13th, 2010, 10:26 AM posted to microsoft.public.excel.worksheet.functions
ozgrid.com
external usenet poster
 
Posts: 328
Default updating cell range depending on input value

Not sure I understand, but try base any calculations of a dynamic named
range.
http://www.ozgrid.com/Excel/DynamicRanges.htm



--
Regards
Dave Hawley
www.ozgrid.com
"handicapper" wrote in message
...
I'm creating a spreadsheet to process golf scores and calculate handicaps.

I've identified the best 10 (AD4:AD13)scores from the past 20 (AB4:AB23).
What I now need to do is cater for the next score input which will be in
AB24
and move the range to account for the new score (AB5:AB24). I also need
to
tell s/s not to move the range if input value is zero (column 'U').
That's
just a start but would appreciate any help offered. Thanks.


  #3  
Old April 14th, 2010, 10:14 AM posted to microsoft.public.excel.worksheet.functions
handicapper
external usenet poster
 
Posts: 6
Default updating cell range depending on input value

Hi Dave,

Thanks for your reply. I'll expand on what I'm trying to do. A handicap is
calculated by averaging the best 10 scores from the last 20 rounds played.
All this is fine for the initial calculation but when the player plays his
21st. round the cell range of his last 20 scores has to be updated (ie 2-21
instead of 1-20).

So I'd like to write a formula which moves the cell range accordingly when a
new score is input. But does'nt move it if zero is returned on the 21st
playing day. I'm not sure due to my ignorance whether your initial reply
covers this (my fault if it does'nt).

Handicapper

"ozgrid.com" wrote:

Not sure I understand, but try base any calculations of a dynamic named
range.
http://www.ozgrid.com/Excel/DynamicRanges.htm



--
Regards
Dave Hawley
www.ozgrid.com
"handicapper" wrote in message
...
I'm creating a spreadsheet to process golf scores and calculate handicaps.

I've identified the best 10 (AD4:AD13)scores from the past 20 (AB4:AB23).
What I now need to do is cater for the next score input which will be in
AB24
and move the range to account for the new score (AB5:AB24). I also need
to
tell s/s not to move the range if input value is zero (column 'U').
That's
just a start but would appreciate any help offered. Thanks.


  #4  
Old April 17th, 2010, 05:50 AM posted to microsoft.public.excel.worksheet.functions
handicapper
external usenet poster
 
Posts: 6
Default updating cell range depending on input value

I'll try to approach this from a different angle. This formula moves the
range down 1 cell if the entry in "U25" is greater than "0".
=SMALL(IF(U250,$AB$5:$AB$24,$AB$4:$AB$23),ROW(A2) ). I now want to account
for the next score input (U26) and move the range down another cell if U26
is greater than 0. The formula sits in AD4:AD13, the 10 lowest scores in the
target range.

How can i modify the formula to move the range down 1 cell to account for
input in U26,U27 etc. etc. but keeping the range at 20 cells? Thanks.

"handicapper" wrote:

Hi Dave,

Thanks for your reply. I'll expand on what I'm trying to do. A handicap is
calculated by averaging the best 10 scores from the last 20 rounds played.
All this is fine for the initial calculation but when the player plays his
21st. round the cell range of his last 20 scores has to be updated (ie 2-21
instead of 1-20).

So I'd like to write a formula which moves the cell range accordingly when a
new score is input. But does'nt move it if zero is returned on the 21st
playing day. I'm not sure due to my ignorance whether your initial reply
covers this (my fault if it does'nt).

Handicapper

"ozgrid.com" wrote:

Not sure I understand, but try base any calculations of a dynamic named
range.
http://www.ozgrid.com/Excel/DynamicRanges.htm



--
Regards
Dave Hawley
www.ozgrid.com
"handicapper" wrote in message
...
I'm creating a spreadsheet to process golf scores and calculate handicaps.

I've identified the best 10 (AD4:AD13)scores from the past 20 (AB4:AB23).
What I now need to do is cater for the next score input which will be in
AB24
and move the range to account for the new score (AB5:AB24). I also need
to
tell s/s not to move the range if input value is zero (column 'U').
That's
just a start but would appreciate any help offered. Thanks.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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