Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 211
Default Special Random Numbers' Distribution

How to insert random numbers between 1-50 in cells A1:A10, with a condition
of using a number once only, i.e. no number repeating.
--
Thanx & Best Regards,

Faraz!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Special Random Numbers' Distribution

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

--
Jacob


"Faraz A. Qureshi" wrote:

How to insert random numbers between 1-50 in cells A1:A10, with a condition
of using a number once only, i.e. no number repeating.
--
Thanx & Best Regards,

Faraz!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 211
Default Special Random Numbers' Distribution

Unfortunately utube's blocked at our OFFICE!
:-(
--
Thanx & Best Regards,

Faraz!


"Jacob Skaria" wrote:

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

--
Jacob


"Faraz A. Qureshi" wrote:

How to insert random numbers between 1-50 in cells A1:A10, with a condition
of using a number once only, i.e. no number repeating.
--
Thanx & Best Regards,

Faraz!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Special Random Numbers' Distribution

--Use a helper column say Col B where in B1 to B50 enter the formula =RAND().
This will generate 50 random numbers.

--Now, in A1, enter the formula, =RANK(B1,$B$1:$B$50,1) and copy/drag the
formula down to A10.

--Refresh/press F9 will generate random numbers between 1 and 50

For a VBA solution refer the below from J.E. McGimpsey
http://www.mcgimpsey.com/excel/udfs/randint.html

--
Jacob


"Faraz A. Qureshi" wrote:

Unfortunately utube's blocked at our OFFICE!
:-(
--
Thanx & Best Regards,

Faraz!


"Jacob Skaria" wrote:

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

--
Jacob


"Faraz A. Qureshi" wrote:

How to insert random numbers between 1-50 in cells A1:A10, with a condition
of using a number once only, i.e. no number repeating.
--
Thanx & Best Regards,

Faraz!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 806
Default Special Random Numbers' Distribution

Hello,

Google for UniqRandInt.

Regards,
Bernd


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
Seed numbers for random number generation, uniform distribution darebo Excel Discussion (Misc queries) 3 April 21st 23 09:02 PM
Help picking a random number from a given distribution McGinty Excel Worksheet Functions 6 October 26th 06 02:57 PM
draw random from normal distribution gatosonreyendo Excel Discussion (Misc queries) 3 December 12th 05 04:04 AM
Non-random numbers generated by excel's data analysis random gener Harlan Grove Excel Discussion (Misc queries) 2 September 13th 05 04:06 PM
Random Distribution Rick via OfficeKB.com Excel Discussion (Misc queries) 3 April 29th 05 07:53 PM


All times are GMT +1. The time now is 09:17 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"