Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default how do i convert dates to labes eg 01/01/02 to jan 02

DATES ARE HELD AS NUMERICS AND FORMATING ALLOWS YOU TO PRESENT THEM AS DATES
HOWEVER WHEN YOU USE PIVOT TABLES AND AND YOU WANT DATES GROUPED AS MONTHS
OR YEARS ITS IMPOSSIBLE AS THE SOURCE DATE ISN'T HELD THAT WAY
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,355
Default how do i convert dates to labes eg 01/01/02 to jan 02

You could put in a helper column and do something like this

=text(a1,"yyyy") & " - " & text(a1,"mm")

Or
=Date(year(A1),month(A1),1)

--
HTH,
Barb Reinhardt

If this post was helpful to you, please click YES below.



"GIBBON" wrote:

DATES ARE HELD AS NUMERICS AND FORMATING ALLOWS YOU TO PRESENT THEM AS DATES
HOWEVER WHEN YOU USE PIVOT TABLES AND AND YOU WANT DATES GROUPED AS MONTHS
OR YEARS ITS IMPOSSIBLE AS THE SOURCE DATE ISN'T HELD THAT WAY

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default how do i convert dates to labes eg 01/01/02 to jan 02

To extend Barb's answer. If you want the Pivot Table to group by months use
a helper column with =MONTH(A1) where a1 is the first date in your dataset

Please do not use CAPITALS; This is considered to be shouting.
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"GIBBON" wrote in message
...
DATES ARE HELD AS NUMERICS AND FORMATING ALLOWS YOU TO PRESENT THEM AS
DATES
HOWEVER WHEN YOU USE PIVOT TABLES AND AND YOU WANT DATES GROUPED AS MONTHS
OR YEARS ITS IMPOSSIBLE AS THE SOURCE DATE ISN'T HELD THAT WAY



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default how do i convert dates to labes eg 01/01/02 to jan 02

Hi,

Excel's pivot table can group dates by month and year! To do this the dates
must be in the data area as legal Excel dates, no need for helper columns.

1. Suppose you data has Date, Dept and Amount as fields, select the data
2. Choose the command Data, PivotTable and PivotChart Report, click Next twice
3. On the 3rd step of the wizard click Layout
4. Drag the Date field to the Row area, the Dept field to the Column area,
the Amount field to the Data area
5. Click OK, Finish
6. Put your cursor in the Row field (Date) and choose the command
PivotTable, Group and Show Detail, Group
7. In the Grouping dialog box Month will be select, click on Year also (you
could also group by quarter), then click OK.

you've got what you asked for.

--
Thanks,
Shane Devenshire


"GIBBON" wrote:

DATES ARE HELD AS NUMERICS AND FORMATING ALLOWS YOU TO PRESENT THEM AS DATES
HOWEVER WHEN YOU USE PIVOT TABLES AND AND YOU WANT DATES GROUPED AS MONTHS
OR YEARS ITS IMPOSSIBLE AS THE SOURCE DATE ISN'T HELD THAT WAY

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
How do I convert dates stored as dates to text? diamunds Excel Discussion (Misc queries) 5 September 7th 07 05:38 PM
Convert dates hmm Excel Worksheet Functions 3 January 2nd 07 10:01 AM
Convert Dates Jo Anna Excel Worksheet Functions 6 September 8th 06 11:31 PM
How do i get data labes to appear on graph in pivot tables Rosa Campos Charts and Charting in Excel 0 May 9th 06 07:36 PM
need to convert list of dates to count no. of dates by week neowok Excel Worksheet Functions 13 January 30th 06 03:54 PM


All times are GMT +1. The time now is 02:37 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"