I have the following data:
I want to track the running balance in another cell like this:PHP Code:
Transaction Amount
Buy 200
Buy 100
Sell 200
"# Buys" = '=COUNTIF(B:B,"Buy")'
"# Sells" = '=COUNTIF(B:B,"Sell")'
"Buys" = 'sum of all "cells of C" where "B = 'Buy'"'
"Sells" = 'sum of all "cells of C" where "B = 'Sell'"'
How do I do the last two formulas?
Bookmarks