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
 
D

David Biddulph

1) What do you think SUM() is doing for you in that formula? If you want
=C17+D10*D7, why not leave it at that?
2) What you've given doesn't seem to be what the OP asked for.
 
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:
 
D

David Biddulph

My answer was aiming to help readers of the group to improve their use of
Excel. The answer is that SUM() does nothing for you in that formula.
=C17+D10*D7 would have given the same answer as your =SUM(C17+(D10*D7)), but
it would still have been the wrong answer.

As far as the OP's original question was concerned, if I or other
contributors to the group had seen an easy correct answer we would have
given it, but no-one has done so (even more than a month later), which means
(as far as I can see) that there isn't an obvious correct answer without
rearranging the original data.
 
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