+ Reply to Thread
Results 1 to 11 of 11

Sorting Column of Dates and Quarters

Hybrid View

  1. #1
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Sorting Column of Dates and Quarters

    How do you want them to be handled ?

    If you want them to appear last in your list then

    =IF(OR(ISNUMBER(A1),A1="undetermined"),A1,DATE(LEFT(A1,4),RIGHT(A1)*3+1,0))
    copied down

    sort based on output.

  2. #2
    Registered User
    Join Date
    07-26-2010
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    23

    Re: Sorting Column of Dates and Quarters

    that will work :D

    thanks, donkeyote!

  3. #3
    Registered User
    Join Date
    07-26-2010
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    23

    Re: Sorting Column of Dates and Quarters

    now on to figuring out the rest of the macro!
    Last edited by succel; 07-27-2010 at 03:50 PM.

  4. #4
    Registered User
    Join Date
    07-26-2010
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    23

    Re: Sorting Column of Dates and Quarters

    Actually, if I'd like the "undetermined" cells to be converted to the date 12/31/2100, what would I modify in =IF(OR(ISNUMBER(A1),A1="undetermined"),A1,DATE(LEFT(A1,4),RIGHT(A1)*3+1,0))?

    or could i insert another column and do a separate if statement to uncomplicate things? in this case, if it's a number copy it over and if it's not (undetermined) convert to 12/31/2100?
    Last edited by succel; 07-29-2010 at 12:58 PM.

+ 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