Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
pradeep-kar
 
Posts: n/a
Default Excel: date converion

Excel: i need to convert date format <12/17/2004 to TEXT :< Dec 04 or <Dec
2004. I need this data so that i can make a pivot table based on Month wise
data.
  #2   Report Post  
David McRitchie
 
Posts: n/a
Default

You can create a helper column for use in your pivot table
D2: =TEXT(A2,"mmdd")
E2: =TEXT(A2,"yyyy")

Don't use mmm or mmmm for Jan or January as they will not sort
properly for your.
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"pradeep-kar" wrote in message ...
Excel: i need to convert date format <12/17/2004 to TEXT :< Dec 04 or <Dec
2004. I need this data so that i can make a pivot table based on Month wise
data.



  #3   Report Post  
Paul Sheppard
 
Posts: n/a
Default


David McRitchie Wrote:
You can create a helper column for use in your pivot table
D2: =TEXT(A2,"mmdd")
E2: =TEXT(A2,"yyyy")

Don't use mmm or mmmm for Jan or January as they will not
sort
properly for your.
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"pradeep-kar" wrote in message
...
Excel: i need to convert date format <12/17/2004 to TEXT :< Dec 04

or <Dec
2004. I need this data so that i can make a pivot table based on

Month wise
data.


Hi pradeep-kar

Try this =TEXT(A1,"mmm yyyy"), this assumes your date is in cell A1,
and for 12/17/2004 will return Dec 2004, if you want Dec 04 remove 2 of
the y's


--
Paul Sheppard


------------------------------------------------------------------------
Paul Sheppard's Profile: http://www.excelforum.com/member.php...o&userid=24783
View this thread: http://www.excelforum.com/showthread...hreadid=397734

  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

Another option is to keep your dates in the original data. But then group by
month (or month and year) inside the pivottable.

pradeep-kar wrote:

Excel: i need to convert date format <12/17/2004 to TEXT :< Dec 04 or <Dec
2004. I need this data so that i can make a pivot table based on Month wise
data.


--

Dave Peterson
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
today's date in excel David Excel Discussion (Misc queries) 2 June 2nd 05 01:15 PM
Excel Query Wizard Date Format aldsv Excel Discussion (Misc queries) 1 May 31st 05 12:44 PM
Excel formula with date constraints Warrior Pope Excel Discussion (Misc queries) 3 January 28th 05 03:08 PM
In Excel 2003, entering date without slashes, the date is incorre. sj Excel Discussion (Misc queries) 6 January 6th 05 03:07 PM
Excel 2002 date formulas problem Andrew Warren Excel Worksheet Functions 4 January 6th 05 11:35 AM


All times are GMT +1. The time now is 10:21 PM.

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"