change dd/mm/yyyy to mm/yyy

mck1dad

New Member
Joined
Jul 2, 2002
Messages
31
I do not just want to do a format change because my pivot table still sees the day and brings all the dates into the pivot table.

I want the pivot table to group by month sort by month and count by months and not the specific days in the month

thanks
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
The reason is that there are blank cells in the Scheduled date column (and maybe those blanks having the General format might also screw things up).
Solutions:
1. Sort the source data by scheduled date and only select that part with valid dates in that column for inclusion in the Pivot Table.
2. Format the blank cells in that column in the same way as those cells with dates in, then put some dummy data in there - something which can't be confused with real data. I put a 1 in them representing 1 Jan 1900. Then you'll be able to group by month - you'll probably want to group by year too, as all Januaries will be lumped together. Then in the Pivot Table you can filter out that dummy year/date.
See here, the section titled "Problems when Grouping Data" here, and here.

I'll briefly put a file up with a sheet3 with it done. (This was done in xl2010 in compatiblity mode, so I hope it still works. The following embedded link will die tomorrow.

ps. I'm guessing the fomat actually matters much, as long as they're all excel dates, it should group properly.
<embed src="http://www.box.net/embed/ex1rgdtr5xa9y3m.swf" wmode="opaque" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" height="400" width="466">
 
Last edited:
Upvote 0
like I said must be something simple and it was the blanks issue screwing it all up.

I really appreciate you hanging with me on this.

Thanks for your help!
 
Upvote 0

Forum statistics

Threads
1,224,607
Messages
6,179,871
Members
452,949
Latest member
Dupuhini

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top