Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default How to set up worksheet where cells change monthly

I have an excel spreadsheet where each month the cell location changes - i.e.
SUM(C56:C79) = January is changed to SUM(C57:C79) in February. Each month it
increments down. I have to repeat this formula 120 times, with each one a
different amount. Is there any way to code this into Excel so that I don't
need to change each cell every month?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default How to set up worksheet where cells change monthly

Maybe you could use a SUMIF function instead, using date as the
criteria, but that depends on what exactly you are trying to do.

Hope this helps.

Pete

On Nov 10, 5:11*pm, Robina wrote:
I have an excel spreadsheet where each month the cell location changes - i.e.
*SUM(C56:C79) = January is changed to SUM(C57:C79) in February. Each month it
increments down. I have to repeat this formula 120 times, with each one a
different *amount. Is there any way to code this into Excel so that I don't
need to change each cell every month?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default How to set up worksheet where cells change monthly

Without seeing, try

SUM($C56:$C$79)

Copy down. Notice the $ EXCEPT in front of the 56

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Robina" wrote in message
...
I have an excel spreadsheet where each month the cell location changes -
i.e.
SUM(C56:C79) = January is changed to SUM(C57:C79) in February. Each month
it
increments down. I have to repeat this formula 120 times, with each one a
different amount. Is there any way to code this into Excel so that I
don't
need to change each cell every month?


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default How to set up worksheet where cells change monthly

Hi,

=SUM(INDIRECT("C"&A1+56&":C79"))

In this case you would increase the value in cell A1 by 1 each month and the
formula would increment. I noted that you only incremented the first
reference, if you wanted to do both

=SUM(INDIRECT("C"&A1+56&":C"&A1+79))

Once you have modified all the formulas it will be a snap to update.

If this helps, please click the Yes button.
--
Thanks,
Shane Devenshire


"Robina" wrote:

I have an excel spreadsheet where each month the cell location changes - i.e.
SUM(C56:C79) = January is changed to SUM(C57:C79) in February. Each month it
increments down. I have to repeat this formula 120 times, with each one a
different amount. Is there any way to code this into Excel so that I don't
need to change each cell every month?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default How to set up worksheet where cells change monthly

I need to remove the monthly total, not increment. for example in February I
no longer need January's information.

"ShaneDevenshire" wrote:

Hi,

=SUM(INDIRECT("C"&A1+56&":C79"))

In this case you would increase the value in cell A1 by 1 each month and the
formula would increment. I noted that you only incremented the first
reference, if you wanted to do both

=SUM(INDIRECT("C"&A1+56&":C"&A1+79))

Once you have modified all the formulas it will be a snap to update.

If this helps, please click the Yes button.
--
Thanks,
Shane Devenshire


"Robina" wrote:

I have an excel spreadsheet where each month the cell location changes - i.e.
SUM(C56:C79) = January is changed to SUM(C57:C79) in February. Each month it
increments down. I have to repeat this formula 120 times, with each one a
different amount. Is there any way to code this into Excel so that I don't
need to change each cell every month?



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
Monthly Change Using Nested IFs? GJP Excel Worksheet Functions 4 January 25th 08 10:35 PM
how can i change the colum width for cells on the same worksheet Becky Robinson Paine Excel Discussion (Misc queries) 1 June 17th 06 05:26 AM
How do I change the IRR formula for MONTHLY periodic payments? Jon Excel Worksheet Functions 2 June 12th 06 10:58 PM
Change the font case of all cells in the worksheet to uppercase? S. Avila Excel Worksheet Functions 4 April 23rd 05 04:29 PM
calculate monthly average percentage of change vikgarden Excel Worksheet Functions 2 April 15th 05 07:38 PM


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