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,
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
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.
@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)
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Here is the MS solution based upon their KB. There is no rank function in Access.
http://support.microsoft.com/kb/208946
Alan
Alan
Click the * below to say thanks.
Database Principles
Pivot Table Tips
Good Excel Video Tutorials
Sumifs or SumProduct
DataPig Access Tutorials
MS Query Tutorial
Worst Pie Chart Ever?
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks