Solved

pivot table report filter grouping

Posted on 2012-12-30
5
317 Views
Last Modified: 2013-02-04
hey guys i want to group the date of one of my pivot table fields. i know how to group it if its in the rows or columns place, but i don't know how to group it if it's in the report filter place. i've attached the picture below, it's showing me individual dates of dec and nov. i want to be able to choose "DEC" or "NOV" or whichever other date it is. could yall help me out? not sure if this is possible or not. thanks guys!!value list shows 1 dec 2012 instead of just dec 2012
(maybe i have to create one more column showing the month(A2) for example - but if i have to resort to that, how do i show "mmm yyyy" format from the list that the user selects from? i know i can format the cell to show "mmm yyyy" but that only shows that format after the user selects 1/12/2012 from the value list.work around adding a month year columnafter formatting the report filter cell
so in the end i used the text formula text(a3,"mmm yyyy") for the work around solution which gave me the right formatting, but how do i sort it in the value list as a sequential months instead of alphabetical order? thanks guys!!
0
Comment
Question by:developingprogrammer
  • 3
5 Comments
 
LVL 16

Assisted Solution

by:terencino
terencino earned 250 total points
ID: 38731977
Hi developingprogrammer, I usually have another column in my data with the month end date for the period, and use that instead of using the grouping functions. However if group them first in the row field, then move it up to the page field, it seems to behave itself a bit better that way. You can use Pivot Table Tools menu > Group Field to group on Months & Years if you prefer
Grouping dialogHope that helps
...Terry
0
 
LVL 2

Accepted Solution

by:
hanklm earned 250 total points
ID: 38733663
When I'm faced with this sort of problem, I introduce integer values for yearmonth equal to Year * 100 + month (where month is one-based).  EG  January 2013 would be 201301.  These values are easily converted back to a date if necessary.   Year = int(yearmonth / 100),  Month = yearmonth mod 100.  date() and eomonth() easily get back to a floating point date values for comparison to other date values.

With this calculated field you should be able to filter as needed and sorting should be a breeze.  It doesn't take long for end users to grasp the concept either.  Although it may be somewhat foreign initially.
0
 

Author Comment

by:developingprogrammer
ID: 38777143
ok guys let me try it and get back to yall. so sorry for the super late response!!!!
0
 

Author Comment

by:developingprogrammer
ID: 38812928
will try this next week guys, sorry for the delay!!
0
 

Author Closing Comment

by:developingprogrammer
ID: 38853734
thanks guys for your help!! appreciate it!! = )))
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question