Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Formula for Increasing a Cell Reference by a Given Number

Looking for help as to whether or not there is a formula for increasing a
cell range by a predetermined number. My example - measuring sales results
weekly on a spreadsheet by referencing a more complex spreadsheet where the
numbers are hard coded in. For week one, the reference is =SUM('January
2007'!$B3:$B9) - for the next week I want to increase the cell reference by
seven days i.e. =SUM('January 2007'!$B10:$B16)

i was hoping to avoid entering the formula in manually or selecting the
cells by entering "=" and then manually going to the more complex spreadsheet
and selecting the cells. was hoping to enter the formula and copy cells down
the column?

any help would be appreciated
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default Formula for Increasing a Cell Reference by a Given Number

Dynamic named ranges are your friend he
http://www.ozgrid.com/Excel/DynamicRanges.htm
--
Brevity is the soul of wit.


"Kentle" wrote:

Looking for help as to whether or not there is a formula for increasing a
cell range by a predetermined number. My example - measuring sales results
weekly on a spreadsheet by referencing a more complex spreadsheet where the
numbers are hard coded in. For week one, the reference is =SUM('January
2007'!$B3:$B9) - for the next week I want to increase the cell reference by
seven days i.e. =SUM('January 2007'!$B10:$B16)

i was hoping to avoid entering the formula in manually or selecting the
cells by entering "=" and then manually going to the more complex spreadsheet
and selecting the cells. was hoping to enter the formula and copy cells down
the column?

any help would be appreciated

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Formula for Increasing a Cell Reference by a Given Number

You could try something like this:

=SUM(INDIRECT("'January 2007'!$B"&(ROW()*7-4)&":$B"&(ROW()*7+2)))

This assumes your formula is placed in Row 1. If it is placed in a
different row, then just adjust the -4 and +2 accordingly.

HTH,
Elkar

"Kentle" wrote:

Looking for help as to whether or not there is a formula for increasing a
cell range by a predetermined number. My example - measuring sales results
weekly on a spreadsheet by referencing a more complex spreadsheet where the
numbers are hard coded in. For week one, the reference is =SUM('January
2007'!$B3:$B9) - for the next week I want to increase the cell reference by
seven days i.e. =SUM('January 2007'!$B10:$B16)

i was hoping to avoid entering the formula in manually or selecting the
cells by entering "=" and then manually going to the more complex spreadsheet
and selecting the cells. was hoping to enter the formula and copy cells down
the column?

any help would be appreciated

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 117
Default Formula for Increasing a Cell Reference by a Given Number

Kentle....I think for money matters...its better to prepare first your
worksheet with named ranges (weeks, months, years) where one day = one
row....your cross-checking of formula and highlighting will be more easy....

"Elkar" wrote:

You could try something like this:

=SUM(INDIRECT("'January 2007'!$B"&(ROW()*7-4)&":$B"&(ROW()*7+2)))

This assumes your formula is placed in Row 1. If it is placed in a
different row, then just adjust the -4 and +2 accordingly.

HTH,
Elkar

"Kentle" wrote:

Looking for help as to whether or not there is a formula for increasing a
cell range by a predetermined number. My example - measuring sales results
weekly on a spreadsheet by referencing a more complex spreadsheet where the
numbers are hard coded in. For week one, the reference is =SUM('January
2007'!$B3:$B9) - for the next week I want to increase the cell reference by
seven days i.e. =SUM('January 2007'!$B10:$B16)

i was hoping to avoid entering the formula in manually or selecting the
cells by entering "=" and then manually going to the more complex spreadsheet
and selecting the cells. was hoping to enter the formula and copy cells down
the column?

any help would be appreciated

Reply
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
Maintaining cell reference after sorting GRITS Excel Discussion (Misc queries) 2 April 30th 23 07:42 PM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Variable Determines Number of Cell in Formula Range MJSlattery Excel Worksheet Functions 0 March 30th 06 01:28 AM
Cell reference in formula briank Excel Worksheet Functions 1 March 21st 06 03:31 AM
Function/ formula to output a cell reference Creator Excel Worksheet Functions 19 February 17th 06 06:39 PM


All times are GMT +1. The time now is 01:58 PM.

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

About Us

"It's about Microsoft Excel"