Greetings! I'm stuck for some reason. End goal: to get the indivdual pitch call counts for each pitcher (Rise, drop, etc.) One would assume copying the formula from colum B for each pitch type & referencing B12:B3006 "*Pitcher1" would do the trick, but no such luck. Each pitch has its own letter reference: R, D, L, V, C, etc (see columns G&H for balls/strikes), so the range (as in B:2:B8 formulas show) would reference the wild card. I get a #VALUE error when I attempt: =COUNTIFS($B:$B,"*Pitcher1",$G11:$H3006,"*L*") The actual spreadsheet will have the Pitcher's name. As always, any assistance is MORE than appreciated.
Thanks in advance,
Debbie
Thanks in advance,
Debbie
Sample Pitching chart 2021-2022.xlsx | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | |||
1 | Call % | Pitcher1 | Pitcher2 | Pitcher3 | Pitcher4 | |||||||||
2 | Rise Balls | 40 | 41% | |||||||||||
3 | Drop Balls | 11 | 11% | |||||||||||
4 | Curve Balls | 20 | 20% | |||||||||||
5 | Fast Balls | 10 | 10% | |||||||||||
6 | Change Up | 9 | 9% | |||||||||||
7 | Slow Curve | 8 | 8% | |||||||||||
8 | 1st Pitch Strike | 24 | 24% | 9 | 15 | 0 | 0 | |||||||
9 | TOTAL PITCHES | 98 | ||||||||||||
10 | ||||||||||||||
11 | Inning | Pitcher | Batter | L/R | Pitch # | Hit spot? | Ball | Strike | Result | |||||
12 | 1 | Pitcher2 | 1 | L | 1 | Y | V3• (H) | |||||||
13 | 1 | Pitcher2 | 1 | L | 2 | R1▲ | ||||||||
14 | 1 | Pitcher2 | 1 | L | 3 | Y | V3 (H) | KL | ||||||
15 | 3 | Pitcher2 | 1 | L | 1 | Y | V3 (H) | |||||||
16 | 3 | Pitcher2 | 1 | L | 2 | Y | R1▲ (H) | |||||||
17 | 3 | Pitcher2 | 1 | L | 3 | Y | C3■ (H) | 1B-4 | ||||||
18 | 1 | Pitcher1 | 1 | L | 1 | Y | L3 (H) | |||||||
19 | 8 | Pitcher1 | 15 | R | 1 | D3 | ||||||||
20 | 8 | Pitcher1 | 15 | R | 2 | Y | F2 (H) | |||||||
21 | 8 | Pitcher1 | 15 | R | 3 | Y | F2▲ (H) | |||||||
22 | 8 | Pitcher1 | 15 | R | 4 | Y | R1• (H) | KS | ||||||
23 | 1 | Pitcher2 | 4 | R | 1 | Y | R4• (H) | |||||||
24 | 1 | Pitcher2 | 4 | R | 2 | R4 | ||||||||
25 | 1 | Pitcher2 | 4 | R | 3 | Y | V3▲ (H) | |||||||
26 | 1 | Pitcher2 | 4 | R | 4 | R4■ | 1B-9 | |||||||
Entry |
Cell Formulas | ||
---|---|---|
Range | Formula | |
C2:C8 | C2 | =+B2/$M$34 |
E8 | E8 | =COUNTIFS($B:$B,"*Pitcher1",$E:$E,1,$H:$H,"?*") |
G8 | G8 | =COUNTIFS($B:$B,"*Pitcher2",$E:$E,1,$H:$H,"?*") |
I8 | I8 | =COUNTIFS($B:$B,"*Pitcher3",$E:$E,1,$H:$H,"?*") |
K8 | K8 | =COUNTIFS($B:$B,"*Pitcher4",$E:$E,1,$H:$H,"?*") |
B2 | B2 | =COUNTIF($G$12:$H$3007,"*R*") |
B3 | B3 | =COUNTIF($G$12:$H$3007,"*D*") |
B4 | B4 | =COUNTIF($G$12:$H$3007,"*V*") |
B5 | B5 | =COUNTIF($G$12:$H$3007,"*F*") |
B6 | B6 | =COUNTIF($G$12:$H$3007,"*C*") |
B7 | B7 | =COUNTIF($G$12:$H$3007,"*L*") |
B8 | B8 | =COUNTIFS(E:E,1,H:H,"?*") |
B9 | B9 | =SUM(B2:B7) |
F12:F26 | F12 | =IF(COUNTIF(G12:H12,"*H)"),"Y","") |
Named Ranges | ||
---|---|---|
Name | Refers To | Cells |
Strike | =Entry!$H$12:$H$477 | F12, K8, I8, G8, E8, B2:B8 |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
G12:H3007 | Cell Value | contains "*(H)" | text | NO |
G12:H3007 | Cell | does not contain a blank value | text | NO |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
G12:H26 | List | =Pitches!$A$2:$A$97 |