+ Reply to Thread
Results 1 to 6 of 6

Sort cells randomly in multiple columns

  1. #1
    Registered User
    Join Date
    11-07-2013
    Location
    Romania
    MS-Off Ver
    Excel 2003
    Posts
    9

    Sort cells randomly in multiple columns

    Hello

    I need a macro that will sort cells randomly in each column A1:A2323, column B1:B2323 ...column CZ1:CZ2323 (104 columns).

    Unfortunately I don't have much experience using VBA so any assistance you could provide would be really appreciated.

    Kind Regards
    Last edited by MORACH87; 11-08-2013 at 03:08 AM.

  2. #2
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Sort cells randomly in multiple columns

    See if this helps. Please try on a small set of data first.

    Please Login or Register  to view this content.

  3. #3
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Sort cells randomly in multiple columns

    I just tested a little with 2100 rows x 100 columns of data and the results wasn't satisfactory to me. It didn't look random enough.

    Made some amendments:
    Please Login or Register  to view this content.

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

    Re: Sort cells randomly in multiple columns

    Try this
    Please Login or Register  to view this content.
    Last edited by jindon; 11-08-2013 at 08:14 AM.

  5. #5
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Sort cells randomly in multiple columns

    Another:
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    11-07-2013
    Location
    Romania
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Sort cells randomly in multiple columns

    Hi

    Thank you very much for your help and for the quick response. It really means a lot to me.

    Millz I tested your final version of the code and it works great.

    Have a wonderful day!

+ 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. Randomly paste values in multiple columns?
    By Ditmar in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-23-2013, 11:07 AM
  2. How to randomly sort rows of data?
    By chargeandgo in forum Excel General
    Replies: 2
    Last Post: 12-05-2012, 08:37 AM
  3. Sort Columns with multiple values in cells
    By CrystalNewb in forum Excel General
    Replies: 9
    Last Post: 10-24-2009, 12:55 PM
  4. [SOLVED] How do you randomly sort a RANGE
    By latturne in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-29-2005, 05:05 PM
  5. [SOLVED] How do i sort rows randomly?
    By Jeremy in forum Excel General
    Replies: 3
    Last Post: 02-18-2005, 01:03 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