# How can I use Rank.Eq, Countifs, and Offset to Rank a Filtered Table

#### ja4day

##### New Member
 Language Criteria1: Wait time(min) Criteria2: Success Rate Criteria3: Volume EN 30.5 61.5% 200000 EN 70.0 75.3% 4765 SP 10.0 57.34% 8000 SP 47.0 49.6% 2000 SP 47.0 55.81% 310000

<tbody>
</tbody>

I've been all over this forum and google trying to find out how to dynamically rank a filtered table w/ multiple conditions. I've seen ways to do one or two parts, but not all.

I'd like to rank by the criteria, in respective order, but use language as the filter. Expected result below...

[HR][/HR]Rank | Lang | Crit1| Crit2| Crit3
1 | EN |70.0 |75.3% | 4765
2 | SP | 47.0 |55.81% | 310000
3 | SP | 47.0 | 49.6% | 2000
4 | EN | 30.5 | 61.5% | 200000
5 | SP | 10.0 | 57.34% | 8000

After Filter: unselect SP
1 | EN |70.0 |75.3% | 4765
2 | EN | 30.5 | 61.5% | 200000

Started with this formula, but it is not dynamic and only looks at 2 out of 3 criteria
=IF([@Wait]>0, RANK.EQ([@Wait],[Wait])+COUNTIFS([Wait],[@Wait],[Success],">"&[@[Success]]),500).

Any ideas? Hope it's not impossible...

### Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

#### ja4day

##### New Member
I am also open to other variations of the formula, including use of: countif or sumproduct...

1,095,168
Messages
5,442,792
Members
405,196
Latest member
rmuir12

### This Week's Hot Topics

• Copy entire row if CountA <>0 to another sheet
[B]I want to copy entire row if CountA <>0 for column J7:AM7 (headers on J6:AM6) and so on till the last used cell is column D and paste the...
• Select last used Row in Table
I have created a Table in a Worksheet which is locked to prevent user errors and protect formula. Some of the cells require freetext entries which...
• excel workbook: do not allow certain file name
Hello all, Don't think this has ever been asked before, but how do I restrict file save [Before_Save Event] if the name of the file being saved...
• fixing problem autofilter
hello i need help about my code when i search by code in textbox it doesn't show anything this is my data [ATTACH type="full"...
• “Weight”
Hi, i’ve got a long sheet filled with weights such as kg,g,L & ml. i can build a formula to convert kg into g and liter into ml. How ever, my...
• How to capitalize everything before a certain character?
In column A, I have some text: Hello good day.mp3 Hello good day.flac etc. I'd like to capitalize everything before the period. I don't need the...