+ Reply to Thread
Results 1 to 9 of 9

SORTING by COLUMN A (NAME) COL B has multiple rows

  1. #1
    Registered User
    Join Date
    06-10-2013
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    3

    SORTING by COLUMN A (NAME) COL B has multiple rows

    I have a big data file that is written in such a way that looks like this:

    A---------------B
    Name1---------Data1
    ---------------Data2
    ---------------Data3
    Name2---------Data1
    ---------------Data2
    ---------------Data3


    Everything is currently done manually to put Name in alphabetical order.
    I want to use SORT function to SORT alphabetically by Column A instead of manually inserting and pasting the lines.
    Column B data should correlate to Column A in same order when you SORT by Column A.

    What is the best way to manage this spreadsheet? I'm open to any suggestions.

    Thank you


    <Attached sample spreadsheet>
    Last edited by mr_sock; 02-06-2014 at 04:33 PM.

  2. #2
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,653

    Re: SORTING by COLUMN A (NAME) COL B has multiple rows

    Try this with a help column
    Attached Files Attached Files
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,705

    Re: SORTING by COLUMN A (NAME) COL B has multiple rows

    In order to sort and maintain integrity, you cannot have any blank cells. Column A must contain values in each cell or it will not sort properly. If you wish to keep the current view as your presentation view, then insert a column to the left of Column A. For every cell, insert the company name that is applicable. Hide the new column A. Sort on Column A.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    06-10-2013
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: SORTING by COLUMN A (NAME) COL B has multiple rows

    Thanks for the response.
    Also, forgot to mention,
    this is going to be ongoing and being shared with other people in network drive so something will be presentable for anybody else to see without any confusion will be important.

    I guess adding the column for Sorting purposes is okay too and then I can hide it.

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

    Re: SORTING by COLUMN A (NAME) COL B has multiple rows

    You have to fill in the blank cells in Column A before sorting:
    1. Select (from your sample) A2:A14

    2. Go to Find and Select, Go to Special and choose BLANKS

    3. Copy

    4. Hit the = sign then the UP arrow

    5. Ctrl + Enter.

    Now you can sort on Column A (Select all of the data so that you don't just sort column A)
    <---------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

  6. #6
    Registered User
    Join Date
    06-10-2013
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: SORTING by COLUMN A (NAME) COL B has multiple rows

    Wow, thanks all. newdoverman, i didn't now there was that fast way of filling in the blanks. Thanks!

  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 by COLUMN A (NAME) COL B has multiple rows

    You're welcome. It is a handy trick to know.

  8. #8
    Registered User
    Join Date
    02-11-2014
    Location
    teh
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: SORTING by COLUMN A (NAME) COL B has multiple rows

    Hi, I have problem with these data with their values in another column! I have ''word[1 ... 168]'' ... which will be sorted like ''word[1]'', ''word[10]'', ''word[101]'', but I want to plot the figure from ''word[1]'', ''word[2]'' to ''word[168]''! Their values are in column B. How can I sort them like ''word[1]'', ''word[2]'', ... to plot their values?

  9. #9
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,705

    Re: SORTING by COLUMN A (NAME) COL B has multiple rows

    @relabz
    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

+ 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 Rows by Value in a column
    By The Monk in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-26-2013, 06:37 AM
  2. Problem with Sorting rows on a column
    By jsoohoo in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-30-2013, 06:53 PM
  3. Excel 2007 : Sorting Rows by Column
    By UdontKnowMe1107 in forum Excel General
    Replies: 0
    Last Post: 11-02-2011, 10:38 AM
  4. Sorting multiple rows
    By ript73 in forum Excel General
    Replies: 3
    Last Post: 09-06-2009, 02:42 AM
  5. [SOLVED] sorting multiple rows
    By CCOD in forum Excel General
    Replies: 1
    Last Post: 07-13-2006, 01:55 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