Formula Trouble

N

Nrupesh

I need a formula to do this:
say cell d17 has =D10*$D$7, i want the next cell e17 to be
=e10*$d$7+d10*$e$7 and the next cell f17 to be
f10*$d$7+e10*$e$7+d10*$f$7.....and so on so forth...... I dont want to type
the whole thing out in every cell...since the formula continues for about 100
more cells to the right


----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/com...d-267c1310b400&dg=microsoft.public.excel.misc
 
E

excelent

Well maybe David could tell us that
By the way where is ur solution ?
dont u have any or was ur answer just a grumble ?


"David Biddulph" skrev:
 
L

Lars-Åke Aspelin

Well maybe David could tell us that
By the way where is ur solution ?
dont u have any or was ur answer just a grumble ?


"David Biddulph" skrev:


Try this formula in cell D7:
(Note: this is an array formula that has to be entered by
CTRL+SHIFT+ENTER rather than just ENTER)

=SUMPRODUCT($D7:D7,SUBTOTAL(9,OFFSET($D10:D10,0,LARGE(COLUMN($D10:D10)-COLUMN($D10),COLUMN(INDIRECT("A:"&CHAR(64+COLUMNS($D10:D10))))),1,1)))

Copy the formula as far to the right as you need.

I guess the INDIRECT part of this formula can be done in a somewhat
shorter way, but I leave that for someone else to show.

Hope this helps / Lars-Åke
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top