Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old September 9th 06, 03:05 AM posted to microsoft.public.excel.misc
CJ CJ is offline
external usenet poster
 
First recorded activity by ExcelBanter: Aug 2006
Posts: 102
Default Random selection of text cells

Hey,
I have a list in colum A of 300, three letter codes eg BHP.
I want to generate a list of 50 random codes generated from the original 300.
If someone coudl show me a step by step process of which formulas to put
where it would be greatly appreciated.

Thanks

  #2   Report Post  
Old September 9th 06, 03:47 AM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 1,688
Default Random selection of text cells

The easiest way to do this:

Assume your codes are in the range A1:A300.

Enter this formula in B1 and copy down to B300:

=RAND()

Now, select the range A1:B300 and do a sort on column B (either ascending or
descending, it doesn't matter)

Use A1:A50 as your 50 random selections.

If you want another 50, just repeat the sort.

Biff

"CJ" wrote in message
...
Hey,
I have a list in colum A of 300, three letter codes eg BHP.
I want to generate a list of 50 random codes generated from the original
300.
If someone coudl show me a step by step process of which formulas to put
where it would be greatly appreciated.

Thanks



  #3   Report Post  
Old September 10th 06, 06:44 AM posted to microsoft.public.excel.misc
CJ CJ is offline
external usenet poster
 
First recorded activity by ExcelBanter: Aug 2006
Posts: 102
Default Random selection of text cells

Cheers Biff. That's so easy thanks!!!
  #4   Report Post  
Old September 10th 06, 07:05 AM posted to microsoft.public.excel.misc
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 1,688
Default Random selection of text cells

You're welcome!

Biff

"CJ" wrote in message
...
Cheers Biff. That's so easy thanks!!!





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
Can't see text in cells Alen K Excel Discussion (Misc queries) 3 June 14th 06 08:31 PM
Cells within a list to display a certain text but have different v GEM Excel Discussion (Misc queries) 1 June 9th 06 06:10 AM
Working with Random Text & Combining Cells Louise Excel Discussion (Misc queries) 10 May 30th 06 11:58 PM
merged cells into one text cell, size varies dependant on text dat Jazzylady825 Excel Discussion (Misc queries) 0 December 9th 05 09:26 PM
random selection from a range of cells tjb Excel Worksheet Functions 1 February 15th 05 07:34 PM


All times are GMT +1. The time now is 10:34 PM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017