Need help with formula

itzzjason

New Member
Joined
Dec 8, 2016
Messages
23
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
ABCDEFGH
9DateLocationLimit TypeGameStakesBuy-InCashed OutNet
102/17/22Home gameNLHE0.50/1200380180
112/18/22Casino 1NLHE1/2300900600
122/19/22Casino 2SpreadHE1/3500600100
132/20/22Home gamePLO1/2600100-500
142/21/22Casino 2NLHE1/23000-300

The above table is a sample of what my spreadsheet looks like. I use it to track my poker sessions' results.

There's 1 cell I'm having a hard time coming up with a formula. I want it to display the percentage of profitable sessions while my results are unfiltered/filtered.

If I were to filter the results to show only my sessions at Casino 2, the cell would show 50% profitable sessions. Or all my Omaha sessions, the cell value would be 0%. Unfiltered results, the cell value would change to 60%.
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
what formula are you using to get your results currently? you should be able to modify it and use SUBTOTAL function which can ignore filtered rows.
 
Upvote 0
what formula are you using to get your results currently? you should be able to modify it and use SUBTOTAL function which can ignore filtered rows.
I originally wanted to use SUBTOTAL with some sort of COUNTIF function code. But I couldn't find COUNTIF under SUBTOTAL.
 
Upvote 0
How about with a helper column
+Fluff 1.xlsm
ABCDEFGHI
70.6
8
9DateLocationLimit TypeGameStakesBuy-InCashed OutNetVisible
102/17/22Home gameNLHE0.50/12003801801
112/18/22Casino 1NLHE1/23009006001
122/19/22Casino 2SpreadHE1/35006001001
132/20/22Home gamePLO1/2600100-5001
142/21/22Casino 2NLHE1/33000-3001
Data
Cell Formulas
RangeFormula
I7I7=COUNTIFS(H10:H20,">0",I10:I20,1)/COUNTIFS(I10:I20,1)
I10:I14I10=SUBTOTAL(3,A10)
 
Upvote 0
Solution

Forum statistics

Threads
1,215,025
Messages
6,122,732
Members
449,093
Latest member
Mnur

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