Hi all,
I have worksheet of data that I need to sort by year then month. Currently when I try to sort the data by data excel sorts by the month then year. Does anyone know how to reverse this so the dates are sorted by year then month???
Thanks!
Hi all,
I have worksheet of data that I need to sort by year then month. Currently when I try to sort the data by data excel sorts by the month then year. Does anyone know how to reverse this so the dates are sorted by year then month???
Thanks!
Last edited by Joe Walsh; 08-13-2013 at 10:27 AM.
1st, check that your dates are actually dates and not text that looks like dates - use =isnumber(cell-ref). If they are text, depending on how they were entered, you may be able to use text2columns to convert them
Keep in mind that a date in excel is a 5-digit number representing how many days have passed since 1/1/1900, so sorting them will work, no matter what format they are in
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks