Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Random Numbers
I know how to use =Rand() but i need to generate numbers between 2 and 100 or
2 and 20 etc and want whole numbers not 4.6789678. How is this done please..Brain has quit functions after being up so late. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Random Numbers
use int;-
=INT(RAND()*(100-1)+1) Mike "Khanjohn" wrote: I know how to use =Rand() but i need to generate numbers between 2 and 100 or 2 and 20 etc and want whole numbers not 4.6789678. How is this done please..Brain has quit functions after being up so late. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Random Numbers
See OLH for Rnd - there is an example for ding what you require.
HTH Roger "Khanjohn" wrote in message ... I know how to use =Rand() but i need to generate numbers between 2 and 100 or 2 and 20 etc and want whole numbers not 4.6789678. How is this done please..Brain has quit functions after being up so late. |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Random Numbers
Thank you MikeH that solved it.
"Khanjohn" wrote: I know how to use =Rand() but i need to generate numbers between 2 and 100 or 2 and 20 etc and want whole numbers not 4.6789678. How is this done please..Brain has quit functions after being up so late. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Random Numbers excluding Previous Numbers | Excel Worksheet Functions | |||
getting numbers divisible by 4 from random numbers in ascending order | Excel Worksheet Functions | |||
Can Excel pick random numbers from 1-300 and not repeat numbers? | Excel Discussion (Misc queries) | |||
Non-random numbers generated by excel's data analysis random gener | Excel Worksheet Functions | |||
Non-random numbers generated by excel's data analysis random gener | Excel Discussion (Misc queries) |