Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bbb bbb is offline
external usenet poster
 
Posts: 8
Default How can i randomly select 780 rows from 4000 rows of data

In Excel i have a spreadsheet with 4000 rows of data and would like to
randomly select a list of 780 rows showing only one cell of the data?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default How can i randomly select 780 rows from 4000 rows of data

bbb,

Randomly selecting 780 of 4000 rows is simple enough but can you explain
what you mean by ".....showing only one cell of data?"

Mike

"bbb" wrote:

In Excel i have a spreadsheet with 4000 rows of data and would like to
randomly select a list of 780 rows showing only one cell of the data?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 806
Default How can i randomly select 780 rows from 4000 rows of data

Hello,

If your 4000 rows are in Sheet1 (rows 1 to 4000) then switch to Sheet2
and:
1. Select A1:A780
2. Array-enter
=INDEX(Sheet1!A1:A4000,UniqRandInt(4000))
(enter with CTRL + SHIFT + ENTER, not only ENTER)

My macro UniqRandInt you can get he
http://www.sulprobil.com/html/uniqrandint.html

Regards,
Bernd

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
Select certain data rows lee's news New Users to Excel 2 December 19th 06 09:19 PM
Sometimes data will jump rows randomly. Jason Excel Discussion (Misc queries) 1 April 11th 06 08:34 PM
Is there a way to randomly select rows in Excel? Samantha Excel Discussion (Misc queries) 4 May 12th 05 02:59 PM
How do I select multiple rows randomly in MS Excel? Varun Excel Discussion (Misc queries) 2 April 18th 05 08:10 AM
Unable to select rows in the repeat rows on top option Noppie Excel Discussion (Misc queries) 2 December 28th 04 03:17 PM


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