A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

SAMPLE EXCEL DATA



 
 
Thread Tools Display Modes
  #1  
Old April 30th, 2010, 03:31 PM posted to microsoft.public.excel.worksheet.functions
EricB
external usenet poster
 
Posts: 48
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  
Old April 30th, 2010, 03:43 PM posted to microsoft.public.excel.worksheet.functions
Mike H
external usenet poster
 
Posts: 8,419
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  
Old April 30th, 2010, 03:44 PM posted to microsoft.public.excel.worksheet.functions
Jacob Skaria
external usenet poster
 
Posts: 5,952
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?

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:28 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.