ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Formula Trouble (https://www.excelbanter.com/excel-discussion-misc-queries/191409-formula-trouble.html)

Nrupesh

Formula Trouble
 
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/comm...lic.excel.misc

excelent

Formula Trouble
 
put this in D17 :

=SUM(C17+(D10*D7))

and pull/copy to right


"Nrupesh" skrev:

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/comm...lic.excel.misc


David Biddulph[_2_]

Formula Trouble
 
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.
--
David Biddulph

"excelent" wrote in message
...
put this in D17 :

=SUM(C17+(D10*D7))

and pull/copy to right


"Nrupesh" skrev:

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/comm...lic.excel.misc




excelent

Formula Trouble
 
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:

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.
--
David Biddulph

"excelent" wrote in message
...
put this in D17 :

=SUM(C17+(D10*D7))

and pull/copy to right


"Nrupesh" skrev:

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/comm...lic.excel.misc





David Biddulph[_2_]

Formula Trouble
 
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.
--
David Biddulph

"excelent" wrote in message
...
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:

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.
--
David Biddulph

"excelent" wrote in message
...
put this in D17 :

=SUM(C17+(D10*D7))

and pull/copy to right


"Nrupesh" skrev:

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/comm...lic.excel.misc







Lars-Åke Aspelin[_2_]

Formula Trouble
 
On Sun, 27 Jul 2008 01:49:06 -0700, excelent
wrote:

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:

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.
--
David Biddulph

"excelent" wrote in message
...
put this in D17 :

=SUM(C17+(D10*D7))

and pull/copy to right


"Nrupesh" skrev:

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/comm...lic.excel.misc






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,LA RGE(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



All times are GMT +1. The time now is 10:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com