Gaming, Computer Tech & Electronics Fortnite.CounterStrike.CallOfDuty.Dota.MineCraft.
Tips & tricks, tech support, home theatre, online gaming, reviews, latest news... |
 |
05-06-2010, 09:41 AM
|
#1
|
|
I don't like cheese but I love milk!
Join Date: Nov 2002
Location: Van
Posts: 1,980
Thanked 895 Times in 243 Posts
Failed 105 Times in 49 Posts
|
Excel help! Converting date -> month for pivot table
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.
|
|
|
05-06-2010, 09:43 AM
|
#2
|
|
Da Vinci's real masterpiece: The Mona Diesel
Join Date: Nov 2007
Location: Richmond
Posts: 1,797
Thanked 563 Times in 247 Posts
Failed 15 Times in 15 Posts
|
right click -> format cells -> number -> date format or something like
|
|
|
05-06-2010, 09:51 AM
|
#3
|
|
I don't like cheese but I love milk!
Join Date: Nov 2002
Location: Van
Posts: 1,980
Thanked 895 Times in 243 Posts
Failed 105 Times in 49 Posts
|
Quote:
Originally Posted by Jsunu
right click -> format cells -> number -> date format or something like
|
argg....please read the question?
|
|
|
05-06-2010, 10:23 AM
|
#4
|
|
I don't like cheese but I love milk!
Join Date: Nov 2002
Location: Van
Posts: 1,980
Thanked 895 Times in 243 Posts
Failed 105 Times in 49 Posts
|
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
|
|
|
05-06-2010, 12:27 PM
|
#5
|
|
RS.net, helping ugly ppl have sex since 2001
Join Date: Apr 2001
Location: 604
Posts: 9,795
Thanked 106 Times in 55 Posts
Failed 5 Times in 2 Posts
|
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
|
|
|
05-06-2010, 02:29 PM
|
#6
|
|
I don't like cheese but I love milk!
Join Date: Nov 2002
Location: Van
Posts: 1,980
Thanked 895 Times in 243 Posts
Failed 105 Times in 49 Posts
|
Quote:
Originally Posted by Eclypz
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
|
Thanxx  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.
|
|
|
 |
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -8. The time now is 05:52 PM.
|