Pivot table - report filter date formatting

kenny9002

Board Regular
Joined
Aug 22, 2010
Messages
211
I have a Data Table containing details of Sales and Payments Received, and from which I intend to create a Pivot Table for regular analysis.
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>
The Data Table contains about 7 columns, two of which are date columns as follows:
a) Invoice Date
b) Date Paid.
<o:p> </o:p>
The dates currently run from Jan 2007 to April 2011.
<o:p> </o:p>
The dates are formatted as follows:
a) Invoice Date (mmm-yy) using the formula [ =Date(Year(x),Month(x),1) ]
b) Date Paid (mmm-yy) using the formula [ =Text(x,”mmm-yy”) ]
<o:p> </o:p>
Problem:
My problem is with the Date Paid column which I drag into the Report Filter.
When I create a Pivot Table, the Report Filter drop down menu (which houses Date Paid lists the dates paid (which are in months/years) in alphabetical order and not in calendar/year order. Infact, I get something in the following order:
<o:p> </o:p>
Apr-07<o:p></o:p>
Apr-08<o:p></o:p>
Apr-09<o:p></o:p>
Apr-10<o:p></o:p>
Apr-11<o:p></o:p>
Aug-07
Aug-08
Aug-09
Aug-10
Dec-07
Dec-08
Etc
<o:p> </o:p>
How can I format my Pivot Table so that the Report Filter Drop Down Menu arranges the Dates Paid (which are shown in mmm-yy format) by Year and Calendar order.<o:p></o:p>
<o:p> </o:p>
Meanwhile, I need to explain that the reason I formatted the said ‘Date Paid’ column using =Text(x,”mmm-yy”) is because the column contains the text ‘UNPAID’ for those invoices yet unpaid. In my analysis, I would want to know what invoices were paid in which month/year and also the invoices that are yet Unpaid. When I click ‘Unpaid’ from the Report Filter drop down menu, it comes up with the information I want. My problem is to get the Report Filter Drop Down menu to arrange the months/years in calendar order.
<o:p> </o:p>
Thanks for all your anticipated help.

Kenny
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
You are taking Excel "Dates" and changing them into Text, then you want to Sort them.
If they were still dates you could, but since you changed them to Text you can not.

I would re-think using those date to Text formulas.
 
Upvote 0
You are taking Excel "Dates" and changing them into Text, then you want to Sort them.
If they were still dates you could, but since you changed them to Text you can not.

I would re-think using those date to Text formulas.


Hi John,

May I know if you have a suggestion on how I can achieve what I want to do. I need to be able to choose, from the Report Filter Drop Down Menu, the month/year paid in calendar format and also be able to choose 'unpaid' invoices.

As I indicated in my post #1, I have a column that houses the dates each invoice was paid, including the word 'unpaid' typed against each of the unpaid invoices. When I tried to format that column using the date format, those cells with the word 'Unpaid' showed 'Error', but when I formatted the column as indicated in my post #1, I had no error showing in any of the cells in the column. Is there any other approach to this that will enable me to achieve what want to do.

Could any of the forum Excel experts help, please.

Thanks all.

Kenny
 
Upvote 0

Forum statistics

Threads
1,224,506
Messages
6,179,159
Members
452,892
Latest member
yadavagiri

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