Pivot Table Columns/rows And Subtotals

Oct 13, 2009

attached Pivot Table. There is a section, which I've marked, that shows how I want my Pivot Table report to look. I've had Excel 2007 kick me out a number of times when I've tried to filter and shift rows and columns to accomplish this and areas are frequently grayed out. Can someone please assist?

I'm attaching a file rather than going into a lot of detail here because I think a visual is easier here. The raw data, my attempt at the Pivot Table and my desired outcome all show on the same tab.

View 5 Replies


ADVERTISEMENT

Pivot Table - Subtotals

Jun 21, 2007

I have a seemingly very simple question but even though I've worked a lot with pivots I can't find the answer.

clientcode Amount countries
a1 1.000,00 kenia
a2 2.000,00 kenia
b3 1.000,00 kenia
b4 3.000,00 kenia
b5 2.000,00 kenia
c5 1.000,00 senegal
c6 3.500,00 senegal
c7 4.000,00 senegal
c8 5.000,00 senegal

Lets say I have a list like this and I want to count the number of clients (3) or countries(2).

I can only get the total of rows per client but not the subtotal 3 for the number of clients.
a - 2
b 3
c - 4

View 9 Replies View Related

Pivot Table - Just Certain Subtotals

Jul 24, 2007

I can't find a way to display "just" subtotals which are > 500k ..

View 9 Replies View Related

Pivot Table Subtotals Are Wrong!

Aug 27, 2007

With the following data Excel's pivottable's subtotal shows underlying MAX total instead of subtotals relating to values displayed.

SalesRepOrderNoItemValue
ACON12334
ACON12322
ACON12412
ACON12424
ACON1248

Pivottable:

Sum of ItemValue
SalesRepOrderNoTotal
ACON12356
AC ON12444
AC Max34

