Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 68
Default Sumproduct & Array Formula?

I need a tricky function that I think needs to be entered as a Sumproduct
Array Function.

I have numerical data in a table A1:K11 (B2:K11 contains the data; A2:A11
= Row labels, B1:K1 = Column Labels)
What I need to do is, given an input column (B to K) and an output column
(B to K), perform the following calculation:
For each cell in input column
multiply by the sum of all cells below that cell's row in the output column
And add the final results.

So, for example, assume input column B and output column C, here's the
steps I'd need to do:
B2 * sum (C3:c11) +
B3 * sum (C4:c11) +
B4 * sum (C5:c11) +
B5 * sum (C6:c11) +
B6 * sum (C7:c11) +
B7 * sum (C8:c11) +
B8 * sum (C9:c11) +
B9 * sum (C10:c11) +
B10 * sum (C11:c11)

Notice how the number of cells in the sum drops by 1 as you step through
the input column's rows.
In case it matters, the data in each column adds up to 1; the value in
each cell is always greater than zero and less than 1.

Is this possible?
------------------
Darren
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 68
Default Sumproduct & Array Formula?

Oops - posted this in the wrong newsgroup. Sorry.

Darren
On Wed, 07 Sep 2005 23:33:02 +0100, Darren Hill
wrote:

I need a tricky function that I think needs to be entered as a
Sumproduct Array Function.

I have numerical data in a table A1:K11 (B2:K11 contains the data;
A2:A11 = Row labels, B1:K1 = Column Labels)
What I need to do is, given an input column (B to K) and an output
column (B to K), perform the following calculation:
For each cell in input column
multiply by the sum of all cells below that cell's row in the output
column
And add the final results.

So, for example, assume input column B and output column C, here's the
steps I'd need to do:
B2 * sum (C3:c11) +
B3 * sum (C4:c11) +
B4 * sum (C5:c11) +
B5 * sum (C6:c11) +
B6 * sum (C7:c11) +
B7 * sum (C8:c11) +
B8 * sum (C9:c11) +
B9 * sum (C10:c11) +
B10 * sum (C11:c11)

Notice how the number of cells in the sum drops by 1 as you step through
the input column's rows.
In case it matters, the data in each column adds up to 1; the value in
each cell is always greater than zero and less than 1.

Is this possible?
------------------
Darren




--
------------------
Darren
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
Array formula using sumproduct & vlookup Zach Excel Worksheet Functions 6 October 30th 09 05:13 PM
Sumproduct and Array Formula StephenAccountant Excel Discussion (Misc queries) 3 April 7th 08 06:36 AM
Help with Possible Array or Sumproduct Formula Steph Excel Worksheet Functions 7 February 23rd 08 08:55 PM
Array formula for SUMPRODUCT Martin Fishlock Excel Worksheet Functions 1 January 10th 07 03:07 AM
SUMPRODUCT as array formula? Henrik Excel Worksheet Functions 2 November 2nd 05 07:08 AM


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