Countif with Sumproduct for multiple tie breakers

Mesh joiner

New Member
I have successfully created double tie breakers using the sumproduct function for ranking in columns AI-AS. They were working perfectly as long as every row was filled. However, realistically, not every row will be filled (some blank rows will be hidden). I think I need to add a countif function, but i can't figure out where to put it. HELP!
tiebreaker countif.xlsx
1BeautyOOC
2Judge 1Judge 2Judge 3Judge 1Judge 2Judge 3
3Contestant NumberContestant NameGroupDivisionFirst ImpressionFacial BeautyStage Presence & PoiseDressFirst ImpressionFacial BeautyStage Presence & PoiseDressFirst ImpressionFacial BeautyStage Presence & PoiseDressOverall AppearancePersonality & ProjectionAppeal of ThemewearOverall AppearancePersonality & ProjectionAppeal of ThemewearOverall AppearancePersonality & ProjectionAppeal of ThemewearTotal BeautyBeauty Tie Breaker 1Beauty Tie Breaker 2Total OOCOOC Tie Breaker 1OOC Tie Breaker 2Total ScoreTotal Tie Breaker 1Total Tie Breaker 2Grand RankDivision RankBeauty RankOOC RankDO DressDO Dress RankDO Facial BeautyDO PersonalityAge Group OOCAge Group BeautyAge Group Rank
PM Required
Cell Formulas
RangeFormula
Z4:Z8Z4=IF(A4="","",SUM(E4:G4,I4:K4,M4:O4))
AA4:AA8AA4=IF(A4="","",SUM(F4,J4,N4))
AB4:AB8AB4=IF(A4="","",SUM(G4,K4,O4))
AC4:AC8AC4=IF(A4="","",SUM(Q4:Y4))
AE4:AE8AE4=IF(A4="","",SUM(R4,U4,X4))
AF4:AF8AF4=IF(A4="","",Z4+AC4)
AG4:AG8AG4=IF(A4="","",Z4)
AH4:AH8AH4=AA4
AI4AI4=IF(A4<>"",SUMPRODUCT(--((\$AF\$4:\$AF\$104+\$Z\$4:\$Z\$104*10^-3+\$AA\$4:\$AA\$104*10^-6)>AF4+Z4*10^-3+AA4*10^-6))+1,"")
AJ4:AJ8AJ4=IF(OR(A4="",AI4=1),"",SUMPRODUCT(--((\$AF\$4:\$AF\$43+\$Z\$4:\$Z\$43*10^-3+\$AA\$4:\$AA\$43*10^-6)>AF4+Z4*10^-3+AA4*10^-6))+1)
AK4:AK8AK4=IF(OR(A4="",AI4=1,AJ4=1),"",SUMPRODUCT(--((\$Z\$4:\$Z\$123+\$AA\$4:\$AA\$123*10^-3+\$AB\$4:\$AB\$123*10^-6)>Z4+AA4*10^-3+AB4*10^-6))+1)
AM4:AM8AM4=IF('[Audit Book Woorking TEST.xlsx]Roster'!G2="Y",SUM(H4,L4,P4),"")
AN4:AN8AN4=IF(AM4="","",RANK(AM4,AM:AM))
AO4:AO8AO4=IF('[Audit Book Woorking TEST.xlsx]Roster'!I2="Y",RANK(AA4,AA:AA),"")
AR4:AR8AR4=IF(OR(A4="",AK4=1),"",SUMPRODUCT(--((\$Z\$4:\$Z\$13+\$AA\$4:\$AA\$13*10^-3+\$AB\$4:\$AB\$13*10^-6)>Z4+AA4*10^-3+AB4*10^-6))+1)
AS4,AS6:AS8AS4=IF(OR(AI4=1,AJ4=1,AK4=1,AL4=1),"",SUMPRODUCT(--((\$AF\$4:\$AF\$13+\$Z\$4:\$Z\$13*10^-3+\$AA\$4:\$AA\$13*10^-6)>AF4+Z4*10^-3+AA4*10^-6))+1)
AI5:AI8AI5=IF(A5="","",SUMPRODUCT(--((\$AF\$4:\$AF\$104+\$Z\$4:\$Z\$104*10^-3+\$AA\$4:\$AA\$104*10^-6)>AF5+Z5*10^-3+AA5*10^-6))+1)
AS5AS5=IF(OR(AI4=1,AJ4=1,AK4=1,AL4=1),"",SUMPRODUCT(--((\$AF\$4:\$AF\$13+\$Z\$4:\$Z\$13*10^-3+\$AA\$4:\$AA\$13*10^-6)>AF5+Z5*10^-3+AA5*10^-6))+1)

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.
It strikes me that your question relates to ranking with tiebreakers. I see that you are attempting to do that with those the 10^-6 formulas and such. Hopefully, this article might help you create an easier method than SUMPRODUCT and COUNTIFS.

Replies
16
Views
284
Replies
8
Views
304
Replies
1
Views
234
Replies
8
Views
291
Replies
3
Views
285

1,219,935
Messages
6,151,062
Members
451,006
Latest member
dhinze84

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.

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

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