LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Can any one suggest code/formula for finding the CAGR

Hi,
here goes a code for a CAGR function I wrote.

Public Function CAGR(Base_Period, End_Period, Base_Value, End_Value)
CAGR = ((End_Value / Base_Value) ^ (1 / (End_Period - Base_Period))) - 1
End Function

hope it helps

"Mangesh Yadav" wrote:

Hi Srinivasan

What your formula is doing is basically, taking the first value (or PV), and
the last value (FV), and then from the total range, you want to calculate
the number of years i.e. from F7 to J7 it is 4 to calculate the annual rate.

You can use the rate function as follows:
=RATE(COUNT(F7:J7)-1,0,-F7,J7)


Mangesh




"srinivasan" wrote in message
...


"srinivasan" wrote:

Can any one suggest a formula/code to work out the CAGR(Compounded

Annual
Growth Rate)


I am sorry. The rate function will not work for this. The formula for the
function would look like this.
=(J7/F7)^(1/4 )-1 (NUMBER 4 REPRESENTS FOR the count of columns from J
column to F column excluding J column)
I would be happy if some one suggests a custom code for a formula named

CAGR




 
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
Can anyone suggest a template for recording the sending and recei. Chequerhen New Users to Excel 0 April 20th 05 05:21 PM
How do I make my settings suggest previous words as I start to ty. Connie Excel Discussion (Misc queries) 2 December 1st 04 06:02 PM


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