Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Calculate 1 year return based on 12 monthly returns

Posted on 2014-03-04
Medium Priority
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?
Question by:wilpitz
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
LVL 101

Accepted Solution

mlmcc earned 2000 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
Global NumberVar RateofReturn;
RateofReturn := 1;

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

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

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


Author Closing Comment

ID: 39905335
That works GREAT!!!!!!!

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

618 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