Divide Sum by Count in 2007 Pivot

L

Legacy 171839

Guest
Hi all,

I have a pivot, top line of which looks like:

Name Count of Day Total Time
Joe Blogg 2 180

Using calculated fileds, i'm tring to add a 4th field which will divide Total Time (which is a sum), by Count of Day (which is count).

When I simple do Total Time/Count of day, I get #DIV/0!

When I try =SUM('Total Time') /COUNTA(Day), it returns 180. Doesn't divide.

As I have a large dataset as it is, I would really like to avoid putting an additional 1/0 column in, to add the 1's instead of counting, so if anyone knows how to do this in the pivot in 2007, much gratitude and positive thoughts will come your way.

Thanks in advance
Frierpie
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Hi all,

I have a pivot, top line of which looks like:

Name.................Count of Day.......... Total Time
Joe Bloggs....................2..................... 180

Using calculated fileds, i'm tring to add a 4th field which will divide Total Time (which is a sum), by Count of Day (which is count).

When I simple do Total Time/Count of day, I get #DIV/0!

When I try =SUM('Total Time') /COUNTA(Day), it returns 180. Doesn't divide.

As I have a large dataset as it is, I would really like to avoid putting an additional 1/0 column in, to add the 1's instead of counting, so if anyone knows how to do this in the pivot in 2007, much gratitude and positive thoughts will come your way.

Thanks in advance
Frierpie

Apologies - just realised the formatting of original message didnt make it very clear - hope this helps
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,241
Members
452,622
Latest member
Laura_PinksBTHFT

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