Solved

Calculate 1 year return based on 12 monthly returns

Posted on 2014-03-04
2
258 Views
Last Modified: 2014-03-04
I currently use Excel to get the 1 year return by using the product function by taking all the monthly returns for a mutual fund, adding 1 to each of them and multiplying all the values together like =(A1*A2*A3.....*A12 )-1

I have looked all over in Crystal for this function and I have had no luck, is there a way to do this?
0
Comment
Question by:wilpitz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 500 total points
ID: 39905106
Are you dealing with 1 record with 12 values or 1 record per month

1 record with 12 values
(1+{JanReturn}) * (1+{FebReturn}) * (1+{MarReturn}) * (1+{AprReturn}) * (1+{MayReturn}) * (1+{JunReturn}) * (1+{JulReturn}) * (1+{AugReturn}) * (1+{SepReturn}) * (1+{OctReturn}) * (1+{NovReturn}) * (1+{DecReturn})

If you have 1 record per month
Group by the stock or security
In the report header add a formula
WhilePrintingRecords;
Global NumberVar RateofReturn;
RateofReturn := 1;
""

In the group header add a formula
WhilePrintingRecords;
Global NumberVar RateofReturn;
RateofReturn := 1;
""

In the details add a formula
WhilePrintingRecords;
Global NumberVar RateofReturn;
RateofReturn := RateofReturn * (1 + {ReturnRateField});
""

In the group footer add a formula to display the retunr
WhilePrintingRecords;
Global NumberVar RateofReturn;
RateofReturn

mlmcc
0
 

Author Closing Comment

by:wilpitz
ID: 39905335
That works GREAT!!!!!!!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question