Forum Statistics
- Forum Members:
- Total Threads:
- Total Posts: 11
There are 1 users currently browsing forums.
|
 |

07-02-2009, 06:02 PM
|
|
Registered User
|
|
Join Date: 25 Jun 2009
Location: Spokane, WA
MS Office Version:Excel 2003
Posts: 7
|
|
|
"small" function
Please Register to Remove these Ads
I am creating a golf handicap formula, the number of scores used is based on the number of rounds played. I have set up a table with the values to use a vlookup to see how many scores it should use. To complete the handicap formula i need to average the scores and then multiply by .96. The formula i am using is =(AVERAGE(SMALL(chEntries,{})))*(0.96) The problem is the "k" area of the "small" function does not seem to allow a vlookup function to provide the {1,2,3,4} or however many scores i am trying to enter. Does anyone know a way around this or maybe a different function that would work better?
Thank you for your help,
Ian
|

07-02-2009, 06:16 PM
|
|
Valued Forum Contributor
|
|
Join Date: 07 May 2009
Location: Baku, Azerbaijan
MS Office Version:Excel 2003/2007
Posts: 702
|
|
|
Re: "small" function
Try
SMALL(...,COLUMN(INDIRECT("1:20")))
|

07-02-2009, 06:51 PM
|
 |
Forum Moderator
|
|
Join Date: 14 Jan 2006
Location: England
MS Office Version:2002 (work), 2003 & 2007 (home)
Posts: 6,565
|
|
|
Re: "small" function
I don't think you'll get the correct result with COLUMN, try ROW..............
|

07-02-2009, 06:57 PM
|
|
Valued Forum Contributor
|
|
Join Date: 07 May 2009
Location: Baku, Azerbaijan
MS Office Version:Excel 2003/2007
Posts: 702
|
|
|
Re: "small" function
I think it depends on the table
I have used ROW() when data were stored by columns. I didn't get the result I needed. When I replaced it with COLUMN() I got what I want....
|

07-02-2009, 07:09 PM
|
|
Registered User
|
|
Join Date: 25 Jun 2009
Location: Spokane, WA
MS Office Version:Excel 2003
Posts: 7
|
|
|
Re: "small" function
That did not seem to work correctly... Attached is the file I am working on. The formula should be in the data sheet B2. You will find the Vlookup formula in B488, that number determines how many of the Course Handicaps (scores) to average.
|

07-02-2009, 07:20 PM
|
 |
Forum Moderator
|
|
Join Date: 14 Jan 2006
Location: England
MS Office Version:2002 (work), 2003 & 2007 (home)
Posts: 6,565
|
|
|
Re: "small" function
You can use this formula
=AVERAGE(SMALL(chEntries,ROW(INDIRECT("1:"&B488))))*0.96
This is an "array formula" that needs to be confirmed with CTRL+SHIFT+ENTER so that curly braces like { and } appear around the formula in the formula bar
|

07-02-2009, 07:37 PM
|
|
Valued Forum Contributor
|
|
Join Date: 07 May 2009
Location: Baku, Azerbaijan
MS Office Version:Excel 2003/2007
Posts: 702
|
|
|
Re: "small" function
Maybe this one in B1 of DATA sheet
=(AVERAGE(IF(chEntries<>"",SMALL(chEntries,COLUMN(chEntries)-COLUMN(A8)),""))*(0.96))
|

07-02-2009, 08:38 PM
|
|
Valued Forum Contributor
|
|
Join Date: 07 May 2009
Location: Baku, Azerbaijan
MS Office Version:Excel 2003/2007
Posts: 702
|
|
|
Re: "small" function
I thinl I misunderstood...        
Sorry
|

07-04-2009, 02:56 AM
|
|
Registered User
|
|
Join Date: 25 Jun 2009
Location: Spokane, WA
MS Office Version:Excel 2003
Posts: 7
|
|
|
Re: "small" function
Quote:
Originally Posted by daddylonglegs
You can use this formula
=AVERAGE(SMALL(chEntries,ROW(INDIRECT("1:"&B488))))*0.96
This is an "array formula" that needs to be confirmed with CTRL+SHIFT+ENTER so that curly braces like { and } appear around the formula in the formula bar
|
This did not seem to work correctly, when i fill in the "K" section of the "small" function with {1,2,3,4} I get a different result then your formula. Attached is the most updated spreadsheet.
|

07-04-2009, 05:51 AM
|
 |
Forum Guru
|
|
Join Date: 23 Jun 2007
Location: London,England
MS Office Version:office 97 ,2003 ,2007
Posts: 6,088
|
|
|
Re: "small" function
{=AVERAGE(SMALL(chEntries,ROW(INDIRECT("1:"&B488))))*0.96}
it should look like that
see my sig for how to enter arrays
|

07-04-2009, 07:46 AM
|
 |
Forum Moderator
|
|
Join Date: 14 Jan 2006
Location: England
MS Office Version:2002 (work), 2003 & 2007 (home)
Posts: 6,565
|
|
|
Re: "small" function
As Martin says, my suggested formula needs to be "array entered".
There's a difference when you use {1,2,3,4}, that doesn't need "array entering" so you get the correct result without it. When you replace the "array constant" {1,2,3,4} with a "calculated array" like ROW(INDIRECT("1:"&B488)) then you need CSE.......
|
 |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|