Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 460
Default Sum with New Cell Reference

I am designing a macro to link to a cell reference and to move the reference
two cells to the right in the following month. So, this month I the formula
refers to cell II14. Next month, after I run the macro, I want it to refer
to cell J14. Please advise.

DOUG
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Sum with New Cell Reference

I14 can be represented as either Range("I14) OR Cells(14,9).

Here you can use Cells(14+1,9) where +1 is for the next month. Replace this
with variables and increment with months....


If this post helps click Yes
---------------
Jacob Skaria


"DOUG" wrote:

I am designing a macro to link to a cell reference and to move the reference
two cells to the right in the following month. So, this month I the formula
refers to cell II14. Next month, after I run the macro, I want it to refer
to cell J14. Please advise.

DOUG

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Sum with New Cell Reference

Oops Cells(14,9+1) to increment columns

If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

I14 can be represented as either Range("I14) OR Cells(14,9).

Here you can use Cells(14+1,9) where +1 is for the next month. Replace this
with variables and increment with months....


If this post helps click Yes
---------------
Jacob Skaria


"DOUG" wrote:

I am designing a macro to link to a cell reference and to move the reference
two cells to the right in the following month. So, this month I the formula
refers to cell II14. Next month, after I run the macro, I want it to refer
to cell J14. Please advise.

DOUG

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
Nesting a sheet name reference within a cell reference??? Broyston Excel Discussion (Misc queries) 9 July 8th 08 08:35 PM
Formulas that reference cells that reference another cell Andrea Excel Discussion (Misc queries) 7 October 19th 06 08:14 AM
absolute cell reference A spreadsheet cell reference that does no help Excel Discussion (Misc queries) 1 January 18th 06 06:56 PM
problem with cell reference in =sum(offset(cell reference,x,y,z,a)). Want cell ref to be variable. [email protected] Excel Worksheet Functions 2 December 11th 04 12:05 AM
Problem with =sum(offset(cell reference,w,x,y,z). I want cell reference to be variable [email protected] Excel Worksheet Functions 2 December 11th 04 12:00 AM


All times are GMT +1. The time now is 03:21 AM.

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"