+ Reply to Thread
Results 1 to 7 of 7

Sorting dates with added text issue.

  1. #1
    Forum Contributor
    Join Date
    09-11-2008
    Location
    uk
    MS-Off Ver
    2010; 2016
    Posts
    390

    Sorting dates with added text issue.

    Hi all...have a few problems again, so once again ask for your expert advice!!

    I have a workbook with 2 worksheets, which will be used for a fixture clash template.

    I have used various equations to generate a list which combines various fixtures and dates in a single column which I need to sort in chronological order. I have made all the dates text, and simply cannot get the dates to sort correctly as the sort simply picks up on the 1st numeric value irrespective on the month.

    Once the sort is completed, then I need to distinguish whether there any any clashes e.g. games played on the same day.

    I attach the file in question and welcome any advice.

    Thanks for looking,

    Skyping.
    Attached Files Attached Files
    Last edited by skyping; 11-26-2012 at 09:30 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,093

    Re: Sorting dates with added text issue.

    Maybe:

    =TEXT(Master!H1,"yyyy/mm/dd") & " ("&Master!G1& ") "&Master!F1


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,093

    Re: Sorting dates with added text issue.

    You don't really need two cells for the date and the day:

    =TEXT(Master!H1,"yyyy/mm/dd (dddd)") => 2012/09/25 (Tuesday)


    Regards, TMS

  4. #4
    Forum Contributor
    Join Date
    09-11-2008
    Location
    uk
    MS-Off Ver
    2010; 2016
    Posts
    390

    Re: Sorting dates with added text issue.

    Thanks for the reply TMS. That certainly reduces the number of columns and makes calculations easier to see. Any advice on how to order the resulting list chronologically?

    Regards,

    Skyping

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,093

    Re: Sorting dates with added text issue.

    Any advice on how to order the resulting list chronologically?
    Given that the date is now in YMD format, you can sort it.

    Regards, TMS

  6. #6
    Forum Contributor
    Join Date
    09-11-2008
    Location
    uk
    MS-Off Ver
    2010; 2016
    Posts
    390

    Re: Sorting dates with added text issue.

    For all concern, I've worked for some time on the file and have added a bit of functionality etc, and feel it is completed. Thanks for your help TMS!

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,093

    Re: Sorting dates with added text issue.

    You're welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1