![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Posts: 2
|
Hi,
When I use the random number generator, how can I get it to only generate whole numbers? Also, I have 200 columns and 1000 rows filled with numbers, how do I find the mean and standard deviation of all those numbers in a simple way? Thanks! |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
=RANDBETWEEN(1,100) =INT(RAND()*100) =AVERAGE(A1:E200) will average the numbers in the range A1:E200. Similarly, =STDEV(A1:E200) |
|
|
|
|
|
|
#3 |
|
New Member
Join Date: May 2002
Posts: 2
|
Thanks! How can set a range for the RANDBETWEEN? I need it to fill A1:GR1000.
|
|
|
|
|
|
#4 | |
|
Board Regular
Join Date: Mar 2002
Posts: 1,805
|
Quote:
Try this from Toolbar: Edit | GoTo | A1:GR1000 In the active cell (A1), enter =RANDBETWEEN(1,100) Now press simultaniously: CTRL+ENTER This action will fill all the cells with the formula. Eli |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|