I have a data set that looks like the below
[TABLE="width: 323"]
<TBODY>[TR]
[TD]MATCH_ID</SPAN>[/TD]
[TD]SUM ID</SPAN>[/TD]
[TD]CP</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132746</SPAN>[/TD]
[TD="align: right"]698131</SPAN>[/TD]
[TD]A</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132746</SPAN>[/TD]
[TD="align: right"]459759729</SPAN>[/TD]
[TD]B</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132746</SPAN>[/TD]
[TD="align: right"]459759732</SPAN>[/TD]
[TD]B</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132748</SPAN>[/TD]
[TD="align: right"]698153</SPAN>[/TD]
[TD]A</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132748</SPAN>[/TD]
[TD="align: right"]175466963</SPAN>[/TD]
[TD]B</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132748</SPAN>[/TD]
[TD="align: right"]175470122</SPAN>[/TD]
[TD]B</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132752</SPAN>[/TD]
[TD="align: right"]698343</SPAN>[/TD]
[TD]A</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132752</SPAN>[/TD]
[TD="align: right"]474051970</SPAN>[/TD]
[TD]B</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132752</SPAN>[/TD]
[TD="align: right"]474052093</SPAN>[/TD]
[TD]B</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132752</SPAN>[/TD]
[TD="align: right"]474213901</SPAN>[/TD]
[TD]B</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132766</SPAN>[/TD]
[TD="align: right"]698959</SPAN>[/TD]
[TD]A</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132766</SPAN>[/TD]
[TD="align: right"]459759728</SPAN>[/TD]
[TD]B</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132766</SPAN>[/TD]
[TD="align: right"]459759730</SPAN>[/TD]
[TD]B</SPAN>[/TD]
[/TR]
</TBODY><COLGROUP><COL><COL><COL></COLGROUP>[/TABLE]
Basically, every match id should have equal number of As and Bs, that is, match id 473132746 should have 2 As as CP and 2 Bs as CP or one of each.
I want to write a formula that picks out the whether the number of As and Bs per match id are equal or not. I was trying to combine a countfs and match function but not getting anywhere
[TABLE="width: 323"]
<TBODY>[TR]
[TD]MATCH_ID</SPAN>[/TD]
[TD]SUM ID</SPAN>[/TD]
[TD]CP</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132746</SPAN>[/TD]
[TD="align: right"]698131</SPAN>[/TD]
[TD]A</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132746</SPAN>[/TD]
[TD="align: right"]459759729</SPAN>[/TD]
[TD]B</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132746</SPAN>[/TD]
[TD="align: right"]459759732</SPAN>[/TD]
[TD]B</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132748</SPAN>[/TD]
[TD="align: right"]698153</SPAN>[/TD]
[TD]A</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132748</SPAN>[/TD]
[TD="align: right"]175466963</SPAN>[/TD]
[TD]B</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132748</SPAN>[/TD]
[TD="align: right"]175470122</SPAN>[/TD]
[TD]B</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132752</SPAN>[/TD]
[TD="align: right"]698343</SPAN>[/TD]
[TD]A</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132752</SPAN>[/TD]
[TD="align: right"]474051970</SPAN>[/TD]
[TD]B</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132752</SPAN>[/TD]
[TD="align: right"]474052093</SPAN>[/TD]
[TD]B</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132752</SPAN>[/TD]
[TD="align: right"]474213901</SPAN>[/TD]
[TD]B</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132766</SPAN>[/TD]
[TD="align: right"]698959</SPAN>[/TD]
[TD]A</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132766</SPAN>[/TD]
[TD="align: right"]459759728</SPAN>[/TD]
[TD]B</SPAN>[/TD]
[/TR]
[TR]
[TD="align: right"]473132766</SPAN>[/TD]
[TD="align: right"]459759730</SPAN>[/TD]
[TD]B</SPAN>[/TD]
[/TR]
</TBODY><COLGROUP><COL><COL><COL></COLGROUP>[/TABLE]
Basically, every match id should have equal number of As and Bs, that is, match id 473132746 should have 2 As as CP and 2 Bs as CP or one of each.
I want to write a formula that picks out the whether the number of As and Bs per match id are equal or not. I was trying to combine a countfs and match function but not getting anywhere