Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Selecting one every four other rows

Another need from a helpless analyst.

I need to be able to select rows from a large database. I need to get the
row 2, then row 5 and so on. I need to do this for a random sorting for
surveys. Of course if anyone has a way to randomly select rows it'd be even
better :D

Regards
Juan Eduardo
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Selecting one every four other rows

in the next available column put in the formula

=rand()

then drag fill down the column. Sort the data on this column, then select
the first "N" rows for your sample.

--
Regards,
Tom Ogilvy

"Juan Eduardo Gorigoitía"
wrote in message ...
Another need from a helpless analyst.

I need to be able to select rows from a large database. I need to get the
row 2, then row 5 and so on. I need to do this for a random sorting for
surveys. Of course if anyone has a way to randomly select rows it'd be

even
better :D

Regards
Juan Eduardo



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
after selecting 50 rows of a column i can't reference the cells in the rows Bob Salzer New Users to Excel 2 July 21st 06 10:29 PM
Selecting Rows Coolboy55 Excel Worksheet Functions 4 August 22nd 05 04:07 PM
Selecting rows Walshy[_2_] Excel Programming 6 September 15th 04 10:47 PM
Selecting Rows Alan Excel Programming 4 October 16th 03 09:10 PM
selecting rows CiaraG Excel Programming 0 August 8th 03 10:07 AM


All times are GMT +1. The time now is 02:12 AM.

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

About Us

"It's about Microsoft Excel"