ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How to get the data randomnly in excel worksheet? (https://www.excelbanter.com/excel-worksheet-functions/32622-how-get-data-randomnly-excel-worksheet.html)

How to get the data randomnly?

How to get the data randomnly in excel worksheet?
 
I need to use the data fron an excel file but I need also to pick-up randomnly.

bj

If you do not need to have a non uniform distribution in your selection.
one method is to in the column next to the data enter
=rand()
Select the two columns and sort by the rand column. Your data wiill now be
in a random order. If you just select the data in series you will have a non
replace random selection.
If you nned a new set, just sort by the rand column again.
If you need a replace type selection.
at the top of the column next to the data enter 0 then one cell down enter
=1/data count.
Increment by the 1/data count to the bottom of the data.

then set up a series of random numbers betwween 0 and 1, and use these as
your selection criteria in a Vlookup
"How to get the data randomnly?" wrote:

I need to use the data fron an excel file but I need also to pick-up randomnly.



All times are GMT +1. The time now is 11:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com