Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Need help with a formula
I hope someone can help me with this! I am trying to create a formula that will select the last 10 numbers in a row then drop the highest and the lowest number and return an average for the remaining 8 numbers. Row 1 on the worksheet is a list of dates and row 2 is a number for that date. Not all cells in row 2 have data in them some are blank and should not count in when retrieving the last 10.
Any help with this would be great! |
#2
|
|||
|
|||
Quote:
When you say "last 10", do you mean the last 10 dates with a number in row 2? |
#3
|
|||
|
|||
That is correct.
|
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Need help with a formula
On Fri, 29 Mar 2013 22:19:18 +0000, dpsgolfer wrote:
I hope someone can help me with this! I am trying to create a formula that will select the last 10 numbers in a row then drop the highest and the lowest number and return an average for the remaining 8 numbers. Row 1 on the worksheet is a list of dates and row 2 is a number for that date. Not all cells in row 2 have data in them some are blank and should not count in when retrieving the last 10. Any help with this would be great! This formula must be **array-entered**: =AVERAGE(LARGE(INDIRECT(ADDRESS(2,LARGE(ISNUMBER($ 2:$2)* COLUMN($2:$2),{1,2,3,4,5,6,7,8,9,10}))),{2,3,4,5,6 ,7,8,9})) ---------------------------------------- To **array-enter** a formula, after entering the formula into the cell or formula bar, hold down <ctrl<shift while hitting <enter. If you did this correctly, Excel will place braces {...} around the formula. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Formula autofill to cells below – formula arguments are cell areas in different columns | Excel Discussion (Misc queries) | |||
Build formula using field values as text in the formula referencing another workbook | Links and Linking in Excel | |||
Regression Leverage Formula (Jerry W. Lewis or Mike Middleton)already have DFITS formula | Excel Worksheet Functions | |||
Formula expected end of statement error, typing formula into cell as part of VBA macro | Excel Programming | |||
Commenting custom formula fields/formula on formula editor | Excel Programming |