+ Reply to Thread
Results 1 to 5 of 5

Thread: rank determination

  1. #1
    Forum Contributor
    Join Date
    03-18-2008
    Posts
    120

    Red face rank determination

    Hi,

    I need your help on the following..

    I have calculated the uptime% of each SiteID in respective circle. I would like to calculate the rank of each site within the individual circle based on the uptime achieved.

    I have attached a sample datasheet for your reference. Columns (Circle, SiteID and Uptime) are there in my master database. I would like to build a query which will give the rank of each site id within the circles based on the uptime achieved.

    Thanks in advance.

    Regards,
    Attached Files Attached Files

  2. #2
    Forum Guru Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    5,561

    Re: rank determination

    Try this in E2
    =RANK(C2,INDIRECT("$C$"&MATCH(A2,$A$1:$A$20,0)&":$C$"&COUNTIF($A$1:$A$20,A2)+MATCH(A2,$A$1:$A$20,0)-1))

    Hope this helps
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However, if this takes care of your needs, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED. It helps everybody! ....
    Also
    If you are satisfied by any members response to your problem please consider using the small Star icon botom left of thier post to show your appreciation.

  3. #3
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,423

    Re: rank determination

    @excelhelp18 - perhaps be clear - I think you want a SQL query and the Excel file reflects your Access Database, correct ?

    (posting Excel files in the Access Forum generally leads to confusion)

  4. #4
    Valued Forum Contributor alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Lake County, Illinois
    MS-Off Ver
    MS Office 2010, 2007 and 2002
    Posts
    1,155

    Re: rank determination

    Here is the MS solution based upon their KB. There is no rank function in Access.

    http://support.microsoft.com/kb/208946

    Alan

  5. #5
    Valued Forum Contributor MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    5,259

    Re: rank determination

    Hi excelhelp18

    Find the attached Pivot Table that does what you desire. The sites are alphabatised. Find the attached. Pivot tables have a Rank in show values.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0