Unable To Group Dates In Pivot Table Despite Formatting The Column
Dec 11, 2013
I have a database of roughly 9000 rows. My first sheet is this data in a raw format (Masterdata!). Each row is a fire-rescue response call and therfore has a time stamp. The raw data uses different formats to provide the time stamp. My second sheet is my filtered data (Filtereddata!). In order to make these time stamps uniform I have a formula that looks at the Masterdata! timestamp column and if it is in a numeric format changes it to a text date and if it is a text date perserves it.
=IF(ISNUMBER(Masterdata!K:K),TEXT(Masterdata!K:K,"dd/mm/yyyy hh:mm"),Masterdata!K:K)
This gives me the "timestamp" which has both the incident start time and the date. I have =left and =right formulas breaking apart the date and the time. Therefore I have two columns on my Filtereddata! for the date of the incident and the time the call came in. What I would like to do is run some pivot tables and group incidents by month. I am unable to group them once I run the pivot table. I get a "Unable to group these items" (or something like this) message. I have assured multiple times that the date column is in DATE format. However, when I change the date to long date or short date I see no changes in the column so I am assuming there is something happening that I'm missing. The formula populating the date column on Filtereddata! is as such:
=LEFT(frfiltereddata[[#This Row],[Timecode]], FIND(" ", frfiltereddata[[#This Row],[Timecode]], 1))
View 5 Replies
ADVERTISEMENT
Dec 31, 2013
I am currently working with a pivot table someone else created. The data set has dates only, in the correct format. The slicer has the dates categorized by month and excludes the dates in which there was no data.
Here is my problem: I added a few new months of data. Everything is calculating just fine in the Pivot table. However, my slicer where I should be able to pick the month now has these months listed as all their individual dates. I want to put the December dates under "December" and so on. The data that was present before I loaded anything additional still has this feature.
How do I group these dates, to be able to them as months? By the way, the grouping function is grayed out.
View 3 Replies
View Related
Aug 8, 2012
I have a stripped down data source for debugging purposes. I only have 4 rows of data for test purposes. The dates are formatted as dates.
When I create the pivot table the dates become my column values. When I select the first date in the pivot table the Group By Field menu option is grayed out. I tried setting a tabular format but didn't work.
View 9 Replies
View Related
Apr 10, 2012
I have a pivot table with dates in the row filter as listed below. I want to group by month. For some reason when I select one of the dates and try to click the Group Field button in the pivot table tools menu it is blanked out and will not allow me to do so.
4/1/20085/1/20086/1/20087/1/20088/1/20089/1/200810/1/200811/1/200812/1/20081/1/20092/1/20093/1/20094/1/20095/1/20096/1/20097/1/20098/1/20099/1/200910/1/200911/1/200912/1/2009
View 3 Replies
View Related
Nov 12, 2009
I have date fields as column labels in a pivot table. When I try to group them I'm only given the option to group by integers and not by months, years etc.
I've had a look at the format settings of the column and they are formatted as date fields.
View 9 Replies
View Related
Apr 25, 2014
I am having trouble getting some conditional formatting to apply to all cells in a column in a pivot table. Currently, the conditional formatting is only applying to the top level items in the pivot but is not applying to the lower level items. I can see why it is doing this. the range in "Applies to" is only specifying the rows that contain the top level items. I tried to change the range to D10:D647 but, it reverts back to just the top level items. How to get it to apply to everything?
Image attached : Capture.JPG
View 2 Replies
View Related
Mar 30, 2014
I am unable to right click anywhere inside a pivot table in any sheet i... i have to create a new pivot table in a new workbook and I am unable to right click over there too.
View 1 Replies
View Related
Apr 16, 2014
I've a table of historical members status list. with this table, I could track each member status history, since the beginning they become a member.
Here is the short of table
Name
Member Status
Date
Adel
New Member
1-Jan-14
[Code] ....
I expect to use Pivot table to show how many people which are still "New Member" and/or "Junior Member" up to now. From the table above, there should be: only one person who still as New Member. because it is only Smith, and only two people with Junior Member. they are Adel and Jhon.
I've search around and found the following useful link, viewing only the last date in a pivot table for each user
also A quick way to return the latest date in a subset in Excel
How to know the last status of each user (each member in my case).
View 3 Replies
View Related
May 28, 2014
I'm trying to get the parent item name of a clicked cell (e.g. when I double click on field "Commessa 2" I'd like to get "Region 3" and pass it to another sheet)
Here is my code:
[Code] .....
When I run this code, I get the message "Unable to get the ParentItem property of the PivotItem class"
Attached Image : Capture.PNG
View 1 Replies
View Related
Aug 19, 2013
I am using Excel 2007 and my version of visual basic is 6.5.
I am baffled by the behavior of this code to manipulate one of my pivot tables. I am trying to set all but one of the pivot items in one of the pivot fields to not visible. Because there is a large number of items, I wish to suspend all automatic updates until all items are properly set to visible or non visible.
------------------------------------------------------
Sub SwitchBoards()
Dim BoardNew As String
Sheets("Board Parameters").Select
' Make sure we get the right value.
[Code].....
The MsgBox returns with: "Manual update is set to False" right after the instruction to set it to True!!
View 12 Replies
View Related
May 7, 2014
why the Group Field option is not available in my Pivot Table. Other Pivot Tables in the same document, using data formatted the same way will let me format the data (the original data is in MM/DD/YY [h]:mm format). I have floored my data so that I can group by hour of the day, but it's not letting me do that.
View 3 Replies
View Related
Aug 18, 2014
I have a column called Received Date (cell/column is format in dd-mm-yyyy that's found under 'Custom') which I make it into a pivot table, and GROUP it based on Year and Months.
Below is a look of it
-2012
Sep
Nov
-2013
Aug
Nov
-2014
Jan
Feb
Mar
Where the - sign is actually the expand of the year to see all the months in that particular year.
My question now is, how do I get the year from each of the month?
how do I get the "year" for the month of Nov in 2012 and 2013?
View 2 Replies
View Related
May 1, 2007
I am challenged/very frustrated with my pivot table which will not group dates (returns an error message).
In reading other posted questions, I see that my problem is caused by empty date cells. Is there a way around this?
My spreadsheet will be used daily to input Invoice details - part of which is the date of invoice. If I were to select 'refresh data', this would not be pulling through any new data as it wouldn't be in the range. I had made my range A1:K1500 to incorporate future entries, but then I have empty date cells as to date there are only 200 entries.
View 9 Replies
View Related
Nov 2, 2011
One cool feature of 2010 is ability to (right click on dates) and Group them into Quarters.
How to change the Quarters to be in line with e.g. Financial Year, as opposed to fiscal years? i.e. have a start date of say June?
View 5 Replies
View Related
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
Nov 8, 2002
When I group information in a pivot table by date, and select quarters or years, it is of course based on a calendar year. Can this be done by fiscal years?? using an addin or something, where I set the start month of the custom fiscal year.
View 5 Replies
View Related
Nov 28, 2012
My data has a field for "Donor Type." There are about 2 dozen types of and about half of them start with the letters CF. When I do a pivot table, instead of getting 2 dozen rows of data I'd like all the CF donors to be in the same row. Is there a way to do that without changing my data? Some sort of filter or grouping within the pivot table?
View 1 Replies
View Related
May 21, 2014
I have a range of data over approx 300 rows. The first column contains dates.
I have created a pivot table and want to group the data by month. I have right clicked the table, grouped by months and selected the whole year as the date range.
For some strange reason the pivot table starts at 1/1/14 but ends at 21/2/14? It will not show the whole year.
View 1 Replies
View Related
Sep 6, 2012
How to incorporate a calculated field for a sub group.
Here's what the data in the table looks like.
Competitive
Managed
ID
A
B
C
A
B
C
[Code] .....
I am looking to get 3 calculated fields onto the Right hand side that would essentially be the following Formula
=IF(L4"",IFERROR(D4/H4,"n/a"),"")
Thus,
1st Column
=IF(Competitive(A)"",IFERROR(Competitive(A)/Managed(A),"n/a"),"")
2nd Column
=IF(Competitive(B)"",IFERROR(Competitive(B)/Managed(B),"n/a"),"")
3rd Column
=IF(Competitive(C)"",IFERROR(Competitive(C)/Managed(C),"n/a"),"")
The other option would be how to set up conditional formatting to always take on the appearance of Column K of the pivot table. Thus, this calculated section would always appear as though a part of the pivot table and would adjust based on any pivot table items being expanded and collapsed.
View 7 Replies
View Related
Apr 4, 2008
there are a multitude of issues with US date formats when you're not in the US but I've run across one that I can't figure out.
I have a source table that has approx 5000 lines on it, everything looks correct and all the dates are in the correct (Australian) format. However when I use it to make a pivot table, any dates that are before the 12/m/yyyy gets changed to the mmddyyyy format in the pivot table only, all the source dates are still correct.
View 3 Replies
View Related
May 28, 2013
I am unable to change the date format in a column of dates. The cells have values that look like the following: 4/29/2013 8:59:12 AM. I want to change these to YYYY-MM-DD format, but no matter what I try the format will not change.
View 4 Replies
View Related
Feb 23, 2008
Last week I posted a question related to formatting a cell to return a Day of the Week versus a numerical representation IE "Wed" instead of 02/20/2008 12:00AM. The solution provided worked for me:
1) Format cell to DDD MM/DD/YYYY HR:MN. Cell range (A1:A500)
2) Format destination cell with DDD. Cell range (B1:B500)
3) Destination cell (B1) = to original cell A1
4) B1 displayed data as "Wed"
However, the issue I still have is; I wanted to create a pivot table summarizing a year activity by Day of Week (in other words 7 entries for the year) and the pivot table still recognized all the MM/DD/YYYY. I ended up with a table displaying every day of the year instead of a yearly summary by Day of Week. Is there some way to strip out all the other numerical data from the new column I created to run a pivot table by Day of the Week for a whole years activity?
View 2 Replies
View Related
Apr 28, 2014
Cells in row C have numbers (number of days between date a and date b)
I want to group the days so I can run a usable pivot table as follows:
Up to 7 days between update date and today (ie 1 week) 8-14 days between update date and today (ie 2 weeks) 15-21 days (ie 3 weeks) 4 weeks +
My attempt is as follows but only give two results and not 4?
=IF(OR(C2<=7),"1-7days",IF(OR(C2>=8,C2<=14),"8-14days",IF(OR(C2<=21,C2>=15),"15-21days","Over4weeks")))
View 3 Replies
View Related
Sep 18, 2008
new data goes into the report, the pivot table looks at a dynamic range and confirmed that the range doesn't select any empty cells.
Just wrote a macro to fill missing cells with a data on workbook open.
all the data is date form, yet still when i refresh the pivot table i look my montly grouping, when i try to group again it says "unable to group"
View 9 Replies
View Related
Nov 19, 2009
i have a spreadsheet containing to columns "Date from and "Date to". the sheet is recording the attendance of staff. how can i create a pivot table to display how many days staff attend across months. i cannot us the first date "date from", as this will display all the days attended
View 4 Replies
View Related
Jan 9, 2009
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.
View 8 Replies
View Related
Nov 22, 2006
I have a checkbook register set up in Excel, and I really like it. I thought it would be good to set up a pivot table to organize all of the entries into an expense report. I have done this for over a year now, and I love everything about it, but here is the problem:
Now that I am getting so many entries, I thought it would be a good feature to limit the pivot table to a date range. I created 2 entry cells at the top of the pivot table to put a start and end date. I would like the pivot table to compare the entries in the register to the dates, and only include the entries between those dates. How do I do this?
View 9 Replies
View Related
May 31, 2007
I've got a database view that holds data for over a year, i use a - 2 day rule to show net data, for example
todays date is the 31th 5 2007 if i show data up untill today it will be gross data, so i use the -2day rile to show the net data,
the way i do this is in a pivot table i hide the last 2 date.
I have a DTS package the refreshed the Pivot table but i'd like also to have a macro or maybe vba script to ide the
2 last days this will have to happen every day so for to day it will hide the 30th and 29 tomorrow it will show
the 29th and hide the 30 & 31th. I still need to have the data for the 30th & 31 in the drilldown as some people work with
the gross data so i can't just make the change inthe database i wish it was that easy. At the moment i go in to the
pivot table and Highligh the last 2 days. i'd like a way of doing this automically.
View 5 Replies
View Related
Feb 13, 2007
A report is written in a massive text file, and i've got my code to shrink it down, tidy it up and spit out a nice pivot table which my manager wants to be pretty colours (colors for US spelling). So far i've go this (which i recorded lazily):
ActiveSheet.PivotTables("PivotTable2").PivotSelect "Division[Numerical]", _
xlDataAndLabel
With Selection.Interior
.ColorIndex = 35
.Pattern = xlSolid
End With
Now - what happens if there are no entries for the "Numerical" division? ERROR!!!
How can i get some kind of "IF this division is present - color 35 please, if not, carry on" command? I have experimented til all the cows have come home, but i still end up with errors and freezing.
View 2 Replies
View Related
Oct 16, 2009
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?
Column A = Dates
Column B = Circulation Figures
View 9 Replies
View Related