+ Reply to Thread
Results 1 to 4 of 4

Sorting Multiple Sections

  1. #1
    Registered User
    Join Date
    09-27-2007
    Location
    UK
    MS-Off Ver
    MS365
    Posts
    69

    Sorting Multiple Sections

    I have a table with approx 10k addresses. they all have the same header but i need to sort by house number for each section.

    Is there a way to sort this without selecting each section and sorting that way.

    I have attached a sample to show what i mean.

    Thank you in advance
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,348

    Re: Sorting Multiple Sections

    What we need is the source data, or a sample of it.

    Which version of Excel are you using? Please add this to your user profile.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,118

    Re: Sorting Multiple Sections

    One way, using a helper column:

    =IFERROR(IF(C1="Street",1000*COUNTIF($C$1:C1,"Street"),1000*COUNTIF($C$1:C1,"Street")+B2),F1+500)

    in C2, copied down.

    Select all the data, and sort using the helper column...
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,118

    Re: Sorting Multiple Sections

    If you have really large street numbers (e.g. 1000 Railway Cuttings...), this may need to be tweaked by adding a couple more zeros to the 1000s and the 500.

+ 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. [SOLVED] Inserting multiple rows within different sections help
    By carlos1980 in forum Excel General
    Replies: 3
    Last Post: 07-02-2019, 08:57 AM
  2. Grouping Multiple Sections At Once
    By tryingtoexcelatexcel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-09-2018, 12:49 AM
  3. Copy and paste - multiple sections thru multiple sheets
    By brose99 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-23-2015, 04:02 PM
  4. Replies: 2
    Last Post: 08-14-2013, 02:19 PM
  5. Replies: 7
    Last Post: 12-28-2012, 03:10 PM
  6. Grouping and Sorting Data into Sub sections
    By Impartial Derivative in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-30-2011, 12:20 PM
  7. Sorting Data w/in Multiple sections
    By jeff.nglc in forum Excel General
    Replies: 1
    Last Post: 08-06-2008, 04:29 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