LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DOR
 
Posts: n/a
Default Help with using range names in sum function

You should look up the OFFSET function in Help. This enables you to
define a dynamic (i.e. varying) range relative to a base range, using
variable values. It is reasonably easy to use OFFSET to refer to a
subset of a given named range. If you would like to see how it is
done, send me your spreadsheet, via Google groups, or upload it in
excelforum and I will show you.

Example: =SUM(OFFSET(YR2005,0,2,1,3)) will calculate the sum of cells
3 through 5 of the first row of a range called YR2005 (referring to the
first cell as "cell 1"). We are defining a new range "offset" from the
top left hand corner of YR2005 (the first parameter) by 0 rows (the
second parameter) and 2 columns (the third parameter) with a depth of 1
row and a width of 3 rows (third and fourth parameters).

 
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
Using a range variable inside a excel function Michael Excel Discussion (Misc queries) 2 November 14th 05 02:52 PM
Replace range names with cell references? KH Excel Worksheet Functions 2 August 2nd 05 01:09 AM
Function to determine if any cell in a range is contained in a given cell [email protected] Excel Worksheet Functions 3 February 7th 05 04:19 PM
Formula to list unique values JaneC Excel Worksheet Functions 4 December 10th 04 12:25 AM
range names Pedro Excel Worksheet Functions 1 November 9th 04 06:27 PM


All times are GMT +1. The time now is 11:17 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"