Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
issy
 
Posts: n/a
Default How can I use SumProduct with a horizonontal and vertical array?

With the SumProduct formula, the arrays must have the same dimensions. So how
can I use it when I want to sum the product of a horizontal row of data and a
vertical column of data? I've tried messing around with the Transpose
function but I can't get it to work with SumProduct.
  #2   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default How can I use SumProduct with a horizonontal and vertical array?

Hi
Give us a clue as to what data you have where and what you want as a result
and we'll have a go!

Andy.

"issy" wrote in message
...
With the SumProduct formula, the arrays must have the same dimensions. So
how
can I use it when I want to sum the product of a horizontal row of data
and a
vertical column of data? I've tried messing around with the Transpose
function but I can't get it to work with SumProduct.



  #3   Report Post  
Posted to microsoft.public.excel.misc
Ardus Petus
 
Posts: n/a
Default How can I use SumProduct with a horizonontal and vertical array?

You can indeed use TRANSPOSE, but the whole furmula must be validated as
Array furmula (Ctrl+Shift+Enter):
=SUMPRODUCT(TRANSPOSE(B1:D1),A1:A3)

HTH
--
AP

"issy" a écrit dans le message de news:
...
With the SumProduct formula, the arrays must have the same dimensions. So
how
can I use it when I want to sum the product of a horizontal row of data
and a
vertical column of data? I've tried messing around with the Transpose
function but I can't get it to work with SumProduct.



  #4   Report Post  
Posted to microsoft.public.excel.misc
Dav
 
Posts: n/a
Default How can I use SumProduct with a horizonontal and vertical array?


I think you are half right. for a sumproduct to work the arrays need to
be of equal length, one can be horizontal and one can be vertical so

sumproduct((a1:a4=1)*(b1:e1=1),a11:a14)

would evaluate as a sumproduct!

Regards

Dav


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=545408

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



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