#1   Report Post  
PBRMY
 
Posts: n/a
Default Values

From highest value in A1 to A5, I want a 10 then 8 etc inserted automatically
in B1 to B5
  #2   Report Post  
Bernd Plumhoff
 
Posts: n/a
Default

=INDEX({10,8,6,4,2},RANK(A2,$A$1:$A$5,FALSE)+COUNT IF($A$1:A2,A2)-1)

if you want different numbers for equal values in A1:A5, otherwise:

=INDEX({10,8,6,4,2},RANK(A2,$A$1:$A$5,FALSE))

HTH,
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
Zero values in a log chart Joelle_Smith Charts and Charting in Excel 2 May 8th 23 03:42 AM
How sum values in column B using values in column A as the conditi oldgrayelf Excel Worksheet Functions 5 February 4th 05 09:03 PM
Second serie doesn't use X-as values JackRnl Charts and Charting in Excel 1 January 20th 05 01:04 AM
project values based on other values Gabriele Excel Discussion (Misc queries) 1 January 7th 05 09:27 AM
If I have X,Y data how do I sum the Y values using a set of bins based on x values ScottBerger Excel Worksheet Functions 1 November 16th 04 11:48 PM


All times are GMT +1. The time now is 11:01 AM.

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"