#1   Report Post  
Posted to microsoft.public.excel.misc
JaimeTimbrell
 
Posts: n/a
Default ranking query

I would like to rank a value in a column of values using RANK.

The complication is that I have a lot of data all arranged into discrete
arrays:

data data data data data 1
data data data data data 1
data data data data data 1
data data data data data 1

data data data data data 2
data data data data data 2
data data data data data 2

I have put the numbers at the end of each array so I can pick each array out
discretely

and so I have used the following formula:

=RANK(Z3,IF($T$3:$T$2103=ROWS($A$3:$A3),$K$3:$K$21 03),0)

Z3 - is the value I want to rank
IF($T$3:$T$2103=ROWS($A$3:$A3),$K$3:$K$2103) - is a statement I have used to
pick out each discrete array within the complete spreadsheet full of arrays

But it doesnt work, can anyone see any reasons shy it wouldnt work?

I would be most grateful for anyones advice.

Regards,
Jaime.

  #2   Report Post  
Posted to microsoft.public.excel.misc
Pete_UK
 
Posts: n/a
Default ranking query

I can't quite see what it is you want to do, relating to your example,
but I think you will need to use the INDIRECT( ) function once you have
selected the appropriate range.

Hope this helps.

Pete

  #3   Report Post  
Posted to microsoft.public.excel.misc
JaimeTimbrell
 
Posts: n/a
Default ranking query

Hi Pete,

Thanks for getting back to me.

I think it is selecting the appropriate range that is the problem, if I
explain my problem in more detail that may help:

I have data arranged like this:

col A.....................K.........T................. Z...AA...AB...AC etc
...data data data score data 1.................summary event 1
...data data data score data 1.................summary event 2
...data data data score data 1.................summary event 3
...data data data score data 1

...data data data score data 2
...data data data score data 2
...data data data score data 2 <rank score of this one

...data data data score data 3
...etc for about 3000 rows

column K contains scores, in no particular order, as they were recorded
column T contains numbers to denote each array, each array is a separate event

I want to rank the score of a particular competitorin a summary table off to
the right somewhere

in teh summary table column Z contains a score extracted based upon a set of
criteria, that are unrelated to twhere the competitors score ranks in the
scores for each event

I want to look at that score in the event that it came from and rank that
score according to the other scores for that discrete event.

and so I have used the following formula:

=RANK(Z3,IF($T$3:$T$2103=ROWS($A$3:$A3),$K$3:$K$21 03),0)

I hope that explains it in more detail.

Regards,
Jaime.

"Pete_UK" wrote:

I can't quite see what it is you want to do, relating to your example,
but I think you will need to use the INDIRECT( ) function once you have
selected the appropriate range.

Hope this helps.

Pete


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
AHHH! Again JAA149 Excel Discussion (Misc queries) 0 October 31st 05 11:36 AM
MS Query not installed for New Database Query Malcolm Walker Excel Discussion (Misc queries) 0 August 2nd 05 10:58 PM
Web Query Help... Jambruins Excel Discussion (Misc queries) 1 July 29th 05 06:56 PM
"Query cannot be edited by the Query Wizard" PancakeBatter Excel Discussion (Misc queries) 0 April 25th 05 05:59 PM
How to use a Access Query that as a parameter into Excel database query Karen Middleton Excel Discussion (Misc queries) 1 December 13th 04 07:54 PM


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