Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Sun, 13 Jul 2008 10:32:00 -0700, Loadmaster
wrote: I would like to have the sum of the last 3 entries in a column that have spaces between the figures. I also need the sum of the last 12 entries in a column that have spaces between the figures. Note: These figures are all in column K. In general, this **array-entered** formula: =SUM(LOOKUP(LARGE(ISNUMBER(rng)*ROW(rng),{1,2,3}), ROW(rng),rng)) To **array-enter** a formula, hold down <ctrl<shift while hitting <enter. If you did it correctly, Excel will place braces {...} around the formula. For versions of Excel prior to 2007, rng cannot refer to the entire column. So the largest rng would be K1:K65535. In Excel 2007, rng could refer to the entire column K:K For the top 12: =SUM(LOOKUP(LARGE(ISNUMBER(rng)*ROW(rng),ROW(INDIR ECT("1:12"))),ROW(rng),rng)) also **array-entered** with <ctrl<shift<enter. --ron |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Flying Bricks Chart | Charts and Charting in Excel | |||
Anyone have a template for a flying club? | Charts and Charting in Excel | |||
Drivers Hours Timesheet - Calculate Hours Worked on Weekly Basis | Excel Discussion (Misc queries) | |||
Calculating Flying hours allowing for GMT or BST | Excel Worksheet Functions | |||
Convert hours and minutes in time format into fractions of hours.. | Excel Worksheet Functions |