Excel: date converion

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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.
 
David said:
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 no
sort
properly for your.

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 o
the y'
 
Another option is to keep your dates in the original data. But then group by
month (or month and year) inside the pivottable.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Pivot Table 1
Pivot Table - month groups 2
Adding Month Year 2
Copying Dates 1
Date Conversion 1
maximum number of rows in pivot table data 2
2 dimensional date sort 1
Pivot Table/Chart Grouping 4

Back
Top