date format

D

Dal

Hi all,

I have a spreadsheet containing lots of pivot tables. The source data
contains date formulas in the following ways:

=IF(FR5="","",TEXT(FR5,"yyyy-mm")) this returns dates like----- 2007-11

=IF(GM5="","",TEXT(GM5,"mmm-yy")) this returns dates like------- Nov-07

As a result, when I try to sort my pivot table data by date, the dates that
are shown as Nov-07 are recognised as text therefore only allowing me to sort
by alphabetical order. The dates that are like 2007-11, i am able to sort it
by the earliest/latest dates.

Is there a way i can get excel to recognise all formats so that i am able to
sort by how old the dates are?
 

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