Improve company productivity with a Business Account.Sign Up


Help with my excel spreadsheet

Posted on 2011-02-27
Medium Priority
Last Modified: 2012-05-11
Could someone please help me with the attached spreadsheet.  I am trying to create a template for future use.  Details as follows.

1st worksheet: Contains monthly fund performance information and cumulative value of $1 growth based on MoM %.  The date range goes back a few years so that I can copy and paste future funds in there which might have more performance history.

2nd worksheet: Contains 3 benchmark monthly performance information (data matches the same date range as fund

3rd worksheet: Contains a chart of the fund performance + table of statistics on the Month on Month return

What I need:

1. Why is cell C22 and C26 on worksheet 3 showing a green error comment?
2. I'm not sure how to automatically put in the cumulative calander quarterly and annual return in columns C and D respectively on worksheet 1.  Could someone please do this for me.

The quarterly return should only show every 3 months at the end of each calander quarter.  The yearly return should only show the 12-months cumulative return once per year in Dec (and of course will only take into account the data available for that year).  The annualised return should show a monthly % in each cell for each month and represent the sum of all monthly data returns (for that year only) divided by the number of months of data for that year so far, multiplied by 12.  When it comes to Dec, if the formula is correct, it should match the yearly return column.

3. Why, when I click on one of the series on the chart in worksheet 3, does it then not VISUALLY reference (and flash) the appropiate data range in worksheet 1 - it only shows the formula?

4. For the summary statistics table on worksheet 3, could someone please dynamically update the annual returns section including the YTD 2011 keeping in mind that when I use this template for future, the YTD 2011 will need to reflect more months.

Thanks. Master-Statistics-template.xls
Question by:hedgeselect
  • 8
  • 5
LVL 50
ID: 34993368

these are really four questions rolled into one. You'll get better response from experts if you split them up, so formula experts can tackle the formula bits and charting people can do the charting Q.

1. The green error is explained when you tick the yellow ! sign that pops up when selecting the cell. You'll find it's not an error, but a warning "Formula omits adjacent cells". You can turn off these warnings in Tools > Options > Error checking

3. Since your data is not on the same chart, you will not see the data selected. If you want to check what data is used in the chart, you can right-click the series, then select "Source Data" from the context menu. In the dialog, go to the Series tab and click in the Values box for the series. This will activate the source sheet and you will see the marching ants around the chart source.

The other two questions should be separate, since they are different issues and it would not be fair to experts to keep them all in one question.

You can ask a related question to keep the connection to this one.

cheers, teylyn
LVL 50
ID: 34993393
OK, here's #2

starting in C3 on sheet 1


copy down.
LVL 50
ID: 34993404
Yearly return: Starting in D12


You cannot start this formula above row 12, because there are no 12 values to sum and the reference cannot be built.

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

LVL 50
ID: 34993442
Annualised return:

Starting in row 3 (note that since in this example there is no full year for 1995, the '95 result is not correct.


you need to define two dynamic range names

DateRange refers to ='Fund Data'!$A$2:INDEX('Fund Data'!$A:$A,MATCH(99^99,'Fund Data'!$A:$A,1))
PerformanceRange refers to =OFFSET(DateRange,0,1)

Using dynamic ranges will ensure that the sumproduct runs on ALL data in the column and ONLY on the cells with data. This is preferable over using a static range of the highest possible number of entries.

Author Comment

ID: 34993459

Thanks for the feedback, however some comments.

1. I'm aware of what the error says and the yellow drop down etc, but I really want to understand what it means esp if it can be ignored.

2 & 3 - this almost works, except that your formula is not based on cumulative returns, only arithmetic sum returns.  So the cumulative return for the last 12-months (from Jan 2010 to Dec 2010 should be 4.219%) and Q4 2010 should be 0.7% rather than 0.69%

Author Comment

ID: 34993469
Could I please ask a favour, as this is getting slightly more technical for me.  Could you please update the template accordingly and reupload here for me to try otherwise I'll be messing around and getting it wrong, esp for your last post?

Thanks v. much.
LVL 50
ID: 34993476

1. It's not an error. It's a warning. Excel tries to "help" and alerts you that you are not using the adjacent cells in the formulas. You can ignore it if you're positive that your formulas are correct.

2. You know the mathematical background better than I do. Can you explain in words what to calculate?
LVL 50

Accepted Solution

Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 2000 total points
ID: 34993500
Here is the spreadsheet with all the formulas and range names in place as above.

How do I calculate a cumulative return? the Annualised return for December (following your instructions above) arrives at the same value as the Sum() I used.

Author Comment

ID: 34993638
Its not quite the same number, I know it looks very close.   I'm not sure how its actually done, I just do it in excel by setting the formula in Column F in worksheet 1 to work out the cumulative value from month to month, but not sure how its done from quarter to quarter to year to year.

Are you able to do the annual returns for worksheet 3 in the summary table for each of the last few years?

LVL 50
ID: 34993750
so, how do you calculate it from month to month? What's the formula you use?

Author Comment

ID: 34994781
I've posted another question on the following link, hopefully this will provide the solution to your last question:

LVL 50
ID: 34994798
I see that you have opened up another question about how to calculate cumulative return. That's good, because it takes one issue away from this question.

Now, please open another question for the issue #4 above,  because that is another non-trivial subject, which will not be covered in this question. Please make sure to provide reciprocal links.

I believe I have supplied you with the framework to plug the cumulative calculation formula you will receive from your other question into the spreadsheet here.

for quarterly:

=IF(MOD(MONTH(A3)/3,1),"",<the cumulative formula>)

for 12 monthly

=IF(MONTH(A12)=12,<the cumulative formula>)

And I have supplied you with a correct  formula for the annualised return.

On top of that, I have answered your questions 1 and 3. I'm confident you will honor these answers with an appropriate closure of this question.

cheers, teylyn

Author Comment

ID: 34994860
I appreciate your feedback here, but honestly, I could have easily awarded 100 marks for the most simplest one line answer for question 1 and repeated the same with appropriate marks for the others.  It seems more appropiate to award 500 points for a series of "not that difficult but I'm not sure how to do it" type questions.  You refer to ee t&c, I agree but these were not "highly difficult question".

Again I appreciate your answers. Thx.

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This tutorial is about creating a new Microsoft Online User Profile account along with how to transfer your files and settings. You may be faced with this situation if your existing user profile has become corrupted.
Excel allows various different methods to link Excel files to each other. This includes relative paths, mapped drives (or the local drive) and UNC paths. UNC paths are the least robust of the three.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…

585 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