I have a spreadsheet where I want a Unique rank with groups, I've been searching online but can't quite get it right, this is what I want (there are 2000 rows in total) in the rank column
I've used sumproduct, which is working but when I try to use COUNTIF, it does seem to respect the group