Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Changing Date for Pivot Table Result

I have a column of dates, 10,000 of them, that I need to change from the
entered date covering over 4 years, to dates that all show the 1st day of the
month. Example: Date Entered=10/3/2008 to 10/1/2008 or 9/23/2007 to
9/1/2007. I need to do this so I can use the Pivot Table feature to give me
results based on specific periods of time, such as months and then quarters.
How can I accomplish this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Changing Date for Pivot Table Result

Actually, you don't need to do this.

You can use the dates in your pivottable, but then rightclick on the date field
and choose:

Group and Show Detail|Group

Then group by months (and year???) or quarter.

But if you wanted, you could add another column and use a formula like:

=text(a2,"yyyymm")
(to return text)
or
=date(year(a2),month(a2),1)
(to return a date (the first of the month).)



dls61721 wrote:

I have a column of dates, 10,000 of them, that I need to change from the
entered date covering over 4 years, to dates that all show the 1st day of the
month. Example: Date Entered=10/3/2008 to 10/1/2008 or 9/23/2007 to
9/1/2007. I need to do this so I can use the Pivot Table feature to give me
results based on specific periods of time, such as months and then quarters.
How can I accomplish this?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Changing Date for Pivot Table Result

Thanks to both Dave and Roger for responding. I will use both as I was not
familiar with the grouping feature in Pivot Tables.

Doug

"Dave Peterson" wrote:

Actually, you don't need to do this.

You can use the dates in your pivottable, but then rightclick on the date field
and choose:

Group and Show Detail|Group

Then group by months (and year???) or quarter.

But if you wanted, you could add another column and use a formula like:

=text(a2,"yyyymm")
(to return text)
or
=date(year(a2),month(a2),1)
(to return a date (the first of the month).)



dls61721 wrote:

I have a column of dates, 10,000 of them, that I need to change from the
entered date covering over 4 years, to dates that all show the 1st day of the
month. Example: Date Entered=10/3/2008 to 10/1/2008 or 9/23/2007 to
9/1/2007. I need to do this so I can use the Pivot Table feature to give me
results based on specific periods of time, such as months and then quarters.
How can I accomplish this?


--

Dave Peterson

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
Pivot table from multiple sheets - odd result Dianna S Excel Discussion (Misc queries) 0 June 6th 07 04:17 AM
Pivot table strange result prufrock Excel Discussion (Misc queries) 0 February 23rd 07 04:40 PM
HELP PLEASE! - APPLYING A % COLUMN TO A PIVOT TABLE RESULT Pete Excel Discussion (Misc queries) 1 February 5th 07 10:42 PM
Pivot Table: How do I hide calculated items that result in zero? David ML Charts and Charting in Excel 1 December 19th 06 05:50 PM
Pivot Tables -changing datasource for exsting Pivot Table kfschaefer Setting up and Configuration of Excel 0 May 30th 06 06:36 PM


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