Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Pull a Sample from a Population

I need a statistically valid, randomly selected breakout of transactions from
a total population of all transactions. Would like to have Excel generate a
statistically valid list from a total population of about 38K transactions.
All 38K transactions, regardless of dollar value, are subject to review
through random selection based on the n of total population. The list should
also incude any transaction = $5,000. The listing should include all data
elements of the select transactions.

Possible? How?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Pull a Sample from a Population

Dazed,

Insert a column of formulas, like this (assumes that the amount is in column D, for example)

=OR(D2=5000,(Rand()*100)99)

Change the 99 to a lower number to choose a greater # of items randomly... Then filter your
database based on the column of formulas, and choose to show TRUE. The transactions still visible
are those that should be reviewed.

HTH,
Bernie
MS Excel MVP


"dzd&confused" wrote in message
...
I need a statistically valid, randomly selected breakout of transactions from
a total population of all transactions. Would like to have Excel generate a
statistically valid list from a total population of about 38K transactions.
All 38K transactions, regardless of dollar value, are subject to review
through random selection based on the n of total population. The list should
also incude any transaction = $5,000. The listing should include all data
elements of the select transactions.

Possible? How?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Pull a Sample from a Population

Got it! Thanks! Jon

"Bernie Deitrick" wrote:

Dazed,

Insert a column of formulas, like this (assumes that the amount is in column D, for example)

=OR(D2=5000,(Rand()*100)99)

Change the 99 to a lower number to choose a greater # of items randomly... Then filter your
database based on the column of formulas, and choose to show TRUE. The transactions still visible
are those that should be reviewed.

HTH,
Bernie
MS Excel MVP


"dzd&confused" wrote in message
...
I need a statistically valid, randomly selected breakout of transactions from
a total population of all transactions. Would like to have Excel generate a
statistically valid list from a total population of about 38K transactions.
All 38K transactions, regardless of dollar value, are subject to review
through random selection based on the n of total population. The list should
also incude any transaction = $5,000. The listing should include all data
elements of the select transactions.

Possible? How?




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 78
Default Pull a Sample from a Population

I would create a new column with the formula in row 2: =IF(D25000,0,RAND())
(assuming that D is the column with the transaction amounts), then copy it
down till the row 38,000. Then I would select the entire column, press Ctrl-C,
then right-click, select Paste Special and click on Value. This way, this new
column has a set of random numbers (or 0's) and it is frozen.

Then, I would use AutoFilter to filter on this column, use Custom and select
all the values less than 0.05 if I want 5% of the transactions, or less than
0.23 if I want 23% of the transactions. As transactions above $5,000 have a
value 0, they are always selected. Then, you can copy the filtered range
somewhere else and perform the review of the transactions.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200708/1

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
Automatic Population Zach Excel Discussion (Misc queries) 4 March 15th 07 01:32 PM
Date Population achapman Excel Worksheet Functions 5 May 11th 06 09:51 PM
Population % change Jeffery Setting up and Configuration of Excel 2 April 9th 06 09:27 AM
Every Sat Date Population Roberta Excel Discussion (Misc queries) 2 January 3rd 06 04:39 PM
How do I pull a random sample of people from a list in excel? PM Excel Worksheet Functions 6 November 29th 05 04:41 AM


All times are GMT +1. The time now is 05:46 PM.

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"