+ Reply to Thread
Results 1 to 6 of 6

dates - single and multiple

  1. #1
    Registered User
    Join Date
    08-19-2009
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    8

    dates - single and multiple

    I'm doing our training schedule for 2010. Some course we have are multiple date (ie. September 12 - 13) some are singular (ie. January 9). We have a date column. For the single dates it automatically converts to date format. For the multiple date is stays as text format. this is very confusing when we sort by date as every course that has multiple dates doesn't sort properly (because it's in text format). Is there a practical way to go about doing this, so if someone were to sort by date it would would sort properly -whether it's multiple or single dates? Let me know if anyone has any ideas. I'd prefer not to have 2 columns - column 1 being (course start) and column 2 being (course end)..but not sure if this is possible.
    Thanks,S
    Last edited by NBVC; 08-20-2009 at 01:47 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: dates - single and multiple

    Can we see a sample of exactly how you have the dates entered in this column?
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    08-19-2009
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: dates - single and multiple

    So for one column I have
    11-Nov (date format)
    November 13 & 14 (txt format)
    12-Dec (date format)
    December 15 & 16 (txt format)

    if someone is sorting it doesn't work in choronological order becuz of the mixed format...

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: dates - single and multiple

    You can use a helper column that will convert the first date in the 2-date fields to an actual date and then you can sort by that column....

    use formula:

    =IF(ISNUMBER(A1),A1,(LEFT(A1,FIND("&",A1)-1)&", 2009")+0)

    copied down

    where A1 contains first date cell (numeric or text)... it will keep the numeric ones as is but convert the text into the numeric of the smaller date....

    then sort by that column.

  5. #5
    Registered User
    Join Date
    08-19-2009
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: dates - single and multiple

    Thank you soooooooo much

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: dates - single and multiple

    No problem.

    Can you please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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