#1   Report Post  
B. R.Ramachandran
 
Posts: n/a
Default

Hi,
Sorting A2:A6 won't work. However, the following formulas will work.

In A2, =LARGE($A$1:$E$1,1)
In A3, =LARGE( $A$1:$E$1,2)
In A4, =LARGE( $A$1:$E$1,3)
....
....

If you have too many numbers in A1, B1, ..............say Z1, use the
following variation.
In A2, =LARGE($A$1:$Z$1,row()-1)
and fill-down the formula in A3, A4, .....

Regards,
B. R. Ramachandran

"comotoman" wrote:


The formulas is [=int(rand()*(100-1)+1)] in cells a1:e1.
Then cells a2:a6, cell a2=a1, a3=b1, a4=c1 etc...

I would like to sort the results in dec. order in cells a2:a6 after
each recalc.

The problem I have after the sort is a result of "REF#" Can anybody
help?


--
comotoman
------------------------------------------------------------------------
comotoman's Profile: http://www.excelforum.com/member.php...o&userid=27292
View this thread: http://www.excelforum.com/showthread...hreadid=471550


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
Sort Ascending button - Excel 2003 bigwheel Excel Discussion (Misc queries) 1 May 23rd 05 11:10 PM
Slight problem automating Excel in a service someone Setting up and Configuration of Excel 2 May 13th 05 10:04 PM
Sort parameters Abe Excel Discussion (Misc queries) 4 May 9th 05 07:01 PM
Sort Function Rahul Excel Worksheet Functions 5 February 23rd 05 02:27 AM
Sort Function Without Using VBA ExcelMonkey Excel Worksheet Functions 10 February 10th 05 10:24 AM


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