Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Selecting random subset of values from one column into another

Hi. Hoping that someone can help me with this query.....

I have a column with 100 values. I would like to create another column with
30 values selected randomly from the 1st column of 100 values. Is there a
formula i can use to do this?

Thanks!

Karenne Tun
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Selecting random subset of values from one column into another

Hi Karenne

With your data in Col A A1 to A100

--In B1 enter the below formula and copy down upto B100
=RAND()

--In C1 enter the below formula and copy down to C30 (your sample list)
=INDEX($A$1:$A$100,RANK(B1,$B$1:$B$100))


If this post helps click Yes
---------------
Jacob Skaria


"Karenne" wrote:

Hi. Hoping that someone can help me with this query.....

I have a column with 100 values. I would like to create another column with
30 values selected randomly from the 1st column of 100 values. Is there a
formula i can use to do this?

Thanks!

Karenne Tun

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
Selecting a subset of data from multi columns Al Excel Discussion (Misc queries) 1 May 7th 08 08:20 PM
Text to column and selecting values based on a different column torooo Excel Worksheet Functions 5 October 21st 06 03:35 PM
Text to column and selecting values based on a different column [email protected] Excel Worksheet Functions 1 October 21st 06 03:10 AM
Text to column and selecting values based on a different column torooo Excel Discussion (Misc queries) 1 October 18th 06 07:27 PM
Selecting a subset of items from a list Steve Excel Worksheet Functions 0 July 31st 06 01:50 PM


All times are GMT +1. The time now is 08:40 AM.

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"