#1   Report Post  
Rugby Al
 
Posts: n/a
Default If Formula ??

I have a spreadsheet with values in a single row 16 columns wide, I want to
give the cells below a position ie 1st 2nd 3rd... dependant on the values

2.1 5.1 3.2 1.6
3rd 1st 2nd 4th

As the values can change, the position need to automatically change as well..

  #3   Report Post  
CLR
 
Posts: n/a
Default

Assuming your values are in A1:D1,
Put this formula in A2 and copy over to D2...........

=RANK(A1,$A$1:$D$1,0)

or for the reverse,

=RANK(A1,$A$1:$D$1,1)

Vaya con Dios,
Chuck, CABGx3



"Rugby Al" <Rugby wrote in message
...
I have a spreadsheet with values in a single row 16 columns wide, I want

to
give the cells below a position ie 1st 2nd 3rd... dependant on the values

2.1 5.1 3.2 1.6
3rd 1st 2nd 4th

As the values can change, the position need to automatically change as

well..



  #4   Report Post  
Rugby Al
 
Posts: n/a
Default

That works fine, Thanks

If the cells are not next to each other but in the same row how can you
modify the formula


"CLR" wrote:

Assuming your values are in A1:D1,
Put this formula in A2 and copy over to D2...........

=RANK(A1,$A$1:$D$1,0)

or for the reverse,

=RANK(A1,$A$1:$D$1,1)

Vaya con Dios,
Chuck, CABGx3



"Rugby Al" <Rugby wrote in message
...
I have a spreadsheet with values in a single row 16 columns wide, I want

to
give the cells below a position ie 1st 2nd 3rd... dependant on the values

2.1 5.1 3.2 1.6
3rd 1st 2nd 4th

As the values can change, the position need to automatically change as

well..




  #5   Report Post  
CLR
 
Posts: n/a
Default

Say the cells instead of A1:D1 were A1,C1,E1, and G1.........I would make a
Non-contiguious RangeName of those cells, called
"NCRange".........(highlight the cells while holding down the Ctrl button,
then Insert Name Define and type NCRange in the upper window OK)

then make the formula in A2
=RANK(A1,NCRange)

Then just copy and paste the formula to C2, E2, and G2

Vaya con Dios,
Chuck, CABGx3




"Rugby Al" wrote in message
...
That works fine, Thanks

If the cells are not next to each other but in the same row how can you
modify the formula


"CLR" wrote:

Assuming your values are in A1:D1,
Put this formula in A2 and copy over to D2...........

=RANK(A1,$A$1:$D$1,0)

or for the reverse,

=RANK(A1,$A$1:$D$1,1)

Vaya con Dios,
Chuck, CABGx3



"Rugby Al" <Rugby wrote in message
...
I have a spreadsheet with values in a single row 16 columns wide, I

want
to
give the cells below a position ie 1st 2nd 3rd... dependant on the

values

2.1 5.1 3.2 1.6
3rd 1st 2nd 4th

As the values can change, the position need to automatically change as

well..








  #6   Report Post  
Rugby Al
 
Posts: n/a
Default

Thanks
Works great

"CLR" wrote:

Say the cells instead of A1:D1 were A1,C1,E1, and G1.........I would make a
Non-contiguious RangeName of those cells, called
"NCRange".........(highlight the cells while holding down the Ctrl button,
then Insert Name Define and type NCRange in the upper window OK)

then make the formula in A2
=RANK(A1,NCRange)

Then just copy and paste the formula to C2, E2, and G2

Vaya con Dios,
Chuck, CABGx3




"Rugby Al" wrote in message
...
That works fine, Thanks

If the cells are not next to each other but in the same row how can you
modify the formula


"CLR" wrote:

Assuming your values are in A1:D1,
Put this formula in A2 and copy over to D2...........

=RANK(A1,$A$1:$D$1,0)

or for the reverse,

=RANK(A1,$A$1:$D$1,1)

Vaya con Dios,
Chuck, CABGx3



"Rugby Al" <Rugby wrote in message
...
I have a spreadsheet with values in a single row 16 columns wide, I

want
to
give the cells below a position ie 1st 2nd 3rd... dependant on the

values

2.1 5.1 3.2 1.6
3rd 1st 2nd 4th

As the values can change, the position need to automatically change as
well..







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
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
put formula results into a different cell if it is empty PutFormula Excel Worksheet Functions 2 February 11th 05 03:31 AM
how do i write a formula and keep in in formula form, so it DOESN. norcalchick2207 Excel Discussion (Misc queries) 2 February 4th 05 08:38 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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