Pivot Table - Count Of Unique Value Not Total?
Feb 9, 2012
The pivot table has only two columns, the first is the identification number and the second is the count of the identification number. I am trying to get a count of the number of identification numbers, not how many times it was entered in the spreadsheet (some numbers are entered more than once on different days). It currently looks like:
Column A Column B
00000001 1
00000002 1
00000003 2
00000004 1
00000005 3
Grand Total 8
I'm trying to arrive at 5 for the answer, so that each number is only counted once even if used more than once.
View 3 Replies
ADVERTISEMENT
May 15, 2007
I started a pivot table for our budget and on the left side I have the account names and about 4 columns of applicable account codes to which I turn on and off when needed. On the right side I have all the budget numbers divided by quarter and halfs. On the right side, I can drop any list of numbers and it does the sum but for some reason, when I drop my 4th quarter numbers, it gives me a count and not sum. How do I change it to sum?
Second problem: I have grand totals number going down the columns meaning I have a sum of all my 1st Quarter numbers but I do not have them going across each line on row. How do I add that?
Third problem: I forgot a list of account codes to be put on the left, how can I add it?
View 4 Replies
View Related
Oct 7, 2011
I have the following data:
TRX_IDQTYCUST_ID892486021-67.991623230892486140-35.411623230892486378-29.271623230892486515-60
.711623230892488006-69.081623230892488082-43.261623230892486668-31.091623230892486794-27
.0562118898892546057-42.829337675892487417-19.331623230892487513-33.251623230892488890-33
.61719407892543537-13.891623142892544321-11.021623142892487602-18.921623230
Would like to know the number of unique customers (CUST_ID) have purchases and the sum of those purchases and how many transactions:
CUST_ID Sum of QTY Count of Transactions
50 $2000 1500
I cant seem to find how to do unique Cust using a pivot table - it just gives me a count of cust which is the same number as the number of transactions.
View 5 Replies
View Related
Jun 29, 2012
I have 2 columns. One with a store number. The other with an item. I need to get the count of each item for each store. So:
Store, Item
1, Cashier 1
1, Cashier 2
1, Cashier 2
1, Photo PC 1
1, Cashier 1
1, Cashier 2
2, Photo PC 1
2, Cashier 1
2, Cashier 2
2, Cashier 1
2, Photo PC 2
2, Photo PC 2
2, DriveThru 1
3, Cashier 1
3, Photo PC 1
3, Photo PC 1
3, Photo PC 2
I would like to get to
Store, Cashier 1, Cashier 2, Photo PC 1, Photo PC 2,
1, 2, 3, 1, 0
2, 2, 1, 1, 2
etc....
How can this be done?
View 3 Replies
View Related
Mar 3, 2004
I have a spreadsheet with several records for each person's name.
I want to have pivot tables based on various columns, with the data field being a count of unique occurrences of a person's name.
When I set up a basic Pivot, it counts each occurence of the person's name.
View 9 Replies
View Related
Feb 28, 2008
I have a worksheet with a list of employees and the workgroup they belong to, along with other data like manager, start dates, etc. Recently a couple of the workgroups were duplicated (change in managers), so these employees are showing up on two rows even though the workgroup has the same name. The only differences in the two rows are the workgroup effective start and end dates. I need to be able to count, in a pivot table, the number of unique employee/workgroup combinations there are per workgroup. I can add columns to the sheet, but it's a dynamic set of data that will grow each time it's refreshed...
View 9 Replies
View Related
Jun 19, 2008
I'm trying to create a pivot table that will count how many employees have completed a Learning Plan. This task becomes complex (for me) because each learning plan has multiple Courses, each Course has a status of "Completed" or "Incomplete". A Learning Plan would only be considered "Completed" if all the courses within that Learning Plan were completed. In doing some research, it looks like I'll need to create another column of data, that shows per employee, per Learning Plan, if the entire Learning Plan has been completed, but I'm not sure of the best way to go about this. Please find SampleData attached.
View 5 Replies
View Related
Jan 28, 2010
I have attached an example of what i am trying to do. I can work out how to calculate unique entries by putting in a formula under a pivot table, but is it possible to select an option in the pivot table settting which will give this result?
View 2 Replies
View Related
May 16, 2013
I have data that has a customer name and the month that they were taken care of" (of course not spaces
Customer Month
Smith January
Smith January
Mark January
Suzy January
Smith February
Mark February
I want a pivot table to say:
Month #customers
January 3
February 2
but when I do the count it adds the total number of customer names and gives (it is counting smith twice in January
Month #customers
January 4
February 2
I was reading something about doing the count (so it shows 4) and then doing an index within the count but I keep just getting 1 as the value (for both months).
I tried doing a formula in the document that said =IF(ISERROR(MATCH(A2,$A$1:A15,0)),1,0). basically looking to see if the name is above the location I am looking at and if it is to put a 0 if not put 1 and then do a sum of that column....trouble is that when a customer has orders on more than one month, the second month is coming up with a 0 instead of a 1 (and this happens quite often).
I am not sure what to do. if the customer shows up in more than one month I want them to count towards the unique count of both january and february...we look at each month separately.
View 3 Replies
View Related
Jun 20, 2014
I have data set up like the example but then for 1797 lines.
D39BKYes
D39BKYes
D39BKYes
D39BKYes
GHFLBNo
R80FANo
R80FANo
[code].....
What I need to get in a pivot table is: two columns or rows (Yes / No) and the unique count of the code.In this case is should show Yes: 2 and No: 3
View 2 Replies
View Related
Oct 15, 2012
I'm trying to count how many production orders i have per week. However, there are duplicated production orders per week. I only want to count how many unique orders there are for each week. I only see the ability to "Count", which counts my duplicates as well so it over inflates my true quantity.
View 3 Replies
View Related
Jun 21, 2013
How do count unique values in category in pivot table. (my table, im taking data from ms query). I am using excel 2010
Pivot table example: the result i want is the "no of types" as my data only show "category" and "types".
Category
Types
No of Types
Fruits
Apple
Pear
Orange
3
Vegetable
Cabbage
1
View 4 Replies
View Related
Feb 19, 2014
I need a formula to count the total items per unique id. For example
Column A Column B
11111 Basketball
11111 Basketball
11111 Basketball
33333 Baseball
33333 Baseball
22222 Hockey
Output to Column C,
ID 11111=3 Basketball
ID 33333 2 Baseball
ID 22222 1 Hockey
View 11 Replies
View Related
Jun 24, 2013
I would like a formula to count the number of unique digits from a range of cells.
For example...
Range A1:F1...
11 23 36 47 48 49 = 8
Range A2:F2...
1 11 12 21 30 31 = 4 etc
View 5 Replies
View Related
Jun 14, 2009
I want to have a unique count field in my pivot table. I already read (via forum search) that this can only be achieved by adding an extra column to the database.
The problem is: I have no clue which formula to use for this column. Please have a look at the attached picture. Can someone provide me with a formula for this example?
View 14 Replies
View Related
Dec 4, 2008
I have a pivot that shows Patients, Invoices and charges. I want to throw Patient, Inv # and charge amount in the row area and put PatientId in the Page area as a count. It works fine except it double counts patients with more than one invoice...I want a unique patient count.
View 9 Replies
View Related
Jun 7, 2008
I am creating a data base to track Planner compensation. Many of our accounts have 2 planners on the same case. I am trying to learn how I can create a single list of all the planners (from "Partner 1" and "Partner 2") headings which will then total their compensation in a Pivot Table weather their name is under the "partner 1" heading or "partner 2" heading. See the attached example.
View 2 Replies
View Related
Dec 16, 2013
I am trying to create a pivot table report to find out how much profit each client has made and I need the total profits to be added up for each client so I can see who has made the most/least.
I have attached a sample ss.
View 3 Replies
View Related
Feb 7, 2014
how to remove the percentage of row total in a pivot table. I only want the sum of the row total but the percentage of row column always say 100% and I want it to be removed.
View 3 Replies
View Related
Jun 9, 2014
I need to transfer "total" figures from Pivots to a table.
In the Pivot take I can filter by country, buy/sell, front/back.
At the moment I am selecting the combination I want and manully keying in the total. Is there an auto way of doing this?
Things were so simple with Subtotal, where it allow me to add anything that has US on it, but what I want to total US, FRONT, BUY?
View 2 Replies
View Related
Jul 14, 2009
I have a pivot table which I am interested in filtering in several different ways. The table contains a category for AREA on the Y axis and BLOCKS on the X axis. When unfiltered the tables displays AREA 1,2, and 3 and has a full list of parts. I can then filter the table by AREA to look at one area specifically, and when I do the BLOCKS list shrinks to only those which correspond to that specific AREA.
My problem is that I want to be able to reference on another sheet the value that corresponds to AREA 1 Total regardless of whether the table is filtered to only AREA 1 or if it is unfiltered. I cannot just reference the cell because AREA 1 Total is in a different cell when unfiltered then when filtered. Is there any way to do this?
View 5 Replies
View Related
Mar 20, 2014
I have attached the file. refer to the scorecard sheet where I have KPL Current Year(P02 Total), I would like this to be, instead of average, a division between the CF Kms Current Year(P02 Total) and Litres Curent Year(P02 Total). Is it possible to change it?
View 9 Replies
View Related
Apr 10, 2014
On a pivot table, I want the grand total to be the average. When I code it, the code changes all the values in the column to an average.
if a person's % for April is 95% & the sum of all the people in the table is 1924%. If I change the grand total to average, the person's april % changes to 19% (which is an average instead of a total.
[Code] .....
View 1 Replies
View Related
Feb 6, 2013
I am building a Pivot table and I need to show ONLY the Grand totals at the end of the table. In the example below I want to show only Total volume Stage movement at the end and not the subtotals in the columns.
Column Labels
Pipeline
Best Case
Commit
Closed
[Code]...
View 4 Replies
View Related
Apr 9, 2014
I want to add accumulated total column in paviot table below is the sample
Party Name
Date
Invoice No.
Credit Days
Due Date
Total
[Code]...
The accumulted total per field after total column i.e
Acc Total
21,776
60,725
67,442
195,146
244,407
[Code]....
View 2 Replies
View Related
Jun 12, 2008
I have a Pivot Table With 2 Row field:-
1st Column = Product - Apple and Orange
2nd column = Region - US and Europe
Now Pivot Table look like this
Apple - US: 100
Apple - Europe: 200
Orange - US 50
Orange - Europe 20
Total - 370
How to show instead of Total - 370
Show:-
Total - US 150
Total - Europe 220
Master Total - 370
?
View 9 Replies
View Related
Jun 2, 2006
I have a problem in creating Pivot Table in the format that I want for the purpose of report, so I'm not even sure if I should use it at all.
In the file attached, I have a sample data source in sheet 'Source'. Basically the data are already in the list format.
For the purpose of reporting, I want to make this data in the format of sheet 'Final Format Wanted'. Note that the report only takes in data from columns D, M, N, O ( Headings highlighted in red).
(1) I understand that I can do something like this with a Pivot Table, and I already did something like it in the sheet 'Pivot'.
The Pivot table works well for Total Exposure (data from column M)The thing is, I want just the Grand Total Figures for column N and O instead of putting it in the data section itself. For better explanation, please take a look at sheet 'Final Format Wanted'. I just want the grand total for these 2 columns because they are less important and I want to be able to squeeze just the relevant figures for the report. Can I do this?
(2) Another way I have thought of is actually using a combination of Vlookup and concatenate function (look at sheet 'vlookup'). The thing is, some names that I used to concatenate might appear twice (look at row 39 and 40 in sheet 'Source' under column L), so if I am to use this, I'll need to find Sub-total first then copy and paste each item again into the format I wanted.
To me, this seems to be a really long way of doing it. Pivot Table is preferable in that it can count the total automatically for me, but I can't get the format I want.
Does anyone have any suggestion what I can do? If I use
(1)Pivot table - how can I get just the Grand Total of the other 2 columns?
(2)Vlookup - Is there a faster way in getting the subtotal and ultimately get the data in the format I want?
View 4 Replies
View Related
May 19, 2013
I have a pivot table the has a listing of potential customers and I have included meeting dates in this table. The problem that I have is that the Grand total adds up all the dates and I have a total that doesn't make sense.
I want to hide the total for the 'Date Meeting Setup' column and keep it for the others. Can this be done??
View 2 Replies
View Related
Aug 5, 2014
Pivot_example.jpg
Regarding the attached pivot table screen shot, I would like to be able to add total revenue and cost for each product and overall to this pivot table. IOW, instead of just showing the net amount of 3,200 for all blenders, I would like it to show Revenue of 12,500, Cost of (9,300), and the net amount of 3,200 for all blenders (i.e., for Boise and Chicago combined), in addition to the totals for each of the two plants. Also would like to see total revenue, cost, and net for all products and plants combined at the bottom. Can this be done?
View 4 Replies
View Related
Feb 11, 2013
I have a column in my pivot table with values that are formatted as percents. I am trying to make the grand total reflect the average of all values in the column, but it keeps showing a sum of all values.
Example: the values in the % column are 90%, 100%, and 110%. I want it to show 100% (the average), but it is showing 300% (the sum)
View 1 Replies
View Related