PC Review


Reply
Thread Tools Rate Thread

How to copy the function SUM but offseted in 7 columns

 
 
Leandro-Brazil
Guest
Posts: n/a
 
      15th Jan 2010
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(B11) 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 With Quote
 
 
 
 
Luke M
Guest
Posts: n/a
 
      15th Jan 2010
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(B11) 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 With Quote
 
David Biddulph
Guest
Posts: n/a
 
      15th Jan 2010
= SUM(OFFSET($A1,0,3*(COLUMN()-1),1,3)) and copy across.
--
David Biddulph

"Leandro-Brazil" <Leandro-(E-Mail Removed)> wrote in message
news:62E1399F-09A4-4404-84F5-(E-Mail Removed)...
>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(B11) 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change a Macro - Copy in Columns instead of copy in Rows ytayta555 Microsoft Excel Programming 7 9th May 2009 06:32 PM
How do I copy columns between worksheets if the columns don't matc =?Utf-8?B?TWlyaWFt?= Microsoft Excel Worksheet Functions 10 12th Jun 2006 04:29 PM
Copy columns values into separate columns =?Utf-8?B?TWlrZV9jYW4=?= Microsoft Excel Misc 7 27th May 2006 12:32 AM
password protected document with hidden columns, columns appear when copy-pasted onarol@gmail.com Microsoft Excel Discussion 2 4th Apr 2006 01:21 PM
Copy/Paste Function for multiple columns AF_INstructor Microsoft Excel Programming 1 6th Jan 2004 09:10 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:20 AM.