Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / July 2007

Tip: Looking for answers? Try searching our database.

Randomly sort a set group of integers

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Justin Peckner - 19 Jul 2007 19:46 GMT
Hello,

I would like to randomly sort the numbers 1-35 in my worksheet. Each integer
is in its own seperate cell, which are currently arranged in descending order
in cells A1:A35. I tried selecting A1:A35 and using =UniqRandInt(35) as an
array (from http://www.sulprobil.com/html/uniqrandint.html), but every cell
returned "#NAME?". Any easy-to-follow help would be appreciated- thanks!

-jpeckner
Peo Sjoblom - 19 Jul 2007 19:53 GMT
It's UDF and you would need to install it first, that is why you get the
name error

http://www.mvps.org/dmcritchie/excel/install.htm

Signature

Regards,

Peo Sjoblom

> Hello,
>
[quoted text clipped - 8 lines]
>
> -jpeckner
Mike H - 19 Jul 2007 19:54 GMT
Hi,

In B1 enter the formula

=Rand()

Double click the drag nagdle to fill down to A35
Select A&B columns and sort by column B
To get a different sort hit F9 and sort again.

Mike

> Hello,
>
[quoted text clipped - 5 lines]
>
> -jpeckner
Bernd Plumhoff - 19 Jul 2007 19:56 GMT
Hello,

Did you array-enter this formula (with CTRL + SHIFT + ENTER)?
And did you put the macro into a macro module (press ALT + F11, enter a
module, insert macro text)?

Regards,
Bernd
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.