LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default copying random rows in excel to another sheet

Hello,

I have two issues

1)
I have a sheet consisting of 40 rows and 9 columns.

I want to randomly pick/cut 30 of these rows (not columns, because
each column in each row is dependent to each other, therefore I need
the randomly picked row to contain all its related columns) and paste
them to a new sheet. I would also like to cut and paste the remaining
10 row to another sheet.

I have tried the rand function but it only randomly picks a column.

2)
I would also like to get some advice on approach. The reason for the
randomising is that I need to do some analysis (logistic regression)
on the retrieved data (the 30 sampled rows) and then use the results
to see if it can predict the rest of the data (the remained 10 rows).
Therefore, one random sample is not enough. I want this procedure to
be repeated many times.

What is the best approach? Can this be done in excel or is it better
to do some programming (which I preferably avoid)?


Many thanks in advance

/Nina
 
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
Create a new sheet containing random sampler 200 rows over 2000 Thierry Sophia-Antipolis Excel Worksheet Functions 4 March 26th 09 01:55 PM
Copying certain rows to another sheet Bob[_74_] Excel Programming 3 October 5th 07 07:26 AM
Copying rows from one sheet to another.... Buyone Excel Worksheet Functions 1 June 20th 07 10:56 PM
Copying random rows to other worksheets SusieQ[_7_] Excel Programming 0 February 17th 06 02:52 PM
Copying rows to a new sheet Dave Excel Programming 4 September 9th 04 01:06 PM


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