ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to randomly distribute rows from sheet 1 to sheet 2 & 3 with V (https://www.excelbanter.com/excel-programming/321603-how-randomly-distribute-rows-sheet-1-sheet-2-3-v.html)

luk_sr

How to randomly distribute rows from sheet 1 to sheet 2 & 3 with V
 
I need assistance. I need to take the data inputted in sheet 1 and evenly
distribute the data rows into sheet 2 (Experimental) and sheet 3
(Controlled). The purpose of this project is for case studies. Please help.

Tom Ogilvy

How to randomly distribute rows from sheet 1 to sheet 2 & 3 with V
 
Put in a dummy column

use a formula like

=if(rand()<.5,"Experimental","Controlled")
then drag fill down the column.

recalculate (F9) until satisfied with the distribution. use a formula like
=countif(D:D,"Experimental") to check

when you are satisfied with the distribution, Select the column and do
Edit=Copy, then Edit=PasteSpecial and select values

now you can sort on this column and copy your data.

--
Regards,
Tom Ogilvy


"luk_sr" wrote in message
...
I need assistance. I need to take the data inputted in sheet 1 and evenly
distribute the data rows into sheet 2 (Experimental) and sheet 3
(Controlled). The purpose of this project is for case studies. Please

help.




All times are GMT +1. The time now is 01:58 PM.

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