+ Reply to Thread
Results 1 to 3 of 3

Sorting table and keeping internal strcuture

  1. #1
    Registered User
    Join Date
    01-18-2010
    Location
    Lithuania
    MS-Off Ver
    Excel 2007
    Posts
    1

    Question Sorting table and keeping internal strcuture

    Hello everyone,

    I would like to ask is there a way to sort a table like this:
    Please Login or Register  to view this content.
    to a table like this:

    Please Login or Register  to view this content.
    Basically sort by name, but keep the address values grouped in twos. Thanks in advance.

  2. #2
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Sorting table and keeping internal strcuture

    One quick way is to use a helper column. In C1, =A1. In C2 and dragged down, =IF(A2="",C1,A2). Then sort by column C and delete it afterward.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Sorting table and keeping internal strcuture

    Assuming data starts in 2nd row, in new column add helper formula:

    =IF(A2<>"",A2,C1)

    copied down.. where column A contains names and column C is where you are entering formula.

    Then sort by that column, column C.. you can delete after
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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