+ Reply to Thread
Results 1 to 3 of 3

Sort column by column using array

  1. #1
    Forum Expert
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,513

    Sort column by column using array

    I have code from mick
    To sort by col to next column
    But this using range
    How to change this code to array
    Please Login or Register  to view this content.
    How to change using array
    Like this
    But still error
    Please Login or Register  to view this content.

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

    Re: Sort column by column using array

    One way !!!
    The original code appears to be based on the sorting (ascending "Horizontal) of row 1 of "Rng"
    The code below based on array "x" is also based on the first row being sorted.
    Data based on columns "A to E" with Results starting "H1".

    Please Login or Register  to view this content.
    Regards Mick

  3. #3
    Forum Expert
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,513

    Re: Sort column by column using array

    thankyou very match Mickg is Perfect
    i has try change your coding but result missing 1 column next day maybe can i try agaian
    BUT THANKYOU VERY MATCH FOR YOUR HELP
    Please Login or Register  to view this content.
    mic1.png

    mic2.png
    Last edited by daboho; 10-12-2018 at 11:07 AM.
    "Presh Star Who has help you *For Add Reputation!! And mark case as Solve"

+ 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: 12
    Last Post: 09-08-2018, 10:34 PM
  2. Replies: 1
    Last Post: 03-29-2018, 07:58 AM
  3. [SOLVED] Need an Array Formula to Sort a 2-column Table
    By Paddy_Bear in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-10-2017, 05:13 AM
  4. [SOLVED] How write sheets array to sort multiple worksheet in the column
    By Faridwahidi in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 04-03-2014, 04:54 AM
  5. [SOLVED] New to arrays-How to sort a 2D array by the second column?
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-06-2013, 07:48 PM
  6. Sort Array Of Dates Into Single Column
    By Eddiegnz1 in forum Excel General
    Replies: 3
    Last Post: 06-26-2012, 10:20 PM
  7. Sort array depending on 2nd column
    By pmguerra in forum Excel General
    Replies: 22
    Last Post: 04-15-2010, 06:10 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