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!
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