+ Reply to Thread
Results 1 to 3 of 3

Sorting part of a sheet

  1. #1
    Forum Contributor
    Join Date
    03-30-2010
    Location
    Manchester England
    MS-Off Ver
    Excel 2010
    Posts
    992

    Sorting part of a sheet

    I need to sort groups of rows, which are contiguous and defined by a cell value. The sorting has to be confined to the group.
    The attached worksheet shows this. I need to sort the values in ColI when the cells in Col H = 3. The rest of the sheet should not be affected.
    In essence I need a sort function that is equivalent to the SUMIF function. I don,t mind if the solution involves VBA or if someone can construct a spreadsheet function. I have been struggling with this with no succes for hours, so help would be appreciated.
    John
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    08-29-2011
    Location
    Mississauga, CANADA
    MS-Off Ver
    Excel 2010
    Posts
    503

    Re: Sorting part of a sheet

    no problem as long as the rows with the "3" values are grouped after each other, but if they are not it will skip the non 3 records from the sorting.
    For example if you have :

    3 r
    3 f
    3 e
    4 b
    4 s

    3 c
    3 a
    3 a

    it will give you:

    3 a
    3 a
    3 c
    4 b
    4 s

    3 e
    3 f
    3 r
    Last edited by Kelshaer; 01-25-2013 at 11:14 AM.
    Regards,
    Khaled Elshaer
    www.BIMcentre.com

    Remember To Do the Following....
    1. Thank those who have helped you by clicking the Star below their post.
    2. Mark your post SOLVED if it has been answered satisfactorily:
    • Select Thread Tools (on top of your 1st post)
    • Select Mark this thread as Solved

  3. #3
    Valued Forum Contributor
    Join Date
    08-29-2011
    Location
    Mississauga, CANADA
    MS-Off Ver
    Excel 2010
    Posts
    503

    Re: Sorting part of a sheet

    Here you go

    Please Login or Register  to view this content.

+ 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