Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Unequal Product Sum

I wish to multiply then add arrays of numbers of different size.

eg
array 1: A1:C1
array 2: A5:A8

where the answer equals
(A1*A5)+(A1*A6)+(A1*A7)+(A1*A7)+(A1+A8)+(B1*A5)+(B 1*A6)+......(C1*A8)

Is there a simple way to do this?

Cheers Aitchy
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Unequal Product Sum

Hi

Try
=SUMPRODUCT(A1:C1*A5:A8)

--
Regards

Roger Govier


"Aitchy" wrote in message
...
I wish to multiply then add arrays of numbers of different size.

eg
array 1: A1:C1
array 2: A5:A8

where the answer equals
(A1*A5)+(A1*A6)+(A1*A7)+(A1*A7)+(A1+A8)+(B1*A5)+(B 1*A6)+......(C1*A8)

Is there a simple way to do this?

Cheers Aitchy



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Unequal Product Sum

I'd just make the 2 ranges equal sized, ie A1:D1 and A5:A8
then just put a zero in D1, then array-enter (press CTRL+SHIFT+ENTER):
=MMULT(A1:D1,A5:A8)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Aitchy" wrote:
I wish to multiply then add arrays of numbers of different size.

eg
array 1: A1:C1
array 2: A5:A8

where the answer equals
(A1*A5)+(A1*A6)+(A1*A7)+(A1*A7)+(A1+A8)+(B1*A5)+(B 1*A6)+......(C1*A8)

Is there a simple way to do this?

Cheers Aitchy

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Unequal Product Sum

Dismiss the earlier suggestion. It wasn't relevant.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


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
Merging 2 unequal workbooks Chuck Excel Discussion (Misc queries) 1 July 6th 06 05:30 AM
concatenating with unequal columns Onrey Excel Discussion (Misc queries) 2 March 24th 05 01:45 PM
How do I create a boxplot using StatPlus with an unequal number o. elvis sipos Charts and Charting in Excel 4 March 7th 05 02:32 PM
unequal sign et Excel Discussion (Misc queries) 2 February 6th 05 11:17 PM
Unequal Sign et Excel Discussion (Misc queries) 1 February 5th 05 04:30 AM


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