Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Danchops
 
Posts: n/a
Default Need help with formula in Excel XP


I'm trying to create a formula in a cell that, given x, y, and n in
other cells, calculates x*y + (x*y)*y + ((x*y)*y)*y + (((x*y)*y)*y)*y
... n times. Anyone know how to do that?

Any help is greatly appreciated.


--
Danchops
------------------------------------------------------------------------
Danchops's Profile: http://www.excelforum.com/member.php...o&userid=27942
View this thread: http://www.excelforum.com/showthread...hreadid=474426

  #2   Report Post  
ramana
 
Posts: n/a
Default

Hi,

Your problem seems to be sum of geomeric expression.

Looking into your question we can take x as a common factor and the
equation can be written as X*(y+y^2+y^3+......+y^n).

Say in cell A1=X
Cell B1=y
Cell C1=n
now youcan write the formula as =A1*((B1^(C1+1)-1)/(B1-1)+1)

Hope that this might solve your problem.

Thanks and Regards

Ramana

Danchops wrote:
I'm trying to create a formula in a cell that, given x, y, and n in
other cells, calculates x*y + (x*y)*y + ((x*y)*y)*y + (((x*y)*y)*y)*y
... n times. Anyone know how to do that?

Any help is greatly appreciated.


--
Danchops
------------------------------------------------------------------------
Danchops's Profile: http://www.excelforum.com/member.php...o&userid=27942
View this thread: http://www.excelforum.com/showthread...hreadid=474426


  #3   Report Post  
ramana
 
Posts: n/a
Default

Err... just a small correction i kept +1 instead of -1.
Now notedown the formula.

=A1*((B1^(C1+1)-1)/(B1-1)-1)

where ^ denotes to the power of and to get this Press Shift+6 and then
press space.

rgds

Ramana

  #4   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Fri, 7 Oct 2005 22:46:51 -0500, Danchops
wrote:


I'm trying to create a formula in a cell that, given x, y, and n in
other cells, calculates x*y + (x*y)*y + ((x*y)*y)*y + (((x*y)*y)*y)*y
.. n times. Anyone know how to do that?

Any help is greatly appreciated.



Try this:

=x*SUMPRODUCT(y^ROW(INDIRECT("1:" & n)))

Substitute numbers or cell references for x, y and n


--ron
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
Why does Excel show a formula in ONE cell ? edpaul Excel Discussion (Misc queries) 1 August 12th 05 07:29 PM
Excel CHALLENGE...3 questions(indirect,rank,array formula)... Mlowry Excel Worksheet Functions 8 August 1st 05 07:34 AM
converting formula from lotus.123 to excel zaharah Excel Worksheet Functions 2 July 27th 05 03:04 PM
How do I get the formula bar in excel 2003 unionhall Excel Discussion (Misc queries) 1 February 17th 05 10:10 AM
Suddenly Excel can't calculate formula!!! Bob H Excel Worksheet Functions 2 November 30th 04 08:35 PM


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