#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default summing arrays

Is it possible to sum two arrays? I have a large array with specific total
amounts for each item in each column and row of the array. Along column A
there are 40 rows of specific finance items. Columns B through X identify
specific business entities. The points at which the rows and columns cross
contain dollar amounts. I have two such large files and I want to essentially
combine them. They both have the same 40 items and the same business
entities, but with different dollar amounts. Is there a formula or function
whereby I can add the two together?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 913
Default summing arrays

On Fri, 23 Jan 2009 12:24:00 -0800, Ray S.
wrote:

Is it possible to sum two arrays? I have a large array with specific total
amounts for each item in each column and row of the array. Along column A
there are 40 rows of specific finance items. Columns B through X identify
specific business entities. The points at which the rows and columns cross
contain dollar amounts. I have two such large files and I want to essentially
combine them. They both have the same 40 items and the same business
entities, but with different dollar amounts. Is there a formula or function
whereby I can add the two together?



Is this to be done just once, or do you want to keep and update the
two files with automatic update of the sum?

In the first case you can select cells B2:X41 in the first sheet and
do "Copy". Then select cell B2 in the second cell and do "Paste
Special" with Operation set to "Add".

In the second case you put the following formula in cell B2 of a new
sheet:

=Sheet1!B2+Sheet2!B2

where Sheet1 and Sheet2 are the names of you two sheets with data.
Then copy this formula to the right thru cells C2:X2
Then copy cells B2:X2 down thru B3:X41

Hope this helps / Lars-Åke
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,180
Default summing arrays

Excel 2007
Consolidate two arrays.
Arrays can be of different sizes, in any location,
and with row/column items in any order.
Output can be arranged, filtered and sorted multiple ways.
All without formulas or code.
All dynamically.
http://www.mediafire.com/file/myonnobmliz/01_24_09.xlsx
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default summing arrays

Wow! That solution is so cool that I think I'll go out and buy 2007. I'm
working with 2003.

"Herbert Seidenberg" wrote:

Excel 2007
Consolidate two arrays.
Arrays can be of different sizes, in any location,
and with row/column items in any order.
Output can be arranged, filtered and sorted multiple ways.
All without formulas or code.
All dynamically.
http://www.mediafire.com/file/myonnobmliz/01_24_09.xlsx

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default summing arrays

Your first case works fine for me...thanks.

"Lars-Ã…ke Aspelin" wrote:

On Fri, 23 Jan 2009 12:24:00 -0800, Ray S.
wrote:

Is it possible to sum two arrays? I have a large array with specific total
amounts for each item in each column and row of the array. Along column A
there are 40 rows of specific finance items. Columns B through X identify
specific business entities. The points at which the rows and columns cross
contain dollar amounts. I have two such large files and I want to essentially
combine them. They both have the same 40 items and the same business
entities, but with different dollar amounts. Is there a formula or function
whereby I can add the two together?



Is this to be done just once, or do you want to keep and update the
two files with automatic update of the sum?

In the first case you can select cells B2:X41 in the first sheet and
do "Copy". Then select cell B2 in the second cell and do "Paste
Special" with Operation set to "Add".

In the second case you put the following formula in cell B2 of a new
sheet:

=Sheet1!B2+Sheet2!B2

where Sheet1 and Sheet2 are the names of you two sheets with data.
Then copy this formula to the right thru cells C2:X2
Then copy cells B2:X2 down thru B3:X41

Hope this helps / Lars-Ã…ke

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
need help summing product of two arrays rl Excel Discussion (Misc queries) 2 March 6th 08 09:40 PM
PivotTable and summing/not summing ~*Amanda*~[_2_] Excel Discussion (Misc queries) 1 March 14th 07 07:35 PM
Use of arrays Dave F Excel Worksheet Functions 0 November 30th 06 04:26 PM
two arrays Jerry Kinder New Users to Excel 4 February 26th 06 08:29 AM
Summing Arrays Sloth Excel Worksheet Functions 1 November 18th 05 11:22 PM


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