Add percentage column in Pivot Table

excelpunk

Board Regular
Joined
May 6, 2011
Messages
165
Hello All, I am not able to add a percentage column in a pivot table.

My data looks like this:

Name Location Call Date Subscription Date State Country
John Hackensack 4/4/2017 4/29/2017 NJ USA
Peter Fort Colins 4/7/2017 CO USA

In my pivot table, I have added count of call date and count of subscription date as my columns along with Location, State and Country as row labels.

I have also created a calculation field (Conversion Ratio) and defined it as 'Subscription Date'/'Call Date'. but I dont see accurate conversion %. For NJ, it calculates conversion ratio as 100.1% but it has to be exactly 100%. I am not sure what I am doing wrong. Can someone please guide.

Thanks!
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
You can't use a count in a calculated field - they always sum. Since dates are treated as numbers, you are actually dividing 4/29/2017 by 4/4/2017, which is equivalent to dividing 42854 by 42829.

If you don't have power Pivot available, you can add two new counter fields to the source data that return 1 for each call date and 1 for each subscription date (0 if the date is missing) then sum those fields to get a count. You can also then divide one field by the other to get a percentage.
 
Upvote 0
Glad to help. Not sure that a 22 minute turn around merits "finally" though. ;)
 
Upvote 0
:) No it was not about the time it took someone to reply here on the forum. I have been searching for it online as I felt this is quite simple but I may be doing something wrong. I did not find a solution so I posted it. Thanks Again!
 
Upvote 0

Forum statistics

Threads
1,215,165
Messages
6,123,390
Members
449,098
Latest member
ArturS75

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