Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: Sort problem

  1. #1
    New Member
    Join Date
    Feb 2002
    Posts
    43
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I have a worksheet which includes the following fields:
    Base.....Check.....AC.....Ref....Location
    A......................PA.....N628...HTV/SPO
    A...........x..........PA.....N525...LMN/PCY
    B...........x..........PA.....N526...PCY/LMN
    F......................BM.....G304...MPE/YUR
    C......................LP.....P202...SPR/SPO
    D...........x..........MB.....B190...CPN/OST
    E...........x..........MB.....B191...OST/LMN
    I need to find a way of sorting any of the fields ascending/descending but, where records are marked with an 'x' in the Check field, the records concerned need to stay next to each other as a pair after the sort. Is there any way that this can be done?

  2. #2
    MrExcel MVP Anne Troy's Avatar
    Join Date
    Feb 2002
    Location
    Westwood NJ
    Posts
    2,582
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Two ways:

    Do a Data-Sort and first sort by the Xs column, descending, and then two other columns.

    Or, do an autofilter first, choose the Xs only. Then sort by whatever column(s) you want.

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •