Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 144
Default Copying formula to sum multiple columns

I have a monthly cashflow with the data for each month in a separate columns.
To the right of the monthly data I would like to sum teh date to show a
quarterly cashflow. For the first quarter my formula is sum(b2:d2). In the
next column for the second quarter the formula should be sum(e2:g2). My
problem is that if I simply copy the formula created for Q1 it reflects
(c2:e2).

This is actually a five year cashflow so I'd really like to be able to copy
formulas to save time.

Any help would be greatly appreciated.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Copying formula to sum multiple columns

Try this:

Assume the first cell you enter the formula in is BA2:

=SUM(OFFSET($B2,,(COLUMNS($BA2:BA2)-1)*3,,3))

Copy across as needed.

--
Biff
Microsoft Excel MVP


"Kathy" wrote in message
...
I have a monthly cashflow with the data for each month in a separate
columns.
To the right of the monthly data I would like to sum teh date to show a
quarterly cashflow. For the first quarter my formula is sum(b2:d2). In
the
next column for the second quarter the formula should be sum(e2:g2). My
problem is that if I simply copy the formula created for Q1 it reflects
(c2:e2).

This is actually a five year cashflow so I'd really like to be able to
copy
formulas to save time.

Any help would be greatly appreciated.




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 144
Default Copying formula to sum multiple columns

Thanks Biff. It worked like a charm!

Kathy

"T. Valko" wrote:

Try this:

Assume the first cell you enter the formula in is BA2:

=SUM(OFFSET($B2,,(COLUMNS($BA2:BA2)-1)*3,,3))

Copy across as needed.

--
Biff
Microsoft Excel MVP


"Kathy" wrote in message
...
I have a monthly cashflow with the data for each month in a separate
columns.
To the right of the monthly data I would like to sum teh date to show a
quarterly cashflow. For the first quarter my formula is sum(b2:d2). In
the
next column for the second quarter the formula should be sum(e2:g2). My
problem is that if I simply copy the formula created for Q1 it reflects
(c2:e2).

This is actually a five year cashflow so I'd really like to be able to
copy
formulas to save time.

Any help would be greatly appreciated.





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Copying formula to sum multiple columns

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Kathy" wrote in message
...
Thanks Biff. It worked like a charm!

Kathy

"T. Valko" wrote:

Try this:

Assume the first cell you enter the formula in is BA2:

=SUM(OFFSET($B2,,(COLUMNS($BA2:BA2)-1)*3,,3))

Copy across as needed.

--
Biff
Microsoft Excel MVP


"Kathy" wrote in message
...
I have a monthly cashflow with the data for each month in a separate
columns.
To the right of the monthly data I would like to sum teh date to show a
quarterly cashflow. For the first quarter my formula is sum(b2:d2).
In
the
next column for the second quarter the formula should be sum(e2:g2).
My
problem is that if I simply copy the formula created for Q1 it reflects
(c2:e2).

This is actually a five year cashflow so I'd really like to be able to
copy
formulas to save time.

Any help would be greatly appreciated.







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
Copying to multiple pages and keeping columns sized correctly??? Lyndsie Excel Discussion (Misc queries) 2 July 26th 07 03:24 PM
Copying 1 column into multiple columns Jshendel Excel Discussion (Misc queries) 2 May 4th 06 03:26 PM
Copying a formula to multiple worksheets RobHan Excel Worksheet Functions 1 February 16th 06 05:21 PM
Copying a Formula To Reference Multiple Worksheets carl Excel Worksheet Functions 1 August 5th 05 01:06 AM
Copying multiple columns not adjacent Doug Wilson Excel Discussion (Misc queries) 2 July 8th 05 08:51 PM


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