Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a spreadsheet that has a column with 10 cells. Each cell will have
its own number in it, but I want them to be randomly generated from 0-9. I need all cells to have a unique number in it. any help with this would be appreciated. Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
in the adjacent column to your numbers put in the formula
=rand() then drag fill down Now sort both columns with this column with the formula as the key formula. This will randomize your numbers. -- Regards, Tom Ogilvy "justaguyfromky" wrote in message ... I have a spreadsheet that has a column with 10 cells. Each cell will have its own number in it, but I want them to be randomly generated from 0-9. I need all cells to have a unique number in it. any help with this would be appreciated. Thanks |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I suggest to take my function UniqRandInt().
Press ALT + F11, insert a module, copy my function UniqRandInt() from http://www.sulprobil.com/html/uniqrandint.html, go back to spreadsheet, select your 10 cells, enter =UniqRandInt(10), finish entry with CTRL + SHIFT + ENTER. HTH, Bernd |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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) |