Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Pivot Table Calculated Field - Sum/count

I have a pivot table that returns data from a SQL View.
The pivot table counts the total number of incedents, and sums a SLA met
field.
The SQL table returns a 1 if the SLA was met, or a 0 of it was not.

Why, when I try to get the percentage (sum of SLA / count of incedents)
using a calculated field does every row return a div/0 error?

Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 94
Default Pivot Table Calculated Field - Sum/count

0/0 will give you the #DIV/0 error. Try =IFERROR(0,SLA/count)
--
Kevin


"Jeff Metcalf" wrote:

I have a pivot table that returns data from a SQL View.
The pivot table counts the total number of incedents, and sums a SLA met
field.
The SQL table returns a 1 if the SLA was met, or a 0 of it was not.

Why, when I try to get the percentage (sum of SLA / count of incedents)
using a calculated field does every row return a div/0 error?

Thanks in advance

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a Calculated Field in a Pivot Table for same field dza7 Excel Discussion (Misc queries) 3 October 21st 09 11:22 PM
Calculated Field and Calculated Item in Pivot Table Fred Smith Excel Discussion (Misc queries) 0 March 4th 07 08:15 PM
pivot table formulas for calculated field or calculated item Vicky Excel Discussion (Misc queries) 3 June 6th 06 05:06 AM
Using a Pivot Table Calculated Field to get a Unique Count Mike Struckman Excel Worksheet Functions 1 November 22nd 05 05:32 PM
Calculated Field in Pivot Table Spencer Hutton Excel Worksheet Functions 1 March 5th 05 02:35 PM


All times are GMT +1. The time now is 06:39 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"