Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Please help with programming


I want to take a material cost and add for an increase for inflation fo
an "x" number of years.

i.e. My material cost in 1995 for $100.
Material has gone up by 3% per year.
So I want to add 3% to my material per year for the last 9 years.

Each cell I will enter the material cost, % of increase and number o
years.

Thanks

--
Randy
-----------------------------------------------------------------------
RandyJ's Profile: http://www.excelforum.com/member.php...fo&userid=1514
View this thread: http://www.excelforum.com/showthread.php?threadid=26775

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default Please help with programming

Function Inflate(amount As Double, percent As Double, year as Double)
Inflate = amount * (1+percent) ^ year
End Function
It will then be available as a function in your function menu

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default Please help with programming

Function Inflate(amount As Double, percent As Double, year as Double)
Inflate = amount * (1+percent) ^ year
End Function
It will then be available as a function in your function menu

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
Programming dim Excel Discussion (Misc queries) 7 November 16th 07 11:56 AM
Programming help BB Excel Discussion (Misc queries) 3 December 5th 05 01:09 AM
Programming to VBE Tom Ogilvy Excel Programming 0 August 30th 04 04:15 PM
Programming IDE JS[_4_] Excel Programming 1 November 20th 03 09:11 AM
Do I need programming for this? .NET Developer Excel Programming 2 August 18th 03 08:55 PM


All times are GMT +1. The time now is 04:03 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"