REVscene - Vancouver Automotive Forum


Welcome to the REVscene Automotive Forum forums.

Registration is Free!You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! The banners on the left side and below do not show for registered users!

If you have any problems with the registration process or your account login, please contact contact us.


Go Back   REVscene Automotive Forum > Vancouver LifeStyles (VLS) > Gaming, Computer Tech & Electronics

Gaming, Computer Tech & Electronics Fortnite.CounterStrike.CallOfDuty.Dota.MineCraft.
Tips & tricks, tech support, home theatre, online gaming, reviews, latest news...

Reply
 
Thread Tools
Old 05-06-2010, 09:41 AM   #1
I don't like cheese but I love milk!
 
Ferra's Avatar
 
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.
Advertisement
Ferra is offline   Reply With Quote
Old 05-06-2010, 09:43 AM   #2
Da Vinci's real masterpiece: The Mona Diesel
 
Jsunu's Avatar
 
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
__________________
My Flickr
Jsunu is offline   Reply With Quote
Old 05-06-2010, 09:51 AM   #3
I don't like cheese but I love milk!
 
Ferra's Avatar
 
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 View Post
right click -> format cells -> number -> date format or something like
argg....please read the question?
Ferra is offline   Reply With Quote
Old 05-06-2010, 10:23 AM   #4
I don't like cheese but I love milk!
 
Ferra's Avatar
 
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
Ferra is offline   Reply With Quote
Old 05-06-2010, 12:27 PM   #5
RS.net, helping ugly ppl have sex since 2001
 
Eclypz's Avatar
 
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
Eclypz is offline   Reply With Quote
Old 05-06-2010, 02:29 PM   #6
I don't like cheese but I love milk!
 
Ferra's Avatar
 
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 View Post
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.
Ferra is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -8. The time now is 01:56 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
SEO by vBSEO ©2011, Crawlability, Inc.
Revscene.net cannot be held accountable for the actions of its members nor does the opinions of the members represent that of Revscene.net