I've created a pivot table that is not grouping "like" items. I have verified all fields are numbers using the =isnumber() formula. All items present with the "true" value. Just in case, I tried doing text to columns and refreshing the data but that did not work either. All items are formatted the same. All data fields have values.
then the pivot table of data shows Dept, Sum of Hours, Sum of Total ($), Sum of Days
When you click on the drop down to adjust the filter for the Date it gives you the whole list of dates, day by day as it is in the source data.
Is there a way to make it in the filter by month and year, the way it would in an ordinary filter. So if I wanted to have the pivot table show only the values with an October date I can, rather than having to deselect all and then individually check the boxes for the 1st through to the 31st of October.?
I have a large spreadsheet, which has a pivot table, this is grouped by Date (Months & Years). However whenever I refresh the table the grouping is removed. I try to re group the date, but I get a message saying "Cannot Group that selection"
The attached is the format of a pivot table i have made from a data. MY primary group is the REGION inside the region i want to group as per the LOCATION HEAD.
This report automatically sorts as per the location id.
How is it possible under region i want to group according to the location head and total. i DONT WANT TO CHANGE THE SEQUENCE OF THE COLUMS AND THE FORMATTING
I have a table with outstanding days for Funds owed by multiple accounts which dynamically changes everyday I am looking to group this table by >5days, 6 to 14 days , 16 to 40 days ,>40 to 90days and >90days consistently even though the table will change dynamically every day..
from the Forum on building a macro and was kindly told that a Pivot Table would do the job better, which it does. However, my table has a column of several dates, I was wondering the best way to group the dates into months rather than showing the full date, eg, September instead of 16/09/08 or August instead of 01/08/08.
I have the attached Pivot table. When i create this pivot table, it groups some of the "A# and Name"s.
e.g. "A277003 / VICTORIA WILSON" "A444302 / YASEMIN KELES"
Is there for the pivot table to not group by the A# & Name and to list the A# and names on each row...
Please see Output sheet to see exactly how I would like it?... But i would like this to be done in the pivot table so i can create a macro..... to do this..
I am having issues grouping dates by month in the attached example. The date field is formatted as text. When I attempt to group in the pivot table, I am not given the grouping dialog box. I can't figure out why.
I know how to get the pivot table in the my database to group patients by age. However it groups them like this:5-14 15-24 25-34 35-44 45-54 55-64 65-74
Medically it doesn't make sense to group pediatric patients with adolescents and adolescents with adults. What I would like to do is to get the pivot table to group patients the way I want them. Something like this:5-12 13-18 19-25 26-35 36-45 46-55 56-65 66-75 76-85
Is there a way to get a pivot table to do this? Or is there another solution?
I'm trying to create a pivot table to figure out categories of expenses over the last year. The problem is when i create this pivot table on the horizontal i see all the days of the year, as opposed to categorized by month. I've tried to 'group' the months together but not very successfully. HOW to do this grouping elegantly?
I've attached 2 screenshots.
Pic 1 - Original State of the table with all the days on the horizontal
I'm looking for a quick way of counting the proportion of records in certain number ranges e.g.
Number of records in range 1 to 50, 51-100, 101-500 etc.
i have a pivot table but I'm just not sure how to create these groupings. Is a pivot the right way to do it - or should I be doing something else with the source data.
I had a workbook in Excel 2003 that i just moved to 2010. In the 2003 file I had 2 pivot tables, one each on a worksheet, looking at the same data, just grouped differently. One yearly, one quarterly.
Now in the 2010 workbook whenever I change the grouping on pivot table, the other one changes also. It's like they are linked together or something.
I have recently noticed a problem with a pivot table and assoicated pivot chart. The table has numerous columns from date, location and one entitled route. The route column has a value which is either a number or 'other'. The formatting of the column has been set to general (although the same problem was present under text). The problem is as follows:
When a new row of data is entered where the route is the same value as previous rows it should be grouped together. However when I go into my pivot table and look at the options for route I find the same value repeated twice. ie a route value of 155 will be listed once at the top and then lower down the list. A temporary fix is to rename all values of 155 to x155 and then back to 155. This then has everything grouped again under one value in the pivot table. As soon as new entries are added though the problem repeats itself. Does anyone know why this might be?
I have an expense ledger that looks essentially like this but spans seven months and counting:
HTML 18-Apr-08pizza$10.00Food 14-Apr-08book$12.50School 13-Apr-08milk $3.99Food 13-Apr-08soap $3.99Grooming I have been using pivot tables with great success to summarize my data according to categories, payment methods, etc. But now that I want to track monthly spending for each category, it is not working out. Grouping the date fields doesn't work for me for the following reasons: 1. After grouping, the pivot table treats Jan as the oldest month for sorting purposes even though it isn't so in my data set. 2. Based on #1, I believe that the pivot table’s monthly grouping works like the month() function, which returns the month without the year attached. This will not work for my data, which will likely span more than a year eventually. 3. When I choose to group the date fields in one pivot table, they also get grouped in other tables where such grouping is undesirable. Can I use sumif() or sumproduct() in conjunction with a pivot table or some other way to tabulate my monthly totals?
I have a large spreadsheet which lists individual dates over two years and circulation figures next to each date. Sometimes there are two entries for a particular date e.g. 1/10/08 there were 150 readers of magazine A and 200 readers of magazine B. When displaying this on a graph it give a bar for each day, whereas I would like a bar for each week.
Is there a formula to convert the individual dates into weeks and then total the circulation figures for that week?
I am looking for some assistance to make pivot tables with multiple data values against a control item. A sample excel file is attached herein with. I am quite new to pivot tables was unable to find out a solution self.
It's a given that formatting doesn't alter underlying values in all areas of Excel, merely changing the way cells look. But in the attached I show two pivot tables using exactly the same data with the sole exception that the first one has the date numbers formatted as numbers whereas the 2nd PT has the date numbers formatted as dates.
With the 2nd PT it will accept the Group by month functionality whereas the 1st PT won't.
On the face of it PTs seem to take more notice of the way a number is formatted when it comes to grouping rather than treating the number as a date which it can group.
Using Excel 2007 I have a pivot table that counts that number of incidents based on month and year. To get the month and year I group the date field as months and years.
My problem is if I want to filter specfic months in say year 2012 it also takes out the month in 2013. I though it used to give you the option of year and date in the filter but mines are 2 seperate filters.
Unfortunately I receive an error saying it can't group the selection.
I have done "text to columns" and made the cells - (date values) and I have had no luck.
As I am at work I can't use the HTML genie because it won't install but I have uploaded a dummy file to my dropbox which available from here [URL] .......
I pull this data from an Oracle POWER PIVOT and always have trouble grouping the dates when they come from Power Pivot. Currently working as analyst so figuring this out would make life so much easier as I could group by months etc.
I'm using Excel 2007 and am having an issue with grouping/ungrouping fields in pivot tables.
I have 2 separate pivot tables, both from the same named data source, but summarizing different data selections. Both tables include the date field, I am trying to produce both a daily and a monthly table, but whenever I change the grouping/ungrouping of the date field setting on one table, the other table changes to the same grouping.
Is there anyway to have one table with an ungrouped date field and one table with the grouped to month date field?
I have a database table with selling prices. I want to get a count of number of customers by sales price range.
For example:
Price Count $0-$5 # $5-$10 # $10-$15 # Total
My nose says this is what a pivot table should do but there are too many sales prices and the pivot table craps out. How do I get them into ranges as above and then count them?
I've created a PivotTable using VBA that contains hundreds of PivotItems, which would look bad when a PivotChart is made.
I'd like to set the PivotTable to make visible only the first X items (let's say 10). How would I do this in VBA?The macro recorder gives me the name of the PivotItem, but this varies so I'd like to use an index:
Is there a way to have a Pivot Table show only the Top 10 items based on dollar amount. Data covers a month of daily activity (+/- 250 rows), but i only want the Top 10 items based on Dollar amount. Is this possible?
I know filters can do top 10 but it doesn't consolidate similar items.
I have to check if two items are in column A, and if yes, there values from column B shoulded be summed. I tried different combinations with IF, LOOKUP but didn't go far.
I am trying to use the bellow code to set one pivot item (MyItem) to true and the rest to false... unsuccesfully
Code: For Each pt In Sheets("Schedule Dashboard").PivotTables(PivotTable1) If pt.PivotFields("District").PivotItems(MyItem).Visible = False Then pt.PivotFields("District").PivotItems(MyItem).Visible = True Else pt.PivotFields("District").PivotItems.Visible = False End If Next pt
I'm trying to write a macro to select the multiple sets of the same data for several PIVOT tables. I've tried Slicers but it seems that this takes up too much processing power and always times out.
My workaround is to do a macro that picks out the said data, however when i do the below, plus another 4-500 lines i get told that there are too many line continuations
I copied and modified the pivottable code from http://www.ozgrid.com/VBA/hide-pivot-fields.htm. I am getting a "Run time 13" error on the line I colored purple. I tried removing different "Dim" statements to make it work and I'm having no luck.
Sub PickUpPivotTable() Dim pt As PivotTable, pi As PivotItem Dim lType As Long, lHarn As Long Dim strCri As String, strCri1 As String, strCri2 As String Dim bHide As Boolean Dim xlCalc As XlCalculation Set pt = Worksheets("Monthly Pivot Summary").PivotTables("MonthlyPivotSummary") strCri = "P/U" For Each pi In pt.PivotFields("Type").PivotItems lType = pi..........................