Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 42
Default SAMPLE EXCEL DATA

How do I sample data in a EXCEL spreadsheet? Say I have 50.000 records and I
want to sample say 0.1% or 50, what function do I use?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default SAMPLE EXCEL DATA

eric.

It depends what you mean by sample. This will average the 50 smallest
numbers in the range B1 B5000.

You can change average to sum and small to large. You can alter the 1:50 to
(say) 100:150

It's an array

=AVERAGE(SMALL(B1:B50000,ROW(INDIRECT("1:50"))))

This is an array formula which must be entered by pressing CTRL+Shift+Enter
'and not just Enter. If you do it correctly then Excel will put curly brackets
'around the formula {}. You can't type these yourself. If you edit the formula
'you must enter it again with CTRL+Shift+Enter.
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"EricB" wrote:

How do I sample data in a EXCEL spreadsheet? Say I have 50.000 records and I
want to sample say 0.1% or 50, what function do I use?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default SAMPLE EXCEL DATA

Check out this 8min video on random sampling..(I dont have access to check
and so not sure whether ths is avaible now )

http://www.youtube.com/watch?v=SoK9kq-0uXg

--
Jacob (MVP - Excel)


"EricB" wrote:

How do I sample data in a EXCEL spreadsheet? Say I have 50.000 records and I
want to sample say 0.1% or 50, what function do I use?

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
Can I random sample from a set until every sample is selected? random sampling Excel Discussion (Misc queries) 6 April 26th 10 09:54 PM
How does an address appear to have 2 fields in 1 - see sample data Shelby New Users to Excel 6 November 15th 08 10:12 PM
Help with Pulling Sample Data excelmad Excel Discussion (Misc queries) 1 February 1st 07 04:35 AM
Is it possible to do a random sample of non-numeric data in Excel? Terri G Excel Discussion (Misc queries) 4 December 15th 05 05:44 PM
How to post sample data to this NG M.Siler Excel Discussion (Misc queries) 12 June 27th 05 11:37 PM


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

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"