Formula to count number of skins

VinceF

Board Regular
Joined
Sep 22, 2007
Messages
194
Office Version
  1. 2016
Platform
  1. Windows
Cell Formulas
RangeFormula
O2:W2O2=Main!T5
O3:W3O3=Main!T7
O5:W5O5=IF($B$5="","",IF($D$5="no","",IF(Main!$B$3="Stableford","",IF($D$5="yes",IF(ISTEXT($B$5),(Main!T$11-(O$3<=$C$5)-(($C$5-18)>=O$3)))))))
O6:O27O6=IF($B6="","",IF(Main!$B$6="Stableford","",IF($D6="yes",IF($B6="","",IF(ISTEXT($B6),(Main!$T12-(O$3<=$C6)-(($C6-18)>=O$3)))))))
P6:P27P6=IF($B6="","",IF(Main!$B$6="Stableford","",IF($D6="yes",IF($B6="","",IF(ISTEXT($B6),(Main!$U12-(P$3<=$C6)-(($C6-18)>=P$3)))))))
Q6:Q27Q6=IF($B6="","",IF(Main!$B$6="Stableford","",IF($D6="yes",IF($B6="","",IF(ISTEXT($B6),(Main!$V12-(Q$3<=$C6)-(($C6-18)>=Q$3)))))))
R6:R27R6=IF($B6="","",IF(Main!$B$6="Stableford","",IF($D6="yes",IF($B6="","",IF(ISTEXT($B6),(Main!$W12-(R$3<=$C6)-(($C6-18)>=R$3)))))))
S6:S27S6=IF($B6="","",IF(Main!$B$6="Stableford","",IF($D6="yes",IF($B6="","",IF(ISTEXT($B6),(Main!$X12-(S$3<=$C6)-(($C6-18)>=S$3)))))))
T6:T27T6=IF($B6="","",IF(Main!$B$6="Stableford","",IF($D6="yes",IF($B6="","",IF(ISTEXT($B6),(Main!$Y12-(T$3<=$C6)-(($C6-18)>=T$3)))))))
U6:U27U6=IF($B6="","",IF(Main!$B$6="Stableford","",IF($D6="yes",IF($B6="","",IF(ISTEXT($B6),(Main!$Z12-(U$3<=$C6)-(($C6-18)>=U$3)))))))
V6:V27V6=IF($B6="","",IF(Main!$B$6="Stableford","",IF($D6="yes",IF($B6="","",IF(ISTEXT($B6),(Main!$AA12-(V$3<=$C6)-(($C6-18)>=V$3)))))))
W6:W27W6=IF($B6="","",IF(Main!$B$6="Stableford","",IF($D6="yes",IF($B6="","",IF(ISTEXT($B6),(Main!$AB12-(W$3<=$C6)-(($C6-18)>=W$3)))))))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
W6:W44Expression=AND($W6=MIN($W$5:$W$44),COUNTIF($W$5:$W$44,$W6)=1)textNO
V6:V44Expression=AND($V6=MIN($V$5:$V$44),COUNTIF($V$5:$V$44,$V6)=1)textNO
U6:U44Expression=AND($U6=MIN($U$5:$U$44),COUNTIF($U$5:$U$44,$U6)=1)textNO
T6:T44Expression=AND($T6=MIN($T$5:$T$44),COUNTIF($T$5:$T$44,$T6)=1)textNO
S6:S43Expression=AND($S6=MIN($S$5:$S$44),COUNTIF($S$5:$S$44,$S6)=1)textNO
R6:R44Expression=AND($R6=MIN($R$5:$R$44),COUNTIF($R$5:$R$44,$R6)=1)textNO
Q6:Q44Expression=AND($Q6=MIN($Q$5:$Q$44),COUNTIF($Q$5:$Q$44,$Q6)=1)textNO
P6:P44Expression=AND($P6=MIN($P$5:$P$44),COUNTIF($P$5:$P$44,$P6)=1)textNO
O6:O44Expression=AND($O6=MIN($O$5:$O$44),COUNTIF($O$5:$O$44,$O6)=1)textNO
P5:W5Expression=AND($W5=MIN($W$5:$W$44),COUNTIF($W$5:$W$44,$W5)=1)textNO
O5Expression=AND($O5=MIN($O$5:$O$44),COUNTIF($O$5:$O$44,$O5)=1)textNO
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Sorry for the post without any explanation...still learning how to post the picture/sheet.

What I'm looking for is a way to count the number of skins and hopefully be able to report that number to another sheet.

Thanks for your assistance
VinceF
 
