Pivot Table Sums

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When I create a pivot table with the wizard I click on the "options" box so that the columns and rows won't total, but this always happens anyway which makes for a lot of work to remove these. Thanks in advance for any help, Paul
 
What do you mean by that? In the option you can uncheck grand totals for
rows and columns,
are you saying you get that anyway?

--

Regards,

Peo Sjoblom

pas926 said:
When I create a pivot table with the wizard I click on the "options" box
so that the columns and rows won't total, but this always happens anyway
which makes for a lot of work to remove these. Thanks in advance for any
help, Paul
 
Do you want to turn off the subtotals that appear for each row or column
heading? If so, you can use the following macro:

Sub NoRowAutomaticSubtotals()
'turns off Automatic subtotals in pivot table
Dim pt As PivotTable
Dim pf As PivotField
For Each pt In ActiveSheet.PivotTables
For Each pf In pt.RowFields
pf.Subtotals(1) = False
Next pf
Next pt
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top