ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Rank in Excel (https://www.excelbanter.com/excel-worksheet-functions/12177-rank-excel.html)

koty

Rank in Excel
 
I have a markssheet in which I want to use the Rank formula wherein it keeps
updating the rank of each student as I keep adding the students.
I do not want to specify a range of cells for it to compare. It should
automatiocally sense the presense of Data and allocate rank accordingly.

N Harkawat

=RANK(A1,OFFSET($A$1,0,0,COUNTA($A$1:$A$1000)))
will create a dynamic list that changes with the length of your list


"koty" wrote in message
...
I have a markssheet in which I want to use the Rank formula wherein it
keeps
updating the rank of each student as I keep adding the students.
I do not want to specify a range of cells for it to compare. It should
automatiocally sense the presense of Data and allocate rank accordingly.




Biff

Hi!

A slightly different approach.

Assume column B contains the values to rank starting in B2.

Use a defined dynamic named range.

InsertNameDefine
Name - Grades
Refers to - =OFFSET($B$1,0,0,COUNTA($B:$B),1)

Formula to rank:

=IF(B2=","",RANK(B2,GRADES))

Copy down far enough to allow for future additional
entries to the list.

Biff

-----Original Message-----
I have a markssheet in which I want to use the Rank

formula wherein it keeps
updating the rank of each student as I keep adding the

students.
I do not want to specify a range of cells for it to

compare. It should
automatiocally sense the presense of Data and allocate

rank accordingly.
.


Biff

Ooops! minor edit, left out "

=IF(B2=","",RANK(B2,GRADES))


should be:

=IF(B2="","",RANK(B2,GRADES))

Biff

-----Original Message-----
Hi!

A slightly different approach.

Assume column B contains the values to rank starting in

B2.

Use a defined dynamic named range.

InsertNameDefine
Name - Grades
Refers to - =OFFSET($B$1,0,0,COUNTA($B:$B),1)

Formula to rank:

=IF(B2=","",RANK(B2,GRADES))

Copy down far enough to allow for future additional
entries to the list.

Biff

-----Original Message-----
I have a markssheet in which I want to use the Rank

formula wherein it keeps
updating the rank of each student as I keep adding the

students.
I do not want to specify a range of cells for it to

compare. It should
automatiocally sense the presense of Data and allocate

rank accordingly.
.

.



All times are GMT +1. The time now is 04:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com