Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Joe Blow
 
Posts: n/a
Default Random Numbers Not Equal to

Hi,

I have 8 cells that I want to contain a unique whole number from 1 to
8. I don't want any of the 8 numbers to repeat.

Any ideas?

Joe
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Take a look he

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



In article ,
Joe Blow wrote:

I have 8 cells that I want to contain a unique whole number from 1 to
8. I don't want any of the 8 numbers to repeat.

  #3   Report Post  
Jason Morin
 
Posts: n/a
Default

One very limited way:

B1: 12345678
B2: =SUBSTITUTE(B1,A1,"")
A1: =MID(B1,RAND()*(LEN(B1)-1)+1,1)*1

Copy the the formula in A1 down to A8, and the one in B2
down to B8.

HTH
Jason
Atlanta, GA

-----Original Message-----
Hi,

I have 8 cells that I want to contain a unique whole

number from 1 to
8. I don't want any of the 8 numbers to repeat.

Any ideas?

Joe
.

  #4   Report Post  
Gord Dibben
 
Posts: n/a
Default

Joe

Visit John McGimsey's site for info on non-repeating RAND().

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


Gord Dibben Excel MVP

On Mon, 03 Jan 2005 13:12:07 -0500, Joe Blow wrote:

Hi,

I have 8 cells that I want to contain a unique whole number from 1 to
8. I don't want any of the 8 numbers to repeat.

Any ideas?

Joe


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
Generate random numbers 1-100 without any repeats? ExcelFan Excel Worksheet Functions 4 May 5th 23 07:46 PM
Seed numbers for random number generation, uniform distribution darebo Excel Discussion (Misc queries) 3 April 21st 23 09:02 PM
To find a combination of numbers that equal a set amount? Larry Morris Excel Discussion (Misc queries) 6 December 17th 04 05:39 PM
Random Numbers Change? Les Coover Excel Worksheet Functions 2 December 17th 04 02:49 AM
generate random numbers Jules Excel Worksheet Functions 6 November 2nd 04 05:57 PM


All times are GMT +1. The time now is 07:22 AM.

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"