+ Reply to Thread
Results 1 to 6 of 6

Table to Array and Sorting

  1. #1
    Registered User
    Join Date
    03-21-2020
    Location
    İstanbul, Turkey
    MS-Off Ver
    2016
    Posts
    27

    Table to Array and Sorting

    Hi,

    I have a table contains a lot of data (such as 20 x 30 dimension).
    I want to turn this table to array and sorting array (small to big) for first column of table. After that, paste array as table to another sheet .
    How can ı write codes?

    Thanks...

  2. #2
    Forum Contributor
    Join Date
    08-08-2005
    Location
    Kansas, USA
    MS-Off Ver
    2016
    Posts
    293

    Re: Table to Array and Sorting

    atakanyy:

    It may be easier to just do the sort in the table, and then do a copy/paste. Those are easy in VBA, you could probably use the recorder to get you started.

  3. #3
    Registered User
    Join Date
    03-21-2020
    Location
    İstanbul, Turkey
    MS-Off Ver
    2016
    Posts
    27
    Quote Originally Posted by gjcase View Post
    atakanyy:

    It may be easier to just do the sort in the table, and then do a copy/paste. Those are easy in VBA, you could probably use the recorder to get you started.
    Copy/paste run it slowly. I want to execute as fast as possible.

  4. #4
    Registered User
    Join Date
    03-21-2020
    Location
    İstanbul, Turkey
    MS-Off Ver
    2016
    Posts
    27

    Re: Table to Array and Sorting

    Topic up...

  5. #5
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Table to Array and Sorting

    See big yellow banner - how to upload your workbook.
    Far easier to give targeted help using physical workbook - shortcuts a lot of questions and 'crystal ball gazing'.
    torachan.

  6. #6
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow Re: Table to Array and Sorting


    Quote Originally Posted by atakanyy View Post
    Hi,

    I have a table contains a lot of data (such as 20 x 30 dimension).
    I want to turn this table to array and sorting array (small to big) for first column of table. After that, paste array as table to another sheet .
    How can ı write codes?

    Thanks...
    Hi,

    for such small data no need array as Copy & Sort Excel features are fast enough !

    Just activating the Macro Recorder and operating manually like any Excel beginner can operate
    you can get your own VBA code base …

+ 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: 1
    Last Post: 03-21-2016, 05:41 AM
  2. Very slow process, sorting large table to identify range to apply array formulae
    By jasonmcasey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-15-2015, 03:40 AM
  3. Sorting table with array formula
    By WoodyFan in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-17-2014, 08:28 AM
  4. macro to put zero's in table array - table array will vary in size each time
    By leanne2011 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-31-2012, 06:12 AM
  5. VBA Array from Table and Sorting?
    By liudingding in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-02-2011, 12:34 PM

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