Rather than use SQL (I don't have data on SQL server) or re-organising data by order number, is there a fix using calc items, calc fields or grouping to show correct MAX figures? Why Excel doesn't simply evaluate visible cells seems crazy to me!

View 9 Replies View Related

Pivot Table Subtotals Are Wrong Instead Of Zero

Dec 21, 2009

I've just started using Pivot Tables and have a problem right away. Couldn't find anything with the search function, but am not really sure, what to search for, either

Part of my data looks like this

NameLot #BinAmountABC123CB18C174.025 ABC123CB18C-24.975 ABC123CB18C-24.975 ABC123CB18C12.616 ABC123CB18C-12.616 ABC123CB18C-24.975 ABC123CB18C-24.100 ABC123CB18C-25.000 ABC123CB18C-25.000 ABC123CB18C-25.000

Now this is a material that is stored on a pallet with the code CB18C. The total sum of material that is added to/taken from this pallet adds up to Zero. My Pivot Table, however, believes the total is something like 2.84217E-14.

Sum of Amount   NameLot #BinTotalABC123CB18C2.84217E-14 123 Total2.84217E-14ABC Total  2.84217E-14Grand Total  2.84217E-14

This problem occurs several times, the raw data adds up to Zero, but the Pivot Table calculates these tiny, tiny totals. Is this a known bug or can Pivots not handle 3 decimal data?

View 11 Replies View Related

Suppress Pivot Table Subtotals

Jan 18, 2007

When I have two or more fields on the left of the pivot layout, sometimes I only want the line item data and the grand totals, but not the various subtotals.

Is there a way to suppress the various subtotals created by a pivot table?

View 9 Replies View Related

Default Pivot Table To No Subtotals

Jun 6, 2007

Pivot tables. They have a habit of adding automatic subtotals to each field of data you drop into the pivot. Is there any way of setting the default to "none" rather than "automatic". It's driving me insane.

I am toying with the idea of writing some code to eradicate this issue, but if there's something native to Excel which will do the trick, that would be much more efficient.

View 7 Replies View Related

Show Percentage Subtotals In Pivot Table

Jul 18, 2007

Does anyone know a setting to display pivot tables as a % of sub total automatically within the Pivot Table Settings? I have recreated a formula on the cells H:K of what I am looking for. see Attached.

View 2 Replies View Related

Totals And Subtotals Of A Calculated Item In A Pivot Table?

Mar 17, 2014

I have an issue with a calculated item in my pivot table, because in the totals and subtotal it shows the sum of the column but I want to show the formula that I've specified to the calculated item.

For example, in the attached file, I have in rows the field "name" that has four values (A,B,C,D), in columns the field "Groups" that has "G1" and "G2". I add in the rows the calculated item "G1/G2" that has the formula G1/G2. The problem is that in the total the column "G1/G2" doesn't show the division of the total of "G1" and "G2".

View 3 Replies View Related

Excel 2010 :: Expanding Subtotals In Pivot Table

Oct 29, 2012

I have two pivot tables where if one expands a subtotal (in this case 'manufacturer') to give the lines below (products made by the manufacturer), is it possible for this to be mirrored in the second pivot? I noted a previous comment on using slicers across two pivots but I cannot do this in this instance, although I am using Excel 2010.

View 1 Replies View Related

Change Font In Bold For Subtotals Only In Pivot Table

Jun 30, 2006

I have a pivot table with 10 sub total rows, I would like to know if it is possibe to change the font into bold for rows who are subtotals.

View 6 Replies View Related

Pivot Table To List Multiple Source Columns In Rows?

Jul 4, 2014

I have a huge data set with survey data (sample attached: sample.xlsx). Column headings: survey questions Row headings: respondent identifiers (names) Row data: answers to questions (numeric values, only five answer options 1,2,3,4 or 5, no blanks)

I need to build that kind of pivot table:

Rows - list of particular questions (i.e. questions no. 3, 7 and 12) Columns - list of all diffrent answer entries (eventually, it will be 1,2,3,4 and 5) - it could also be questions in columns and answers in row (no difference) Values - count answer entries (i.e. how many answers "5" are on quesiton 3)

------
UPDATE: explanation added.

The reason I need pivot tables: i'll have to cross analyze multiple sets of questions. I'll have to do such cross-analysis 100+ times, so, writing a formula for each time does not quite work...

View 6 Replies View Related

Excel 2010 :: Pivot Table With Fixed Rows And Columns?

Jun 21, 2014

I'm trying to produce a fixed format pivot table in Excel 2010. Normally I'd just construct a manual table using COUNTIFS, SUMIFS etc, howver, for this exercise the requirement is to be able to click on any field and have a tab pop up with the relavent data a la Pivot Table. But....I need the Pivot table to have a fixed format (which I can do with 'Preserve cell formatting on update') and to have all of the rows and columns in irrespective of whether there is data or not (i.e. if I haven't sold any apples in June, I still want the 'Apples' field to appear, just with a value of zero). I had assumed that the option I needed was 'Show items with no data on rows/columns' but these options are greyed out. I've tried right-clicking on the whole table, on individual fields and on labels but still get the same greyed out options.

Is there any way I can retain all of the rows and columns?

View 1 Replies View Related

Excel 2007 :: Subtotals With HIDDEN Rows AND Columns Given Some Criteria

Aug 8, 2014

I am trying to develop a compliance report with Excel 2007) based upon a simple pass/fail criteria. The subtotals must be tracked both by Device (column) and by Requirement (row). There are macros (not included in the attached sample) that hides both columns and rows. I successfully found an example which I modified to correctly calculates data for a column when rows are hidden (see GOOD function below). However, I'm totally clueless on how to calculate data by row when columns are hidden (see BAD function below). What I'm trying to figure out is highlighted in red in the attached spreadsheet.

GOOD
=SUMPRODUCT(SUBTOTAL(103,OFFSET(B$2:B$5,ROW(B$2:B$5)-MIN(ROW(B$2:B$5)),,1))*(B$2:B$5="Pass"))

BAD (returns 0 and includes a circular reference)
=SUMPRODUCT(SUBTOTAL(103,OFFSET($B2:$F2,,COLUMN($B2:$F2)-MIN(COLUMN($B2:$F2)),1))*($B2:$F2="Pass"))

View 14 Replies View Related

Pivot Subtotals As Hiding Criteria

Nov 17, 2008

I'm making a pivot with 10.000 employees and their average salaries by cost centre. If the number of employees in one cost centre is below 5, the information should be hidden.The plan would with VBA to check if the cost centre subtotal in the pivot is below 5 and hide then all the employees belonging to this cost centre.

View 9 Replies View Related

Add Columns To Pivot Table With A Name Like ABC

Jul 14, 2014

I have a pivot table that I create weekly to include the new week's data, as well as the rest of the weeks in the year. I'd like for the macro to pull all of the columns like "WE" into the pivot table so that it includes the current week. Below is what the code looks like now. Is there a way to tell the macro to pull columns based on "field name like" language? I've been able to get this far, but it doesn't loop the headers to find all of the columns that have WE headers.

Sub AddPTFields()

Dim PT As PivotTable
Dim PF As PivotField
Dim FldName As String
Dim LastCol As Integer
Dim TxtStr As String
Dim wsName As String

[code]....

View 2 Replies View Related

Pivot Table - Row To Columns

Mar 15, 2013

I have a pivot table that shows the following:

ID_LOCATION1_LOCATION2_COUNT
1__XXAT______213_______1
_____________215________1
_____________226________1
2 XXAL______213_________1
_____________228________1
3 XXAA______213________1
_____________123________1
_____________258________1
_____________065________1

...and the list goes on for 1300 more ID items

What I need is to reformat it to show the location2 as columns one next to each other as follows:

1 XXAT 213 215 226
2 XXAL 213 228
3 XXA 213 123 258 065...

View 1 Replies View Related

Add Columns With Calculations In A Pivot Table

Nov 2, 2012

I have two queries regarding pivot table.

I would like to include additional columns with formula in to a pivot table

I would like to get ride of the Items in a pivot table with Zero values without editing the source data.

I have attached a work file in to the below link, [URL]....

View 1 Replies View Related

Can Add A Subtotal Of 3 Columns In A Pivot Table

Nov 22, 2013

I want to get a subtotal of columns B C and D in a pivot table. I have tried to add a calculated item to a pivot table to add columns B C and D. When I try adding a calcuted item I am getting an additional column inserted after columns B C and D. Each additional column has the previous column duplicated. I want a subtotal of column B C and D. I don't want to use the grand total function because I also have columns E through H that I don't want in the subtotal.

How can I get the columns B C and D subtotaled within the pivot table?

View 5 Replies View Related

Format Pivot Table Columns?

Oct 24, 2011

How can you visually format a column with multiple values in a pivot table? Say you have month in the column section, and three values in the value section: budget, actuals, variance; I want to visually seperate each month's set of data.

View 1 Replies View Related

Move Pivot Table Columns?

Mar 26, 2013

is there anyway to arrange pivot table columns without manipulating the field list items?

in other words, in older versions of excel, you could just right click the column and select move left, or move right

View 2 Replies View Related

Add Concatenation Of Two Columns To Pivot Table?

Jul 18, 2013

I have a large data set that I want to pivot on to produce various results. I can easily pivot on two columns to produce those Unique IDs where East AND West are "Yes" or "No." I want an easy to filter on results where either East OR West is "yes." I could do this with a joined (Concatenated column) such as East/West but was hoping there might be an easier solution built into Excel pivot feature.

Unique ID
East
West

1
Yes
No

2
Yes
Yes

3
No
Yes

4
Yes
No

5
No
No

View 2 Replies View Related

Pivot Table Non-Adjacent Columns

Jan 7, 2007

Pivot Tables. The structure and subject-content of cells B3:D14 (Block A) is identical to those of cells F3:H14 (Block B). I want a pivot table to treat the two Blocks as if they occupied the same three columns (e.g. B3:D26).

View 3 Replies View Related

Pivot Table With Multiple Columns

Jun 28, 2007

How do I create a pivot table with multiple data columns? My fixed asset software will not let me create a report to list multiple months/ quarters. I've created a spreadsheet that I can dump each month into, but I'd like to be able to sort by G/L acct or Department. When I try to create a pivot table, I can't get it to accept each month as a data field. Ive attached a copy of the spreadsheet that I'm using & the report that I'd like it to look like.

View 4 Replies View Related

Creating Pivot Tables With VBA And Putting In Tabular Form With No Subtotals

Jun 28, 2012

I have created the code below to create a Pivot Table using VBA, so that it populates from a list box option.

I would prefer if it didn't show any subtotals and was in a tabular form. It keeps dropping off at that point for each row field.

CODE
Sub trail()
'
' trail Macro
'
'
Dim wksPivot As Worksheet
Dim wksData As Worksheet
Dim pc As PivotCache
Dim PT As PivotTable
Set wksPivot = Sheets("PIVOT")

[Code] ......

View 2 Replies View Related

Convert The Data Shown In Table 1 To Table 2 Without Rearranging The Columns And Rows

Sep 11, 2009

Is there a function to convert the data shown in table 1 to table 2 without rearranging the columns and rows? because i don't want to use TRANSPOSE. I want a function, somthing like SUMIF with OFFSET or INDEX and MATCH or any other function.

Table 1

Team 1Team 2Team 3Team 4Team 4Team 5Team 5ABABCity 12531642City 231173705City 367891125City 436251348

Table 2

City 4City 2City 1City 3Team 4BTeam 2Team 5ATeam 4ATeam 1Team 3Team 5B

View 2 Replies View Related

Add Column To Table With Subtotals

Apr 26, 2012

I am trying to add a subtotal to the RIGHT of my table for every change in DATE. The desired result looks like this:

Number
Vendor
Run Date
Amount
Subtotals
12580A
4/12/2012 233,220.14

[Code]...

Right now I am manually typing in a sum formula at each change of the value. Is there some way to automatically perform this calculation and have it be in a column of the table?

View 7 Replies View Related

Data Table With Subtotals

Jun 25, 2009

I have a table of data input, which I would like to be converted to a certain format. Please see the attached file.

The output is derived as follows:

Field2 Sum of amount1 Sum of amount2
Left(Field1,2) under the above Field2 Sum of amount1 Sum of amount2
Field1 (whose left,2 is the same as above) Sum of amount1 Sum of amount2

for each of the Field2 Field1 combination.

So is it kinda like pivot table with each row field having subtotals, except that the row fields are on the same column, and the subtotal is place on top.

View 9 Replies View Related

Pivot Table - Calculating Percentage Of Two Columns?

May 14, 2014

why it works (but it obviously does). I crabbed off the sheet, modified it with my data and the percentages calculate reliably.

What I can't figure out is that in the Pct calculation in the table is the formula:

=GETPIVOTDATA("S_FCR",PT_1,"Center",[Center],"Date",MONTH([Date]))/GETPIVOTDATA("C_ID",PT_1,"Center",[Center],"Date",MONTH([Date]))^2

The formula itself makes perfect sense in terms of the numbers and filtering involved....but why does it actually work and what does the "^2" do?

View 2 Replies View Related

Pivot Table - Group Columns By Date

Jun 16, 2014

Not sure if this is possible but I have a sheet of data which is effectively a project plan. It has a list of resources, role and phase etc. I then have lots of rows which are w/c dates and under each "week" I have the amount of hours or days they work. So for each person I can record their hours etc.

I then need a Pivot which basically collates the data and displays each phase's total hours but month. There maybe multiple phases or and each person may appear in each phase

I've attached an example - Excel Problem.xlsx窶

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved