+ Reply to Thread
Results 1 to 9 of 9

Sorting Column A and Keeping Column B with it Book list

  1. #1
    Registered User
    Join Date
    11-10-2014
    Location
    Idaho, United States
    MS-Off Ver
    2003
    Posts
    3

    Sorting Column A and Keeping Column B with it Book list

    This is my daughters book list. Column A is the author, Column B is the Book title. The ones that are colored in column b are sequels. The numbers in parenthesis are the order of the sequel.
    What I am trying to do is sort alphabetically by author, and keep the books in column b together with the author. I have worked on this for two hours and I'm skunked. If someone could help us we'd really appreciate it! I am using Excel 2003 and she is using 2013. Sample sort worksheet.xls

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,743

    Re: Sorting Column A and Keeping Column B with it Book list

    i dont think you can do that with a sort - as the column A needs to have the author repeated in the same row as the titles
    it maybe possible with some form of VBA - but not my expertise

    you would need to copy the author down for each of the title rows
    and then you can sort by A with a SUB-Sort by B
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Sorting Column A and Keeping Column B with it Book list

    first put all the school books in column b instead of column a
    then in c2 put
    =IF(A2="",C1,A2)
    fill down
    sort everything by column C
    note the authors will be sorted by first name if you want to sort by last name you will have to split them up first
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    11-10-2014
    Location
    Idaho, United States
    MS-Off Ver
    2003
    Posts
    3

    Re: Sorting Column A and Keeping Column B with it Book list

    I don't understand. The books are in column b already. Did you mean that I should move the author to column b also?

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Sorting Column A and Keeping Column B with it Book list

    no they are not ,school books are all in column A listed below the heading in a492:a537

  6. #6
    Registered User
    Join Date
    09-08-2014
    Location
    St Petersburg, FL
    MS-Off Ver
    Office 07
    Posts
    37

    Re: Sorting Column A and Keeping Column B with it Book list

    If you highlight the list of books for the author and click sort you will get a warning box. Mark Continue with the current selection. You then get your sort box and by default you should have sort by Column B/ Sort on Values/Order A to Z. You will have to repeat that for all 77 authors but it worked for me.

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Sorting Column A and Keeping Column B with it Book list

    Here is something to try.
    FIRST Move the book titles from A490 to A537 to column B
    Select column A from A2 to A580
    Click on Find & Select, Go to Special, Blanks, click OK
    Type the = sign then hit the up arrow followed by Ctrl + Enter
    Click on COPY
    Click on Paste, Values......This might be Paste Special, Values.

    Now you should be able to select all the data and sort by the author keeping the books with the author.
    Last edited by newdoverman; 11-10-2014 at 06:01 PM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  8. #8
    Registered User
    Join Date
    11-10-2014
    Location
    Idaho, United States
    MS-Off Ver
    2003
    Posts
    3

    Re: Sorting Column A and Keeping Column B with it Book list

    Thanks, etaf. That worked great. Sorry it took so long to respond. I appreciate your quick response.

  9. #9
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,743

    Re: Sorting Column A and Keeping Column B with it Book list

    your welcome ,thanks for the rep

+ 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. Sorting 5 Columns keeping the earlier column data fixed
    By gaurav225 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-04-2014, 07:06 AM
  2. Replies: 3
    Last Post: 04-28-2014, 02:24 PM
  3. Replies: 2
    Last Post: 10-13-2011, 04:05 PM
  4. Sorting a multi column list in Excel
    By jonsidneyb in forum Excel General
    Replies: 4
    Last Post: 01-06-2011, 08:55 AM
  5. Replies: 2
    Last Post: 01-08-2009, 12:33 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