mbatookit
free Microsoft Excel macros, functions and resources for the MBA
Another great website from

 
HomeFunctionsInstallationHelpContact & AboutTestimonialsLinks & Resources


 


CAGR
(Compound Annual Growth Rate)

Returns the compound annual growth rate, given a starting value, ending value, and number of years.

For example, if the population of a city was 1 million in 2000, and 1.3 million in 2005, then the compound annual growth rate (CAGR) of the population was 5.4%

Syntax  (Values in boldface are required; others are optional)

CAGR
(StartValue, EndValue, Years)
  • StartValue:  The value at the beginning of the measuring period
     
  • EndValueThe value at the end of the measuring period
  • Years:  The measuring period, in years.  May include fractional years.
Example

Code
To install this function, copy the entire contents of the window below into your power4XL code module in Excel's Visual Basic editor.

For detailed instructions, see the "Individual Function Setup" page.

To copy the contents to your clipboard, place your cursor inside the window below, then press "CTRL+C".

NOTE:  By copying the code below, you are agreeing to the power4XL license terms.  You agree to use the code only on your personal and/or business computer(s) for your own personal use.  You agree not to distribute, publish, alter, or edit the code in any way.  You may freely refer others to this website if you wish to make the code available to them.

Related Information from Sponsors

 

Copyright notice:  power4xl.com and all content, including computer code and spreadsheet examples, are copyright 2006 by Fritz Dooley.  License is granted for individual users to download examples and to copy code directly into user's Excel spreadsheets and Visual Basic for Applications files.  Users may not redistribute code in any way.  Providing hyperlinks to this website is encouraged, but posting power4XL code and examples on other websites is expressly forbidden.  "Microsoft" is a registered trademark of Microsoft Corporation.   Neither power4xl.com nor Fritz Dooley are affiliated with Microsoft Corporation.