Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How to maintain a set range of cells when dragging a formula (e.gmonthlyannual data)

If I have a formula such as SUM(A1:A12) and drag/copy it one cell down
it becomes SUM(A2:A13), but what if I only want to use each cell once,
say to convert monthly data to annual data. so that dragging the
formula down would give:

SUM(A13:A24) then
SUM(A25:A36)
SUM(A37:A48) etc.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default How to maintain a set range of cells when dragging a formula (e.gmonthlyannual data)

Put this in your first cell:

=SUM(INDIRECT("A"&ROW(A1)*12+1&":A"&(ROW(A1)+1)*12 ))

then copy down as required.

Hope this helps.

Pete

On Feb 3, 11:08*am, Justinalexander wrote:
If I have a formula such as SUM(A1:A12) and drag/copy it one cell down
it becomes SUM(A2:A13), but what if I only want to use each cell once,
say to convert monthly data to annual data. so that dragging the
formula down would give:

SUM(A13:A24) then
SUM(A25:A36)
SUM(A37:A48) etc.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 211
Default How to maintain a set range of cells when dragging a formula (e.g

If your new data for new month, is beneath the present month, then dragging
the sum for present will populate the data for next month.

--
R. Khoshravan
Please click "Yes" if it is helpful.


"Justinalexander" wrote:

If I have a formula such as SUM(A1:A12) and drag/copy it one cell down
it becomes SUM(A2:A13), but what if I only want to use each cell once,
say to convert monthly data to annual data. so that dragging the
formula down would give:

SUM(A13:A24) then
SUM(A25:A36)
SUM(A37:A48) etc.


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
Formula for annual average from monthly data hello Excel Discussion (Misc queries) 4 September 10th 08 10:29 PM
Dragging a range Gaurav[_2_] Excel Worksheet Functions 2 November 29th 07 12:47 AM
copying/dragging a formula to adjacent cells in Excel Steve Brennan Excel Discussion (Misc queries) 1 April 17th 07 06:31 PM
Odd behaviour in dragging data across and up and down cells Isaac The Arian Excel Discussion (Misc queries) 0 July 4th 06 02:34 AM
How do I keep a formula constant in dragging cells below the rows analyst storm Excel Discussion (Misc queries) 3 February 16th 06 01:19 AM


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