#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 72
Default Order of Numbers

I am looking to be able to put values in the order of 1 to 5 in a range of
cells based on the order of values in another range - as an example the
values in range (row) one may be 12,36,25,40,19 which would result in this
being shown in the 'order' range as 5,2,3,1,4. Hope this makes sense
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Order of Numbers

Hi,

Let's assume these numbers are in A1 to E1. Put this in A2 and drag right

=RANK(A1,$A$1:$E$1)
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Kerry" wrote:

I am looking to be able to put values in the order of 1 to 5 in a range of
cells based on the order of values in another range - as an example the
values in range (row) one may be 12,36,25,40,19 which would result in this
being shown in the 'order' range as 5,2,3,1,4. Hope this makes sense

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Order of Numbers

Suppose you had those values 12, 36, 25, 40, 19 in cells A1 to E1,
then you can put this formula in A2:

=RANK(A1,$A1:$E1)

and copy this across to E2 to give you the numbers you require.

Hope this helps.

Pete

On Apr 7, 9:48*am, Kerry wrote:
I am looking to be able to put values in the order of 1 to 5 in a range of
cells based on the order of values in another range - as an example the
values in range (row) one may be 12,36,25,40,19 which would result in this
being shown in the 'order' range as 5,2,3,1,4. *Hope this makes sense


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
numbers in numerical order lost~dispatcher Excel Worksheet Functions 3 January 18th 10 08:44 PM
numbers in order woody Excel Discussion (Misc queries) 4 December 4th 07 10:03 PM
reverse order of numbers Dave F[_2_] Excel Discussion (Misc queries) 5 September 16th 07 01:41 PM
getting numbers divisible by 4 from random numbers in ascending order ramana Excel Worksheet Functions 6 June 19th 07 06:41 PM
Transpose and order array numbers cradino Excel Worksheet Functions 2 October 1st 05 06:27 PM


All times are GMT +1. The time now is 05:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"