Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default counting records by month and year / date format issues

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.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 143
Default counting records by month and year / date format issues

On Mar 21, 3:54*pm, Barbara Sabatino 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
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,045
Default counting records by month and year / date format issues

On Mon, 21 Mar 2011 12:54:21 -0700 (PDT), Barbara Sabatino 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.


If your dates make up the rows of the pivot table, you can right click/ Group / select months and years.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
count month when date is in day/month/year format ccKennedy Excel Worksheet Functions 6 April 30th 09 03:32 AM
Format date with just month and year Jay3253 Excel Discussion (Misc queries) 6 February 2nd 06 07:17 PM
I need date format to be set up as month/year. Aaron New Users to Excel 2 December 22nd 05 01:46 PM
counting date entries by month & year Di Excel Worksheet Functions 7 August 24th 05 08:39 PM
Month Year Date Format Jamie Excel Worksheet Functions 2 February 7th 05 06:43 PM


All times are GMT +1. The time now is 10:03 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"