How to get compound YTD returns in pivot table

navrak

New Member
Joined
Oct 29, 2013
Messages
9
I created a pivot table with a custom calculation in pivot tables' field settings to derive the YTD return rate on monthly return performance of different individual securities, using the formula =Product(1+ MTD %) - 1.

However, the pivot table still gives me the sum of the monthly percentage instead of the product formula.

Can anyone help?

Greatly appreciate if anyone can reply.

Best regards

 
Last edited:

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Im not quite sure what you ask for but your this:

=Product(1+ MTD %) - 1

is equal to:

MTD %
 
Upvote 0
Thanks Steve for the quick reply.

Sorry I wasn't clear.

Within my pivot table I will have a list of stocks and their monthly returns %

Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec YTD %
Stocks A
Stock B
Stock C

I would like to create a custom calculation to get the last column, which is the total year to date % number. Normally within in excel I would put in the formula {=Product(1+Jan:Dec range)-1} to get the YTD %. In the custom calculation, that is the formula I have put in, and have tried FVSchedule as well. However, instead of giving the product of that formula, it just gives me a sum instead.

Your help is greatly appreciated
 
Upvote 0
Cant you add a column in the data that makes the calc then add that to the pivot?
 
Upvote 0
ideally no, the system where the raw data comes from cannot calculate out this formula.

would just like to download the data and then have the pivot table refreshed and the last row updated
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top