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

ja4day

New Member
Joined
Jun 17, 2019
Messages
2
[TABLE="class: grid, width: 400"]
<tbody>[TR]
[TD]Language
[/TD]
[TD]Criteria1: Wait time(min)
[/TD]
[TD]Criteria2: Success Rate
[/TD]
[TD]Criteria3: Volume
[/TD]
[/TR]
[TR]
[TD]EN
[/TD]
[TD]30.5
[/TD]
[TD]61.5%
[/TD]
[TD]200000
[/TD]
[/TR]
[TR]
[TD]EN
[/TD]
[TD]70.0
[/TD]
[TD]75.3%
[/TD]
[TD]4765
[/TD]
[/TR]
[TR]
[TD]SP
[/TD]
[TD]10.0
[/TD]
[TD]57.34%
[/TD]
[TD]8000
[/TD]
[/TR]
[TR]
[TD]SP
[/TD]
[TD]47.0
[/TD]
[TD]49.6%
[/TD]
[TD]2000
[/TD]
[/TR]
[TR]
[TD]SP
[/TD]
[TD]47.0
[/TD]
[TD]55.81%
[/TD]
[TD]310000
[/TD]
[/TR]
</tbody>[/TABLE]

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...



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

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Forum statistics

Threads
1,223,885
Messages
6,175,183
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top