Countif with Sumproduct for multiple tie breakers

Mesh joiner

New Member
Joined
Jan 26, 2014
Messages
2
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
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARAS
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
426ZPrecious ADiv 19.79.89.59.89.59.59.89.99.89.59.79.89.9109.59.89.6109.69.99.886.828.82988.129.329.5174.986.828.8#VALUE!#VALUE!#VALUE!#VALUE!    #VALUE!#VALUE!#VALUE!
527AAPrecious ADiv 1109.99.79.89.79.99.59.99.8109.7109.8109.8109.99.79.89.69.888.229.828.988.429.629.5176.688.229.8#VALUE!#VALUE!#VALUE!#VALUE!    #VALUE!#VALUE!#VALUE!
628BBPrecious ADiv 19.59.8109.89.79.59.69.89.89.99.89.59.99.89.99.89.9109.89.99.887.629.229.488.829.529.6176.487.629.2#VALUE!#VALUE!#VALUE!#VALUE!    #VALUE!#VALUE!#VALUE!
729CCPrecious ADiv 19.59.99.59.89.99.59.59.59.79.5109.7109.79.79.7109.69.79.89.98728.92988.129.429.5175.18728.9#VALUE!#VALUE!#VALUE!#VALUE!    #VALUE!#VALUE!#VALUE!
830DDPrecious ADiv 1109.710109.69.810109.99.99.69.69.59.79.69.59.69.59.6109.888.529.429.686.828.629.3175.388.529.4#VALUE!#VALUE!#VALUE!#VALUE!    #VALUE!#VALUE!#VALUE!
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))
AD4:AD8AD4=IF(A4="","",SUM(Q4,T4,W4))
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)
AL4:AL8AL4=IF(OR(A4="",AI4=1,AJ4=1,AK4=1),"",SUMPRODUCT(--(($AC$4:$AC$123+$AD$4:$AD$123*10^-3+$AE$4:$AE$123*10^-6)>AC4+AD4*10^-3+AE4*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),"")
AP4:AP8AP4=IF('[Audit Book Woorking TEST.xlsx]Roster'!H2="Y",RANK(AD4,AD:AD),"")
AQ4:AQ8AQ4=IF(OR(A4="",AL4=1),"",SUMPRODUCT(--(($AC$4:$AC$13+$AD$4:$AD$13*10^-3+$AE$4:$AE$13*10^-6)>AC4+AD4*10^-3+AE4*10^-6))+1)
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

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
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.
 
Upvote 0

Forum statistics

Threads
1,214,940
Messages
6,122,361
Members
449,080
Latest member
Armadillos

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