Rankif formula for multiple columns of data

Obewan

Board Regular
Joined
Aug 25, 2021
Messages
68
Office Version
  1. 365
Platform
  1. Windows
I have the following:
AY = a list of codes (i.e. unique identifiers)
BM:BR - columns of data

In BS I have a formula as follows which I can copy down that column (starts on row 7):
=COUNTIFS($AY$7:$AY$100000,$AY7,$BN$7:$BN$100000,">"&BN7)+1

This works and ranks all numbers in column BN according to correpsonding code in AY

What I want to do is extend this formula so it covers all data in columns BN:BR for the code - I changed the formula to
=COUNTIFS($AY$7:$AY$100000,$AY7,$BN$7:$BR$100000,">"&BN7)+1

but just get an error message #VALUE!

Any suggestions?

Thanks in advance

Seamus
 
You are getting the right answers but I am not - it still appears to be ranking all the blank cells as 1 then the numbers tart getting ranked thereafter - this is weird as it's working for you?
but as per your previous post, there is no ranking value visible in the data
 
Upvote 0

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.
Excellent. Thanks for your help - got it sorted!!
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,259
Members
449,075
Latest member
staticfluids

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