Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Randomization of groupings based on value


Hi all,

Looking for a way to randomly reorder a column of data on an excel
spreadsheet.

Essentially I have a list of ordered ID numbers in the 1st col, a list
of weights in the 2nd col. I want to randomize based on the first
column, resizing the sort to include the 2nd.

I tried fooling with some code I ripped from a vba card game but it's a
hopeless mess at this point. Any help would be greatly appriciated.


--
Ouka
------------------------------------------------------------------------
Ouka's Profile: http://www.excelforum.com/member.php...o&userid=23988
View this thread: http://www.excelforum.com/showthread...hreadid=498135

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Randomization of groupings based on value

Ouka,

Use an adjacent blank column or insert one next to your two columns.
Then enter random numbers in that column and run a sort on all three
columns using the random column as the key1 sort column.
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"Ouka"
wrote in message
...

Hi all,
Looking for a way to randomly reorder a column of data on an excel
spreadsheet.
Essentially I have a list of ordered ID numbers in the 1st col, a list
of weights in the 2nd col. I want to randomize based on the first
column, resizing the sort to include the 2nd.
I tried fooling with some code I ripped from a vba card game but it's a
hopeless mess at this point. Any help would be greatly appriciated.
--
Ouka

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot Tables with different groupings based on same data table billwoodard Excel Discussion (Misc queries) 6 September 28th 08 01:58 AM
Pivot Tables with different groupings based on same data table billwoodard New Users to Excel 2 August 11th 08 12:41 AM
Excel - randomization with certain criteria Alen Paliska Excel Worksheet Functions 3 May 16th 07 06:41 PM
Data Randomization Hannie1004 Excel Worksheet Functions 2 February 16th 06 06:50 PM
strange randomization William Benson[_2_] Excel Programming 13 October 10th 05 09:54 PM


All times are GMT +1. The time now is 05:07 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"