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 Average with [h]:mm format

Is there a way to get the correct average in the Total Row or Column in a
Pivot table when the value field is formatted with [h]:mm?
The average works find in normal number format, but gives the Total rather
then the average when formatted with [h]:mm.
Using Excel 2007.
Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Pivot table Average with [h]:mm format

Found the issue :)
I am using a calculated field for the values, when I change this to the
actual values, the average is calculated correctly. Still weird..

"Opa Horst" wrote:

Is there a way to get the correct average in the Total Row or Column in a
Pivot table when the value field is formatted with [h]:mm?
The average works find in normal number format, but gives the Total rather
then the average when formatted with [h]:mm.
Using Excel 2007.
Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Pivot table Average with [h]:mm format

Then your calculation must be the problem. How are you calculating the
field?

Regards,
Fred

"Opa Horst" wrote in message
...
Found the issue :)
I am using a calculated field for the values, when I change this to the
actual values, the average is calculated correctly. Still weird..

"Opa Horst" wrote:

Is there a way to get the correct average in the Total Row or Column in a
Pivot table when the value field is formatted with [h]:mm?
The average works find in normal number format, but gives the Total
rather
then the average when formatted with [h]:mm.
Using Excel 2007.
Thanks


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Pivot table Average with [h]:mm format

Thanks for your reply.
The data field is Usage (in seconds), the calculated field is
(Usage+30)/(24*3600), to get the usage data in [h]:mm format.


"Fred Smith" wrote:

Then your calculation must be the problem. How are you calculating the
field?

Regards,
Fred

"Opa Horst" wrote in message
...
Found the issue :)
I am using a calculated field for the values, when I change this to the
actual values, the average is calculated correctly. Still weird..

"Opa Horst" wrote:

Is there a way to get the correct average in the Total Row or Column in a
Pivot table when the value field is formatted with [h]:mm?
The average works find in normal number format, but gives the Total
rather
then the average when formatted with [h]:mm.
Using Excel 2007.
Thanks


.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Pivot table Average with [h]:mm format

That's the correct way of converting seconds to Excel times, so you'll need
to elaborate on your process.

You said "when I change this to actual values, the average is calculated
correctly". What do you mean by "actual values"? Are you totalling the Usage
field?

Also, how do you know it's giving you a total, rather than an average, when
you use [h]:mm format?

Regards
Fred

"Opa Horst" wrote in message
...
Thanks for your reply.
The data field is Usage (in seconds), the calculated field is
(Usage+30)/(24*3600), to get the usage data in [h]:mm format.


"Fred Smith" wrote:

Then your calculation must be the problem. How are you calculating the
field?

Regards,
Fred

"Opa Horst" wrote in message
...
Found the issue :)
I am using a calculated field for the values, when I change this to the
actual values, the average is calculated correctly. Still weird..

"Opa Horst" wrote:

Is there a way to get the correct average in the Total Row or Column
in a
Pivot table when the value field is formatted with [h]:mm?
The average works find in normal number format, but gives the Total
rather
then the average when formatted with [h]:mm.
Using Excel 2007.
Thanks


.




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Pivot table Average with [h]:mm format

Firstly, when I do the calculation on the data, so outside the Pivot Table,
and then use this data (which has now the correct values for the [h]:mm
format) as the data source for the Pivot Table the Average calculation is
correct. This is what I mend with using the €˜actual values
Secondly, I checked the Average/Total value manually with the Average/Sum
formula. With the above method the two average values are the same, with a
calculated field in [h]:mm format in the Pivot table they are not.
This all feels like a bug with custom format in Excel!
The reason why I think that this is a bug with the custom [h]:mm format is
that the average values are being calculated correctly with the calculated
field with a standard numeric format. As soon as you change to the custom
format the system defaults to the Total values.


"Fred Smith" wrote:

That's the correct way of converting seconds to Excel times, so you'll need
to elaborate on your process.

You said "when I change this to actual values, the average is calculated
correctly". What do you mean by "actual values"? Are you totalling the Usage
field?

Also, how do you know it's giving you a total, rather than an average, when
you use [h]:mm format?

Regards
Fred

"Opa Horst" wrote in message
...
Thanks for your reply.
The data field is Usage (in seconds), the calculated field is
(Usage+30)/(24*3600), to get the usage data in [h]:mm format.


"Fred Smith" wrote:

Then your calculation must be the problem. How are you calculating the
field?

Regards,
Fred

"Opa Horst" wrote in message
...
Found the issue :)
I am using a calculated field for the values, when I change this to the
actual values, the average is calculated correctly. Still weird..

"Opa Horst" wrote:

Is there a way to get the correct average in the Total Row or Column
in a
Pivot table when the value field is formatted with [h]:mm?
The average works find in normal number format, but gives the Total
rather
then the average when formatted with [h]:mm.
Using Excel 2007.
Thanks


.


.

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
Average of % in pivot table tc2004 Excel Discussion (Misc queries) 1 November 25th 09 09:16 PM
Average in Pivot Table Jeff New Users to Excel 5 February 15th 09 05:03 PM
Average in a Pivot Table time conversion[_2_] Excel Discussion (Misc queries) 1 August 4th 08 08:10 PM
Pivot table average Graeme at Raptup Excel Discussion (Misc queries) 1 June 19th 08 06:51 PM
How to Get Sum of the Average in Pivot Table? Evanya Excel Discussion (Misc queries) 1 January 6th 05 09:07 PM


All times are GMT +1. The time now is 11:49 PM.

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

About Us

"It's about Microsoft Excel"