Adding Month Year

R

Richard

I have a data set that has a column with date of service in the format of
mm/dd/yy. I would like to be able to pivot my data set based on mm/yy. Is
there a way I can convert from one format to other without manually inputting
the new column. I know I can reformat my column to appear as I wish, however
the pivot fuction still reads each day as its own data set.

Ex:

I have...12/06/06
I want...Dec-06
and pivot to show Dec-06, Jan-07, Feb-07, etc. for the rest of the rows as
appropriate.
 
G

Gary''s Student

In an adjacent column use:

=TEXT(A1,"mmm-yy") and Pivot on that column (days are avoided)
 
D

Dave Peterson

You can group your dates by Month and year in the pivottable--but that field has
to have dates in each row--no empty cells, no text.

Rightclick on the field in the PT. Select Group and Show Detail, then Group.
 

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

Top