What should the formulas be?

itzzjason

New Member
Joined
Dec 8, 2016
Messages
23
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
ABCDEFGHI
1PlayersBuy-in (cash)Buy-in (credit)Ending Stack SizeProfit/LossDeduct Chips From Stack due to creditOwes CashCash Out
2Player 1$ 0$ 200$ 0-200200
3Player 2$ 0$ 200$ 150-5015050
4Player 3$ 100$ 0$ 455355455
5Player 4$ 0$ 400$ 0-400400
6Player 5$ 0$ 500$ 770270500270
7Player 6$ 100$ 200$ 0-300200
8Player 7$ 100$ 200$ 270-3020070
9Player 8$ 100$ 0$ 725625725

I act as the "banker" for the occasional private poker game between my friends and I. The above spreadsheet/table is a sample result of one of our games. I hope the table is self-explanatory. If not, then I can provide more context/details.

I was wondering - What formulas can go in Columns F, G, and H to automatically calculate to get those numbers?

The formulas that I was trying to compose would work in a few cells but not be correct in another cell.
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Looks like this:

=SUM(B2,C2,E2,-H2)
=-MIN(0,B2+E2)
=MAX(0,B2+E2)
 
Upvote 0
Solution
Then make your numbers real numbers. If you want $ in there use formatting.
 
Upvote 0
Then make your numbers real numbers. If you want $ in there use formatting.
Sorry, I meant the formulas you provided was giving me incorrect answers. I do type in numbers only then format the cells to include the $ sign
 
Upvote 0
Try This
ABCDEFGH
PlayersBuy-in (cash)Buy-in (credit)Ending Stack SizeProfit/LossDeduct Chips From Stack due to creditOwes CashCash Out
Player 10-2000=B3+C3+D3=ABS(IF(D3=0,0,IF(C3=0,0,IF(E3>0,D3-E3,IF(E3<0,C3-E3,C3+E3)))))=IF(E3<0,E3-B3,0)=IF(G3=0,E3-B3,0)
Player 20-200150=B4+C4+D4=ABS(IF(D4=0,0,IF(C4=0,0,IF(E4>0,D4-E4,IF(E4<0,C4-E4,C4+E4)))))=IF(E4<0,E4-B4,0)=IF(G4=0,E4-B4,0)
Player 31000455=B5+C5+D5=ABS(IF(D5=0,0,IF(C5=0,0,IF(E5>0,D5-E5,IF(E5<0,C5-E5,C5+E5)))))=IF(E5<0,E5-B5,0)=IF(G5=0,E5-B5,0)
Player 40-4000=B6+C6+D6=ABS(IF(D6=0,0,IF(C6=0,0,IF(E6>0,D6-E6,IF(E6<0,C6-E6,C6+E6)))))=IF(E6<0,E6-B6,0)=IF(G6=0,E6-B6,0)
Player 50-500770=B7+C7+D7=ABS(IF(D7=0,0,IF(C7=0,0,IF(E7>0,D7-E7,IF(E7<0,C7-E7,C7+E7)))))=IF(E7<0,E7-B7,0)=IF(G7=0,E7-B7,0)
Player 6100-2000=B8+C8+D8=ABS(IF(D8=0,0,IF(C8=0,0,IF(E8>0,D8-E8,IF(E8<0,C8-E8,C8+E8)))))=IF(E8<0,E8-B8,0)=IF(G8=0,E8-B8,0)
Player 7100-200270=B9+C9+D9=ABS(IF(D9=0,0,IF(C9=0,0,IF(E9>0,D9-E9,IF(E9<0,C9-E9,C9+E9)))))=IF(E9<0,E9-B9,0)=IF(G9=0,E9-B9,0)
Player 81000725=B10+C10+D10=ABS(IF(D10=0,0,IF(C10=0,0,IF(E10>0,D10-E10,IF(E10<0,C10-E10,C10+E10)))))=IF(E10<0,E10-B10,0)=IF(G10=0,E10-B10,0)

Be sure to register the Buy In Credit as a negative number
 
Upvote 0
Sorry, I meant the formulas you provided was giving me incorrect answers. I do type in numbers only then format the cells to include the $ sign
I wouldnt have posted it if i hadnt checked it produced the same as your example.
 
Upvote 0

Forum statistics

Threads
1,215,471
Messages
6,125,002
Members
449,202
Latest member
Pertotal

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