+ Reply to Thread
Results 1 to 4 of 4

Sort by date after calculation is done

  1. #1
    Registered User
    Join Date
    06-12-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    8

    Sort by date after calculation is done

    Hi all,

    I feel like I am missing a very simple solution on sorting but I can't seem to figure it out. I have a sheet that calculates a whole bunch of stuff using references from other sheets. Someone here kindly helped me build it and I did some tweaks on it. The main issue I am having is I can't figure out how to sort the entries on the "Summary" sheet so that all the dates are grouped together where the newest dates are at the top. For example it looks like this:

    Person A - 11/20/2016
    Person A - 11/13/2016
    Person A - 11/6/2016
    Person B - 11/20/2016
    Person B - 11/13/2016
    Person B - 10/30/2016
    Person C - 11/13/2016
    Person C - 10/30/2016

    Instead I want it to look like this:

    Person A - 11/20/2016
    Person B - 11/20/2016
    Person A - 11/13/2016
    Person B - 11/13/2016
    Person C - 11/13/2016
    Person A - 11/6/2016
    Person B - 11/6/2016
    ..........

    I have attached the sheet, appreciate the help!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Sort by date after calculation is done

    Unless your summary report is not generated using formula, otherwise, it is almost impossible to sort your report. One solution is to copy your report to a separate worksheet as regular value (or text whatever you want to call it), then do the sorting.

  3. #3
    Registered User
    Join Date
    06-12-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Sort by date after calculation is done

    Is there a way to have it automatically copy it to a new sheet as "regular values" and do sorting? If you could let me know the steps to take that would be highly appreciated. Thanks!

  4. #4
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Sort by date after calculation is done

    You will have to use a macro.

    Give this code a try. (You will have to fix your formula in Column A on your summary worksheet to address the error first as showing in the attachment)
    Please Login or Register  to view this content.
    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. Needing an auto-sort macro from MIN calculation
    By The Navster in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-23-2014, 01:00 AM
  2. [SOLVED] How to sort the data by item code first, then sort them by date?
    By Zecond in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-04-2013, 01:55 AM
  3. Replies: 4
    Last Post: 06-02-2012, 11:26 AM
  4. Replies: 1
    Last Post: 04-18-2012, 05:49 PM
  5. Man Day Calculation and Auto Sort
    By BAAllen in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-03-2011, 09:04 AM
  6. Join Title (A1) w/calculation (X1) to list, then sort
    By Lorim61 in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 03-30-2009, 05:48 AM
  7. [SOLVED] PLEASE SORT OUT THE CALCULATION SETTINGS
    By Adam Thwaites in forum Excel General
    Replies: 0
    Last Post: 05-31-2006, 11:45 AM

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