+ Reply to Thread
Results 1 to 2 of 2

to copy and sort values into different rows based on codes

  1. #1
    Registered User
    Join Date
    01-24-2010
    Location
    New Zealand
    MS-Off Ver
    Excel 2003
    Posts
    1

    to copy and sort values into different rows based on codes

    Hi
    I have a set of data as follows: (these are in continuous columns)
    BAACNDL DIGOUPL CHOOTXX BAACNXX
    cols cells cols cells cols cells cols cells


    1 1 2 2 24 24 1 5
    5 10 123 26
    5 10 123 5
    12,000 23,000 15,000 7,000

    I need to copy the values and sort them as followsbased on the beginning two letters of the code i.e. BA, CH, DI etc) - no gaps between rows for each set below.
    Add a heading for this set as BACILLARIO
    BAACNDL 5 5 12000
    BAACNXX 26 5 7000

    Add a next heading called CHLORO and then copy
    CHOOTXX 123 123 15000

    Add a next heading called DINO and copy the follg values:
    DIGOUPL 10 10 23000


    Can somebody help me with this? Thanks

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

    Re: to copy and sort values into different rows based on codes

    love to but i am not going to set up a worksheet, create one with your sample data then attach it here with before and after results
    "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

+ 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