Calculate win rate issue

MonsterMan

New Member
Joined
Jul 24, 2018
Messages
13
I’m trying to calculate the number of winning trade on my table. The header of my table is ‘Win / Loss’. Each trade is a ‘Win’ or ‘Loss’. Out of the 3 trades made, all 3 were ‘win’, but win rate is shown at 38%, instead of 100%
This is the formula I’m using: =COUNTIF(Table2[Win / Loss],"Win")/COUNTA(Table2[Win / Loss])

Am I missing something?

Thanks
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
The formula works OK, but how is the Win / Loss column being populated? If you have spaces in that column, or if the "Win" is a result of a formula, then the COUNTA function won't count the cells properly. Try this:

=COUNTIF(Table2[Win / Loss],"Win")/SUM(COUNTIF(Table2[Win / Loss],{"Win","Loss"}))
 
Last edited:
Upvote 0
Are there blank cells in column Win / Loss?
If so, see if this works
=COUNTIF(Table2[Win / Loss],"Win")/COUNTIF(Table2[Win / Loss],"?*")

M.
 
Upvote 0
Is the Win/Loss column blank in the other rows (I assume there are more than 3 rows?). If they contain formulas that return blanks, that will still be counted by the CCOUNTA function.

Ooops.. now redundant since others posted regarding this already.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,548
Messages
6,125,472
Members
449,231
Latest member
Sham Yousaf

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