+ Reply to Thread
Results 1 to 4 of 4

Sort Grouped Rows &/or Columns

  1. #1
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Question Sort Grouped Rows &/or Columns

    Hi,

    I have a log template that I created & using to track business travel mileage

    As you will see through the template, I'm trying to sort through:

    Column(s):

    D - Dates
    E - "A,B,C,D" - Original attempt to keep same order throughout template

    These are 2 columns only needed to sort.

    Issues I'm having is if my entries has the same date & then wen I sort, the "A,B,C,D" gets re-ordered instead of staying as is or will sort alphabetically.

    How can I avoid this or sort groups of rows?

    See attached example

    Thanks
    Attached Files Attached Files
    MyCon
    -- Using Latest Version of Excel

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Sort Grouped Rows &/or Columns

    I dont understand what the problem is?
    If you sort, 1st on column D (Dates), then on column E (Letters), then the letters will of course sort A-Z (or Z-A if you select that)

    If you only sorted on E, then excel tries to "help" by sorting based on the next column. Col E looks to be in A-Z sequence anyway?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Sort Grouped Rows &/or Columns

    If only "D" & "E" column sort, then after column "F" data stand still and data mismatch with original date.
    Why not select complete table and sort with date.
    Refer attach file sort as per above condition.
    Attached Files Attached Files


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  4. #4
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,054

    Re: Sort Grouped Rows &/or Columns

    Hi FDibbins & AVK,

    Thanks for providing feedback.

    I think I just resolved my own issue with your feedback. I thought I originally needed 2 columns (D & E) to sort & keep the "A,B,C,D" order in column E & when I had 2 of the same dates, that would re-order alphabetically, putting "A,A' for example.

    Now, it appears that only need column D or the dates to order instead of using column E & still keeps the, "A,B,C,D" order.

    I'll check back if I still have issues with my master file.

    Thanks again for the assistance.

+ 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. Replies: 2
    Last Post: 01-10-2014, 09:30 PM
  2. [SOLVED] Sort Individual Rows within Grouped Data
    By dshack in forum Excel General
    Replies: 3
    Last Post: 09-15-2013, 12:34 PM
  3. Sort Grouped Rows
    By Unifyzero in forum Excel General
    Replies: 2
    Last Post: 05-23-2013, 05:45 PM
  4. Sort Grouped Rows by Cell in Group
    By hpush in forum Excel General
    Replies: 2
    Last Post: 11-20-2012, 05:48 PM
  5. keep rows grouped and sort
    By johnny1 in forum Excel General
    Replies: 4
    Last Post: 07-22-2010, 02:03 PM
  6. How to sort when info is grouped in rows?
    By LaVerne in forum Excel General
    Replies: 5
    Last Post: 06-20-2005, 08:05 PM
  7. [SOLVED] How to sort by grouped rows
    By Mike in forum Excel General
    Replies: 2
    Last Post: 04-05-2005, 06:06 PM

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