Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Randomly sort a set group of integers

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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Randomly sort a set group of integers

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

"Justin Peckner" wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Randomly sort a set group of integers

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



--
Regards,

Peo Sjoblom


"Justin Peckner" wrote in message
...
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



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default Randomly sort a set group of integers

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


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
How do i sort rows randomly? Jeremy Excel Discussion (Misc queries) 5 December 12th 07 01:03 PM
How do I randomly sort data in a column? goody Excel Discussion (Misc queries) 1 October 2nd 06 03:36 PM
How do you randomly sort a RANGE latturne Excel Worksheet Functions 4 September 29th 05 09:40 PM
A list of Consecutive Integers, can I search for missing integers CM Excel Worksheet Functions 4 September 2nd 05 06:38 PM
How do I shuffle a group of cells randomly in Excel? golfmoab Excel Discussion (Misc queries) 1 January 22nd 05 01:08 PM


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