Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 111
Default convert date to text month

i want to make a pivot table with the months as col headings.

my raw data looks like this:
col a col b col c col d
date -- account cost center amt

i have tried formatting col a as date (Jan 01, Feb - 01, etc) but when i
try to put the data into a pivot table with the dates as the col heading, the
pivot table ignores the Jan -01 format and puts each date as a col heading.
i know that i could sort the data and manually put in "Jan" for all the dates
between 1/1 and 1/31 but i have many rows and this is tedious.

thanks in advance for your help
aprilshowers
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 135
Default convert date to text month

April -

Add a column to your data that contains a formula like this:

=TEXT(A4,"mmm yy")

Then use that column instead of the column A for your pivot.

--
Daryl S


"april" wrote:

i want to make a pivot table with the months as col headings.

my raw data looks like this:
col a col b col c col d
date -- account cost center amt

i have tried formatting col a as date (Jan 01, Feb - 01, etc) but when i
try to put the data into a pivot table with the dates as the col heading, the
pivot table ignores the Jan -01 format and puts each date as a col heading.
i know that i could sort the data and manually put in "Jan" for all the dates
between 1/1 and 1/31 but i have many rows and this is tedious.

thanks in advance for your help
aprilshowers

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 111
Default convert date to text month

this works perfectly.

thank you
--
aprilshowers


"Daryl S" wrote:

April -

Add a column to your data that contains a formula like this:

=TEXT(A4,"mmm yy")

Then use that column instead of the column A for your pivot.

--
Daryl S


"april" wrote:

i want to make a pivot table with the months as col headings.

my raw data looks like this:
col a col b col c col d
date -- account cost center amt

i have tried formatting col a as date (Jan 01, Feb - 01, etc) but when i
try to put the data into a pivot table with the dates as the col heading, the
pivot table ignores the Jan -01 format and puts each date as a col heading.
i know that i could sort the data and manually put in "Jan" for all the dates
between 1/1 and 1/31 but i have many rows and this is tedious.

thanks in advance for your help
aprilshowers

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
Convert Month, Week, Year to date Pete Hay Excel Worksheet Functions 3 February 2nd 10 12:43 AM
convert date to name of month holly Excel Discussion (Misc queries) 6 July 30th 09 01:13 AM
Function or formula to convert "text" month to number of month? Steve Vincent Excel Discussion (Misc queries) 5 May 15th 07 01:11 AM
Function or formula to convert "text" month to number of month? Kevin Vaughn Excel Discussion (Misc queries) 0 February 4th 06 04:45 PM
Function or formula to convert "text" month to number of month Steve Vincent Excel Discussion (Misc queries) 1 February 4th 06 04:19 PM


All times are GMT +1. The time now is 10:22 AM.

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"