+ Reply to Thread
Results 1 to 6 of 6

Sorting as per sequence

  1. #1
    Registered User
    Join Date
    04-11-2017
    Location
    India
    MS-Off Ver
    7
    Posts
    6

    Sorting as per sequence

    Hello there
    This is the site suggested by my friend and trying for the first time.
    Kindly correct me if I go wrong anywhere.

    I have a list of numbers in the Project sheet which can go for
    more than 5000+ .

    In Sorted sheet I have the column names in row1 which is already
    defined. In row2 , as per the requirement I receive I mention the range
    for that particular group ( but everyday you get a different range ).

    I needed if I run the command or say click of a button it program reads
    the range from Project sheet and sorts it in the same Sorted sheet (shown in black).

    I have attached the sheet.

    Have a nice day
    gdemi
    Attached Files Attached Files

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Sorting as per sequence

    Try this:-
    Code to produce sorted data in specified columns in sheet "SORTED", from Data in sheet "PRODUCTS"
    You will need to alter the "Select Case" in the code to cater for other columns in sheet "Sorted" that are not yet defined by Number range.
    Please Login or Register  to view this content.
    Regards Mick

    http://www.dec.org.uk/

  3. #3
    Registered User
    Join Date
    04-11-2017
    Location
    India
    MS-Off Ver
    7
    Posts
    6

    Re: Sorting as per sequence

    Thanks for the reply MickG.
    I will get back on this issue because I donot know how
    to make use of the code.
    I will have to first study the process of using the code.
    In case if I have any problem , I will get back to you on this link.

    Thanks again.
    gdemi

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: Sorting as per sequence

    gdemi,

    This is how I read your problem.
    Try the attached.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-11-2017
    Location
    India
    MS-Off Ver
    7
    Posts
    6

    Re: Sorting as per sequence

    Hello again
    I checked the options provided by both MikeG and Jindon.
    The actual required result was useful by the one provided by Jindon. But I also make use of the
    method by MikeG which is slightly different.
    Thanks for the solution.
    as per the rules I need to mark solved, but to both of them.
    I needed one more added option in the code only if possible , since it was not
    mentioned in the question.
    After it sorts and displays the data in Sorted sheet. If it can delete those numbers from the
    Project sheet
    Thanks again.

  6. #6
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: Sorting as per sequence

    Change to
    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)

Similar Threads

  1. Replies: 4
    Last Post: 02-28-2015, 10:46 AM
  2. [SOLVED] Sorting the data with Exchange code for different months and paste it in sequence in next
    By boddulus in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-05-2014, 07:37 PM
  3. How to maintain a sequence in a column despite sorting.
    By Chansforpapalote in forum Excel General
    Replies: 2
    Last Post: 06-04-2014, 12:48 PM
  4. [SOLVED] Filtering, sorting and finding missing sequence using macro (for big Excel file)
    By TallOne in forum Excel Programming / VBA / Macros
    Replies: 31
    Last Post: 05-31-2014, 11:24 AM
  5. Sorting based on a particular column to determine a logical sequence
    By vijaye in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-20-2013, 06:50 AM
  6. Sorting of Data in Numeric Sequence
    By donkeybusiness in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 09-30-2012, 03:08 PM
  7. Replies: 2
    Last Post: 10-13-2011, 02:35 AM

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