Jun 21 2020 07:56 PM
Jun 21 2020 09:04 PM - edited Jun 21 2020 09:11 PM
@Kyle_P19 A sample spreadsheet would be very helpful to make sure we understand what you are trying to do but if I understand correctly you have a column (lets say col A) with "W" and "L" in the rows to indicate wins and losses. You want to have running totals. I would recommend just having both, a cell for winning percentage and a cell for losing percentage. but you can use a another cell with W/L to pick which.
Simple win percentage:
=COUNTIF(A:A,"W")/COUNTA(A:A)
and the simple loss percentage could be 1-win % calculated above or:
=COUNTIF(A:A,"L")/COUNTA(A:A)
If you want to use a cell (B1) with "W"/"L" to toggle then you can use:
=COUNTIF(A:A,$B$1)/COUNTA(A:A)
if you want you can put that in C2 and then in C1 you can add:
=IF($B$1="W","Win % = ","Loss % = ")
to help label it.
NOTE: If you use a header with a team name or what not then you either need to change the range from A:A to something like A2:A100 or just subtract 1 in the formula. If you have other things going on in that column like "Cancelled" or what not, you could change the denominator to explicitly sum the number of "W" and "L" cells (and you could add in "T" if you have ties also:
=COUNTIF(A:A,$B$1)/(COUNTIF(A:A,"W")+COUNTIF(A:A,"L"))
Jun 21 2020 10:20 PM
Jul 12 2020 11:02 AM
Jul 12 2020 11:11 AM