+ Reply to Thread
Results 1 to 5 of 5

Sorting by Date Macro

  1. #1
    Registered User
    Join Date
    12-26-2015
    Location
    Las Vegas
    MS-Off Ver
    2013
    Posts
    56

    Sorting by Date Macro

    Hello Gurus,

    I cannot figure out why this doesn't work for data with 2017 dates in it... it works for 2016 just fine... any help would be AMAZING!

    Please Login or Register  to view this content.
    Last edited by InkyDrinky; 01-03-2017 at 11:33 AM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,851

    Re: Sorting by Date Macro

    InkyDrinky, please add CODE tags to your code to comply with our rules.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    12-26-2015
    Location
    Las Vegas
    MS-Off Ver
    2013
    Posts
    56

    Re: Sorting by Date Macro

    Quote Originally Posted by 6StringJazzer View Post
    InkyDrinky, please add CODE tags to your code to comply with our rules.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7.
    All Done sir

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Sorting by Date Macro

    Hi,

    Almost impossible to say unless we can see the actual data. Please upload the workbook.

    However your title says this is a Sorting request but it's not entirely clear what your macro is doing. Are you trying to sort a data set using a hierarchy of several columns and is there some reason why the normal standard SORT functionality won't work?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Registered User
    Join Date
    12-26-2015
    Location
    Las Vegas
    MS-Off Ver
    2013
    Posts
    56

    Re: Counting by Date Macro

    I knew I should have attached a file to start! Sorry about that...

    Attached is DATA from 2016 that works great... then a file with 2017 that does not work...
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro for date sorting
    By Patcheen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-06-2016, 02:44 PM
  2. Sorting by date for an irregular date format
    By needhalp in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-14-2014, 04:20 PM
  3. Converting Text to Date & Sorting on Date
    By andresndor in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-10-2014, 04:48 PM
  4. Sorting by Date--Need help when sorting by 2-digit year
    By Farris_TN in forum Excel General
    Replies: 3
    Last Post: 06-20-2013, 11:20 AM
  5. Sorting Data by Date in Macro
    By ldaxford in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-10-2010, 12:36 PM
  6. Date Sorting with key field as date and month only.
    By kvbalakumar in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-13-2009, 03:02 AM
  7. 3 columns; date and two data, problem is sorting and calculating with respect to date
    By phosphorescence in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-29-2008, 04:21 PM

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