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

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
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,224,827
Messages
6,181,200
Members
453,022
Latest member
RobertV1609

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