Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default RANDBETWEEN PROBLEM

I would like a formula to randumly pick numbers between 1 and 45 but once a
number is picked the number won't be picked again. Is that possible?
--
Carolan
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default RANDBETWEEN PROBLEM

Look he

http://www.mcgimpsey.com/excel/udfs/randint.html

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"CarolAn" wrote in message
...
I would like a formula to randumly pick numbers between 1 and 45 but once a
number is picked the number won't be picked again. Is that possible?
--
Carolan


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default RANDBETWEEN PROBLEM

Hi,

You can download the random number generator from here -
http://www.ablebits.com/excel-random...t-free-addins/.

This allows you to generate unique random numbers.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"CarolAn" wrote in message
...
I would like a formula to randumly pick numbers between 1 and 45 but once
a
number is picked the number won't be picked again. Is that possible?
--
Carolan


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default RANDBETWEEN PROBLEM

Hi there.
One possible solution involves the following steps:
1. Select cells A1:A45.
2. Type in the formula =row() and press CTRL + ENTER.
3. Select cells B1:B45.
4. Type in the formula =RAND() and press CTRL + ENTER
5. Select cells A1:B45, press Ctrl C and choose the menu Paste Values Only.
6. With cells A1:B45 selected sort them by column B.
7. Select cells, say, G1:G45.
8. Type in the formula =INDEX(A1:A45,ROW(A1:A45),1) and press CTRL + ENTER.

This will give you fourty-five rows with an integer "randomly" generated
between 1 and 45 without repetition.

Regards,
Otávio

"CarolAn" wrote:

I would like a formula to randumly pick numbers between 1 and 45 but once a
number is picked the number won't be picked again. Is that possible?
--
Carolan

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
RANDBETWEEN() Paul Excel Worksheet Functions 9 October 10th 09 06:53 AM
RANDBETWEEN Jerm Excel Worksheet Functions 15 September 7th 09 02:27 PM
randbetween kjetil syvertsen Excel Worksheet Functions 3 October 19th 08 06:04 PM
Randbetween Steve Moss Excel Discussion (Misc queries) 1 July 30th 07 09:50 AM
randbetween gives ?NAME Kristjan_Thor Excel Discussion (Misc queries) 5 March 14th 05 11:41 PM


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