Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jason D
 
Posts: n/a
Default How do I randomly shuffle the cells in a column?

In Excel 2003, I have a column, say a1-a10, with certain entries. I need to
create another column, b1-b10, with the same entries assigned randomly
(shuffled) to the cells.
  #2   Report Post  
Max
 
Posts: n/a
Default

Just one way ..

Put in B1: =INDEX(A:A,RANK(C1,$C$1:$C$10))
Put in C1: =RAND()

Select B1:C1, copy down to C10

B1:B10 returns a random shuffle of what's in A1:A10

Press F9 to re-shuffle
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Jason D" <Jason wrote in message
...
In Excel 2003, I have a column, say a1-a10, with certain entries. I need

to
create another column, b1-b10, with the same entries assigned randomly
(shuffled) to the cells.



  #3   Report Post  
ScottO
 
Posts: n/a
Default

One way would be to make your copy entries in b1 - b10, then in c1 -
c10 enter the formula =RAND().
Then do a sort on b1:c10, using ColC as the sort key.
That should do it.
Rgds,
ScottO

"Jason D" <Jason wrote in message
...
| In Excel 2003, I have a column, say a1-a10, with certain entries. I
need to
| create another column, b1-b10, with the same entries assigned
randomly
| (shuffled) to the cells.


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
Running total w/2 columns - Excel Anna / Ideal Excel Worksheet Functions 14 August 10th 05 04:28 PM
Macro Help: Concatenate Populated Cells in Column A TJM Excel Discussion (Misc queries) 3 June 11th 05 11:25 AM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 8 May 18th 05 04:23 AM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM
ADDING SUM TOTAL OF MORE THAN 30 CELLS IN A COLUMN TOGETHER - WON. Robin Smith Excel Discussion (Misc queries) 0 December 20th 04 08:47 PM


All times are GMT +1. The time now is 11:53 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"