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 copy the function SUM but offseted in 7 columns

I Have the folow situation :
The cells content is:
A1 = 50, B1 = 30, C1 = 40, D1 = 10, E1 = 20 and F1 = 10
Using the function SUM in the cell A4 = SUM(A1:C1) I have as a result 120
If I copy the cell A4 to B4 my SUM function will be B1 = SUM(B1:D1) and the
result 80.
I would like to know how can I copy the SUM function from Cell A4 to B4 but
the SUM function should be SUM(D1:F1). And if a still copying to left side, I
mean to columns C, D, E... It should set the SUM functional to jump in each 4
Columns.
A4 = SUM(A1:C1), B4 should be sum D1:F1, C4 should be sum G1:I1 ...

Regards and thanks for your help

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default How to copy the function SUM but offseted in 7 columns

Formula to sum A1:C1
=SUM(OFFSET($A$1,,(COLUMN(A1)-1)*3,,3))

Copying to the right will sum D1:F1, G1:I1, etc.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Leandro-Brazil" wrote:

I Have the folow situation :
The cells content is:
A1 = 50, B1 = 30, C1 = 40, D1 = 10, E1 = 20 and F1 = 10
Using the function SUM in the cell A4 = SUM(A1:C1) I have as a result 120
If I copy the cell A4 to B4 my SUM function will be B1 = SUM(B1:D1) and the
result 80.
I would like to know how can I copy the SUM function from Cell A4 to B4 but
the SUM function should be SUM(D1:F1). And if a still copying to left side, I
mean to columns C, D, E... It should set the SUM functional to jump in each 4
Columns.
A4 = SUM(A1:C1), B4 should be sum D1:F1, C4 should be sum G1:I1 ...

Regards and thanks for your help

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default How to copy the function SUM but offseted in 7 columns

= SUM(OFFSET($A1,0,3*(COLUMN()-1),1,3)) and copy across.
--
David Biddulph

"Leandro-Brazil" wrote in message
...
I Have the folow situation :
The cells content is:
A1 = 50, B1 = 30, C1 = 40, D1 = 10, E1 = 20 and F1 = 10
Using the function SUM in the cell A4 = SUM(A1:C1) I have as a result 120
If I copy the cell A4 to B4 my SUM function will be B1 = SUM(B1:D1) and
the
result 80.
I would like to know how can I copy the SUM function from Cell A4 to B4
but
the SUM function should be SUM(D1:F1). And if a still copying to left
side, I
mean to columns C, D, E... It should set the SUM functional to jump in
each 4
Columns.
A4 = SUM(A1:C1), B4 should be sum D1:F1, C4 should be sum G1:I1 ...

Regards and thanks for your help



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
Copy Excel Function from a Cell Through a Function Sheikh Saadi Excel Worksheet Functions 0 October 15th 09 04:22 PM
copy a columns kevcar40 Excel Discussion (Misc queries) 2 September 18th 08 10:42 AM
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
How do I copy columns between worksheets if the columns don't matc Miriam Excel Worksheet Functions 10 June 12th 06 04:29 PM
Copy columns values into separate columns Mike_can Excel Discussion (Misc queries) 7 May 27th 06 12:32 AM


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