Forum

Notifications
Clear all

Pivot Table - Calculated Field Based on Count, not Sum

2 Posts
2 Users
0 Reactions
210 Views
(@babr1477123)
Posts: 15
Eminent Member
Topic starter
 

I am trying to calculate lead-to-sale conversion ratios.  For each salesperson row in my pivot table, I have the count of leads in one column and the count of sales in the other.  When I try to insert a calculated field using simple division (sales/leads), I get a #DIV/0! error.  Is there something special I need to do when I'm creating a calculated field based on counts and not sums?  Thanks for your help!

 
Posted : 06/07/2016 3:27 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Bob,

A #DIV/0! error occurs when the denominator is zero. You can't divide by zero so Excel returns #DIV/0!

This error suggests that the leads count = 0

Although, I don't know how you've written your formula so there may be something wrong in the way it's constructed. This tutorial shows you how to insert a calculated field and has an example of a formula.

If that doesn't help then please share your file or a sample file, or some screenshots of your PivotTable and the Insert Calculated Field dialog box so we can see what you're working with.

Mynda

 
Posted : 06/07/2016 9:33 pm
Share: