• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

rank based on multiple criteria

ysherriff

Member
Hello all,

I have a table structure that I need to rank based on multiple criteria. The data table is setup where I have a list of hospital names with the name of their state and the number of discharges annually.

I need to rank the number of discharges for each hospital rather than the entire list. the data is already sorted by

ex.

hospital name state discharge rank
abbot al 50 1
abbot al 30 2
tcu tx 70 2
tcu tx 89 1
rice ca 100 1
ny nj 90 1
ny nj 40 2


I have attached sample subset.

thank you for your help.
 

Attachments

  • RANK help.xls
    33 KB · Views: 5
here is a better layout:

  • hospital state disch rank
  • abbot al 50 1
  • abbot al 30 2
  • tcu tx 70 2
  • tcu tx 89 1
  • rice ca 100 1
  • ny nj 89 1
  • ny nj 40 2
 
Back
Top