COUNT/MATCH Fx

brose99

New Member
Joined
Jun 16, 2018
Messages
35
ABCDEFGH
1PITCHERSWINLOSSDATEWINLOSSPITCHER
2DAVIS3/301DAVIS
3SMITH3/311SMITH
4JONES4/11JONES
5WILLIAMS4/21WILLIAMS
64/31DAVIS
74/41SMITH
84/51JONES
94/61WILLIAMS
104/71DAVIS
114/81JONES
124/91SMITH
134/101WILLIAMS
144/111DAVIS
154/121JONES
164/131SMITH
174/141WILLIAMS

<tbody>
</tbody>

How can I properly write formulas in cells C2 thru C5 to count the number of wins in column F throughout the season to match the pitcher in column J.

I also want to write the same formula in cells D2 thru D5 to count the number of losses in column G throughout the season to match the pitcher in column J.

Thanks in advance!
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Re: COUNT/MATCH Fx help needed

Hi brose99,

Assuming Pitchers is actually Column A

Then formula for C2 is =COUNTIFS($G$2:$G$17,$A2,$E$2:$E$17,1)

Then formula for D2 is =COUNTIFS($G$2:$G$17,$A2,$F$2:$F$17,1)

When you've check that is works for 2nd row just fill down formula to last line


Hope formula works for you and enjoy.

Don't forget to Post Thanks /Like if it works for you.

Regards
 
Last edited:
Upvote 0
Re: COUNT/MATCH Fx help needed

Hi brose99,

Changed formula to :- To include the rest of the season

Then formula for C2 is =COUNTIFS($G:$G,$A2,$E:$E,1)


Then formula for D2 is =COUNTIFS($G:$G,$A2,$F:$F,1)

Both the above formula should work but might not if you have a pitcher actually named "Pitcher".

Hope formula works for you and enjoy.

Don't forget to Post Thanks /Like if it works for you.

Regards
 
Upvote 0
Re: COUNT/MATCH Fx help needed

Hi brose99,

Changed formula to :- To include the rest of the season

Then formula for C2 is =COUNTIFS($G:$G,$A2,$E:$E,1)

NAILED IT! Thank you, Brombrough!


Then formula for D2 is =COUNTIFS($G:$G,$A2,$F:$F,1)

Both the above formula should work but might not if you have a pitcher actually named "Pitcher".

Hope formula works for you and enjoy.

Don't forget to Post Thanks /Like if it works for you.

Regards

NAILED IT! Thank you for the assist, Brombrough!
 
Upvote 0

Forum statistics

Threads
1,215,554
Messages
6,125,487
Members
449,233
Latest member
Deardevil

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