Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 334
Default How many iterations it takes to get to 0?

I have 100 values and I want to find out how many iterations it takes for
each value to get to 0, each value decreases by 20% each month. Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default How many iterations it takes to get to 0?

If a value starts with a non-zero amount, then it can NEVER reach zero if it
decrease by 20% of its residual value.

If you decrease it 20 % of its original value it will take 5 Iterations:

100
80
60
40
20
0

--
Gary''s Student - gsnu200720
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 334
Default How many iterations it takes to get to 0?

Sorry I forgot to write that if you start out at 100 how many iterations does
it take to go below 50...using the residual value

"Gary''s Student" wrote:

If a value starts with a non-zero amount, then it can NEVER reach zero if it
decrease by 20% of its residual value.

If you decrease it 20 % of its original value it will take 5 Iterations:

100
80
60
40
20
0

--
Gary''s Student - gsnu200720

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default How many iterations it takes to get to 0?

In A1 put 100 and
In A2 thru A10 enter:

=A1*0.8
=A2*0.8
=A3*0.8
=A4*0.8
=A5*0.8
=A6*0.8
=A7*0.8
=A8*0.8
=A9*0.8
to see:

100
80
64
51.2
40.96
32.768
26.2144
20.97152
16.777216
13.4217728

and as you can see 4 iterations got use below 50.
--
Gary''s Student - gsnu200720


"Rick" wrote:

Sorry I forgot to write that if you start out at 100 how many iterations does
it take to go below 50...using the residual value

"Gary''s Student" wrote:

If a value starts with a non-zero amount, then it can NEVER reach zero if it
decrease by 20% of its residual value.

If you decrease it 20 % of its original value it will take 5 Iterations:

100
80
60
40
20
0

--
Gary''s Student - gsnu200720

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default How many iterations it takes to get to 0?

Or something like this

# iterations =LOG(EndVal/BeginVal)/LOG(0.8)

"Gary''s Student" wrote:

In A1 put 100 and
In A2 thru A10 enter:

=A1*0.8
=A2*0.8
=A3*0.8
=A4*0.8
=A5*0.8
=A6*0.8
=A7*0.8
=A8*0.8
=A9*0.8
to see:

100
80
64
51.2
40.96
32.768
26.2144
20.97152
16.777216
13.4217728

and as you can see 4 iterations got use below 50.
--
Gary''s Student - gsnu200720


"Rick" wrote:

Sorry I forgot to write that if you start out at 100 how many iterations does
it take to go below 50...using the residual value

"Gary''s Student" wrote:

If a value starts with a non-zero amount, then it can NEVER reach zero if it
decrease by 20% of its residual value.

If you decrease it 20 % of its original value it will take 5 Iterations:

100
80
60
40
20
0

--
Gary''s Student - gsnu200720



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default How many iterations it takes to get to 0?

Very good. Only a single cell and no need to iterate. Looks like thresholds
for exponential decay.
--
Gary''s Student - gsnu200720
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 334
Default How many iterations it takes to get to 0?

I tried the log function below but it did not work...it gave me -12 something.

"Barb Reinhardt" wrote:

Or something like this

# iterations =LOG(EndVal/BeginVal)/LOG(0.8)

"Gary''s Student" wrote:

In A1 put 100 and
In A2 thru A10 enter:

=A1*0.8
=A2*0.8
=A3*0.8
=A4*0.8
=A5*0.8
=A6*0.8
=A7*0.8
=A8*0.8
=A9*0.8
to see:

100
80
64
51.2
40.96
32.768
26.2144
20.97152
16.777216
13.4217728

and as you can see 4 iterations got use below 50.
--
Gary''s Student - gsnu200720


"Rick" wrote:

Sorry I forgot to write that if you start out at 100 how many iterations does
it take to go below 50...using the residual value

"Gary''s Student" wrote:

If a value starts with a non-zero amount, then it can NEVER reach zero if it
decrease by 20% of its residual value.

If you decrease it 20 % of its original value it will take 5 Iterations:

100
80
60
40
20
0

--
Gary''s Student - gsnu200720

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
Macro for iterations.... Nick Krill Excel Discussion (Misc queries) 3 April 19th 07 07:44 PM
Iterations antonje New Users to Excel 2 October 10th 06 08:11 PM
number of iterations as default Gavin Bulman Excel Worksheet Functions 0 October 6th 06 09:10 AM
copying data during iterations aminal Excel Discussion (Misc queries) 6 July 27th 06 01:33 AM
Is there a way where I can default iterations Kelseyk Excel Discussion (Misc queries) 0 March 28th 06 12:49 AM


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