RANK formula with yes/no conditions

Newbie75

New Member
Joined
Jul 3, 2024
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi,
I have an evaluation sheet which currently only ranks on the price entered in row 33, the current formula is:
=IFERROR(RANK(F33,$F$33:$H$33,1),"")

But I would like to exclude from the ranking any supplier who has a 'No' in one of the mandatory criteria cells in their column but am really struggling with how to do this. Ideally I'd like a rank in row 34 for those who have all Yes's or blanks in and 'Does not qualify' in any that have a 'No' in any of the mandatory fields. So in the example below Supplier 3 would not be ranked and will show 'Does not quality' in cell H34 as it has a No in mandatory criteria 3. I am using Office 365. Hope this makes sense!

1720001275787.png
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Hi & welcome to MrExcel.
How about
Excel Formula:
=IFNA(XMATCH(F33:H33,SORT(BYCOL(F28:H33,LAMBDA(bc,IF(COUNTIFS(bc,"no"),"",SUM(bc)))),,,1)),"Does not qualify")
 
Upvote 0
Hi & welcome to MrExcel.
How about
Excel Formula:
=IFNA(XMATCH(F33:H33,SORT(BYCOL(F28:H33,LAMBDA(bc,IF(COUNTIFS(bc,"no"),"",SUM(bc)))),,,1)),"Does not qualify")
Thank you for your reply, this is coming up with the Spill error below ...

1720003162865.png
 
Upvote 0

Forum statistics

Threads
1,224,816
Messages
6,181,138
Members
453,021
Latest member
Justyna P

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