Upvote 0
Possible this part of the sheet would be better.
Cell Formulas
RangeFormula
D2:M2D2=Main!I5
D3:M3D3=Main!I7
A5:A23A5=Main!B11
B5:B23B5=IF(ISTEXT(Main!C11), Main!C11, "")
C5:C23C5=IF($B5="","",ROUND(Main!E11,0))
D5:D23D5=IF($B5="","",Main!I11)
E5:E23E5=IF($B5="","",IF($D5="no","",IF(Main!$B$3="Stableford","",IF($D5="yes",IF(ISTEXT($B5),(Main!$J11-($E$3<=$C5)-(($C5-18)>=$E$3)))))))
F5F5=IF($B5="","",IF($D5="no","",IF(Main!$B$3="Stableford","",IF($D5="yes",IF(ISTEXT($B5),(Main!$K11-($E$3<=$C5)-(($C5-18)>=$E$3)))))))
G5:M5G5=IF($B$5="","",IF($D$5="no","",IF(Main!$B$3="Stableford","",IF($D$5="yes",IF(ISTEXT($B$5),(Main!L$11-(G$3<=$C$5)-(($C$5-18)>=G$3)))))))
F6:F23F6=IF($B6="","",IF(Main!$B$6="Stableford","",IF($D6="yes",IF($B6="","",IF(ISTEXT($B6),(Main!K12-($F$3<=$C6)-(($C6-18)>=F$3)))))))
G6:G23G6=IF($B6="","",IF(Main!$B$6="Stableford","",IF($D6="yes",IF($B6="","",IF(ISTEXT($B6),(Main!$L12-($G$3<=$C6)-(($C6-18)>=G$3)))))))
H6:H23H6=IF($B6="","",IF(Main!$B$6="Stableford","",IF($D6="yes",IF($B6="","",IF(ISTEXT($B6),(Main!$M12-(H$3<=$C6)-(($C6-18)>=H$3)))))))
I6:I23I6=IF($B6="","",IF(Main!$B$6="Stableford","",IF($D6="yes",IF($B6="","",IF(ISTEXT($B6),(Main!$N12-(I$3<=$C6)-(($C6-18)>=I$3)))))))
J6:J23J6=IF($B6="","",IF(Main!$B$6="Stableford","",IF($D6="yes",IF($B6="","",IF(ISTEXT($B6),(Main!$O12-(J$3<=$C6)-(($C6-18)>=J$3)))))))
K6:K23K6=IF($B6="","",IF(Main!$B$6="Stableford","",IF($D6="yes",IF($B6="","",IF(ISTEXT($B6),(Main!$P12-(K$3<=$C6)-(($C6-18)>=K$3)))))))
L6:L23L6=IF($B6="","",IF(Main!$B$6="Stableford","",IF($D6="yes",IF($B6="","",IF(ISTEXT($B6),(Main!$Q12-(L$3<=$C6)-(($C6-18)>=L$3)))))))
M6:M23M6=IF($B6="","",IF(Main!$B$6="Stableford","",IF($D6="yes",IF($B6="","",IF(ISTEXT($B6),(Main!$R12-(M$3<=$C6)-(($C6-18)>=M$3)))))))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
F6:F44Expression=AND($F6=MIN($F$5:$F$44),COUNTIF($F$5:$F$44,$F6)=1)textNO
G6:M6Expression=AND($E6=MIN($E$5:$E$44),COUNTIF($E$5:$E$44,$E6)=1)textNO
G7:G44Expression=AND($G7=MIN($G$5:$G$44),COUNTIF($G$5:$G$44,$G7)=1)textNO
M7:M44Expression=AND($M7=MIN($M$5:$M$44),COUNTIF($M$5:$M$44,$M7)=1)textNO
L7:L43Expression=AND($L7=MIN($L$5:$L$44),COUNTIF($L$5:$L$44,$L7)=1)textNO
K7:K44Expression=AND($K7=MIN($K$5:$K$44),COUNTIF($K$5:$K$44,$K7)=1)textNO
J7:J44Expression=AND($J7=MIN($J$5:$J$44),COUNTIF($J$5:$J$44,$J7)=1)textNO
I7:I44Expression=AND($I7=MIN($I$5:$I$44),COUNTIF($I$5:$I$44,$I7)=1)textNO
H7:H44Expression=AND($H7=MIN($H$5:$H$44),COUNTIF($H$5:$H$44,$H7)=1)textNO
E6:E44Expression=AND($E6=MIN($E$5:$E$44),COUNTIF($E$5:$E$44,$E6)=1)textNO
G5:M5Expression=AND($G5=MIN($G$5:$G$44),COUNTIF($G$5:$G$44,$G5)=1)textNO
F5Expression=AND($F5=MIN($F$5:$F$44),COUNTIF($F$5:$F$44,$F5)=1)textNO
E5Expression=AND($E5=MIN($E$5:$E$44),COUNTIF($E$5:$E$44,$E5)=1)textNO
 
Upvote 0

Forum statistics

Threads
1,224,507
Messages
6,179,181
Members
452,893
Latest member
denay

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