Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
KK KK is offline
external usenet poster
 
Posts: 61
Default Display dates as months

Hi,

I have a range of dates such as:
3/19/2003
3/20/2003
3/20/2003
3/20/2003
3/21/2003
3/21/2003
3/21/2003
I need this to be converted in the Mar-03 format and do away with the
individual dates so that I can use it for a pivot table. The above is only an
example as I have 40,000 entries as above all various months.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Display dates as months

One way is to use DataText to cols to convert the source col "dates" to real
dates, then apply a formula in an adjacent col using TEXT for use in the PT

Assuming the source col is col A, data in A1 down

Select the source col A, click DataText to Columns
Click Next Next.
In step 3 of the wiz, check "Date", select MDY from droplist, click Finish
This converts the entire col to real dates.

Then place in say, B1:
=TEXT(A1,"mmm-yy")
Copy down, then freeze the values in col B with an "in-place" copy paste
special as values. This gives the required format in a col you can use in the
PT (col B) while preserving the source dates col as-is in col A (for other
use as may be desired)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"KK" wrote:
Hi,

I have a range of dates such as:
3/19/2003
3/20/2003
3/20/2003
3/20/2003
3/21/2003
3/21/2003
3/21/2003
I need this to be converted in the Mar-03 format and do away with the
individual dates so that I can use it for a pivot table. The above is only an
example as I have 40,000 entries as above all various months.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Display dates as months

Select your range Custom Format mmm-yy

"KK" wrote:

Hi,

I have a range of dates such as:
3/19/2003
3/20/2003
3/20/2003
3/20/2003
3/21/2003
3/21/2003
3/21/2003
I need this to be converted in the Mar-03 format and do away with the
individual dates so that I can use it for a pivot table. The above is only an
example as I have 40,000 entries as above all various months.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Display dates as months

On Thu, 19 Apr 2007 19:24:03 -0700, KK wrote:

Hi,

I have a range of dates such as:
3/19/2003
3/20/2003
3/20/2003
3/20/2003
3/21/2003
3/21/2003
3/21/2003
I need this to be converted in the Mar-03 format and do away with the
individual dates so that I can use it for a pivot table. The above is only an
example as I have 40,000 entries as above all various months.


Would not Grouping by months in the Pivot table (or Months and Years)
accomplish the same result more easily?
--ron
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
Display Months by looking at the dates [email protected] Excel Worksheet Functions 4 January 24th 07 06:32 PM
I want to display months and years on x axis Michael Drayton Charts and Charting in Excel 1 April 21st 06 01:43 PM
Adding months to dates should account for 28-30-31 day months Graham Excel Worksheet Functions 3 February 1st 06 12:06 PM
I want to subtract 2 dates and display the result as months Dave Excel Worksheet Functions 3 January 30th 05 05:41 PM
How do I display months and years between two dates JSmith Excel Discussion (Misc queries) 1 November 30th 04 04:41 PM


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

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

About Us

"It's about Microsoft Excel"