View Full Version
:
Excel help! Converting date -> month for pivot table
Ferra
05-06-2010, 09:41 AM
Anyone knows how to convert a full date (ex. May, 30, 2009) to simply month-year (May, 09.)
I don't want to make the date to simply "display" as Month-Year. (which I can do by simply formatting the cell format to mmm-yy). I need dates such as May 1, 2009, and May 30, 2009, to become same/equivalent value.
*Basically..what I am trying to do is to categorize a bunch of date into month/year so I can use it in a pivot table.
Jsunu
05-06-2010, 09:43 AM
right click -> format cells -> number -> date format or something like
Ferra
05-06-2010, 09:51 AM
right click -> format cells -> number -> date format or something like
argg....please read the question?
Ferra
05-06-2010, 10:23 AM
btw..i. am looking for a "short" way of doing it..
What I am doing now is basically adding 3 extra columns, one to fetch month(), one to fetch year(), and then combine the 2 strings in the 3rd columns. (*so I get result like "2009-05" for all the dates in 2009 May)
I am hoping I can do that w/o adding the extra columns or writing a very long function formula.
Is there any present function or shorter way of doing it?xcel that can do that
Eclypz
05-06-2010, 12:27 PM
You can group columns in pivot tables
In your pivot table, Right click the date column -> group -> month
(Based off of memory, so it might not be exact)
Posted via RS Mobile (http://www.revscene.net/forums/announcement.php?a=228)
Ferra
05-06-2010, 02:29 PM
You can group columns in pivot tables
In your pivot table, Right click the date column -> group -> month
(Based off of memory, so it might not be exact)
Posted via RS Mobile (http://www.revscene.net/forums/announcement.php?a=228)
Thanxx :thumbsup: That worked!
I remember there was this option too, but somehow couldn't do it earlier.. Turns out there were a few blank cell in the row and that somehow prevented me from using the proper grouping option.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.