+ Reply to Thread
Results 1 to 3 of 3

Group Rows in Sheet based on column value

  1. #1
    Registered User
    Join Date
    05-15-2007
    Location
    chennai
    Posts
    23

    Group Rows in Sheet based on column value

    I want to group the rows together based on the value in column A, just like below.
    AAA120 2
    AAA121 A
    CCC200 1
    AAA131 4
    BBB120 2
    AAA141 2
    BBB100 2
    BBB130 1
    CCC300 3

    so i want to place the rows having column value AAA,BBB,CCC one after the other i.e., as below
    AAA120 2
    AAA121 A
    AAA131 4
    AAA141 2
    BBB100 2
    BBB120 2
    BBB130 1
    CCC200 1
    CCC300 3
    how to accomplish this? whether it's possible to do with formula in sheet cells?
    Advance thanks for the feed back...
    Beginner
    krishnarao

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Select your data and click the A-Z icon
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Maybe a couple of helper columns

    Say data in Col A starting in A1. Enter this formula in B1

    =LEFT(A1,1)

    and this in C1

    =MID(A1,4,3) drag down as required

    Then select Column A to C and sort on Column B then by Col C.

    You can then delete the helper columns

    HTH

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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