PC Review


Reply
Thread Tools Rate Thread

counting records by month and year / date format issues

 
 
Barbara Sabatino
Guest
Posts: n/a
 
      21st Mar 2011
I have data I've exported that is in format mm/dd/yyyy. I'm trying to
pivot to count the number of records per mmm-yyyy. Is there a way to
change or convert the data of the date--not just the format--to dd-mmm-
yyyy such that I can then add a formula to pull the middle and end
(using MID function) to just give me the mmm-yyyy for my pivot? Or an
esier way if anyone knows that achieves the same endpoint would be
greatly appreciated.
 
Reply With Quote
 
 
 
 
James Ravenswood
Guest
Posts: n/a
 
      21st Mar 2011
On Mar 21, 3:54*pm, Barbara Sabatino <barbs...@gmail.com> wrote:
> I have data I've exported that is in format mm/dd/yyyy. *I'm trying to
> pivot to count the number of records per mmm-yyyy. *Is there a way to
> change or convert the data of the date--not just the format--to dd-mmm-
> yyyy such that I can then add a formula to pull the middle and end
> (using MID function) to just give me the mmm-yyyy for my pivot? *Or an
> esier way if anyone knows that achieves the same endpoint would be
> greatly appreciated.


Hi Barbara:

If you have dates in column A like:

2/1/2006
12/13/2007
6/18/2007
1/8/2002
9/5/2005
12/8/2000
4/6/2008
3/19/2004
6/17/2006
6/11/2002
5/18/2001
7/17/2004
4/5/2001
12/5/2009
12/7/2009
12/14/2000
7/19/2006
6/18/2003
8/7/2010
11/4/2004

then in B1 enter:

=YEAR(A1) &TEXT( MONTH(A1),"00") and copy down to see:

2/1/2006 200602
12/13/2007 200712
6/18/2007 200706
1/8/2002 200201
9/5/2005 200509
12/8/2000 200012
4/6/2008 200804
3/19/2004 200403
6/17/2006 200606
6/11/2002 200206
5/18/2001 200105
7/17/2004 200407
4/5/2001 200104
12/5/2009 200912
12/7/2009 200912
12/14/2000 200012
7/19/2006 200607
6/18/2003 200306
8/7/2010 201008
11/4/2004 200411

You can pivot by the column B values
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
count month when date is in day/month/year format ccKennedy Microsoft Excel Worksheet Functions 6 30th Apr 2009 03:32 AM
please help me format this date to Month and Year Yossy Microsoft Excel Programming 4 31st Jan 2009 03:52 AM
Date format | Month/Year only changes to Day/Month/CurrentYear Paul Microsoft Access 6 23rd Mar 2007 01:27 PM
counting date entries by month & year =?Utf-8?B?RGk=?= Microsoft Excel Worksheet Functions 6 24th Aug 2005 03:49 PM
Converting Date Time format to Month YEar format Prashant Sisodia Microsoft Excel Worksheet Functions 1 11th Jun 2004 03:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:14 PM.