##### New Member
Hi, I am slowly trying to learn Excel and my recent project has been to create a stock tracker that calculates every trade and how much I made/lost, my account balance, etc. I am starting with \$1000 and trying to see how long it takes to double my account.

The spreadsheet is nearly complete but there's one column I can't figure out. I'd like to track how much available money I have to invest at any given time. I have my present account value in cell (M3). I have another column (G) which contains the total cost of that particular trade. Finally, I have a column (E) which is where I put the selling price once I've exited the trade.

What I'd like to do is subtract my total account value - the cost of all the stocks I haven't yet sold.. So, M3 - the total cost (G) of any cell that doesn't have anything in column E.

I hope this makes sense. I've added a screenshot of my spreadsheet in case that helps. If I am not calculating this formula correctly to give me how much I have to invest at any given moment, please let me know. I'm terrible with numbers.

### Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

##### New Member
Edit -- it's saying my screenshot is to large to upload. I hope I made sense in my post above. Thanks again.

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,164,659
Messages
5,838,643
Members
430,558
Latest member
Krampus

### 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.

### Which adblocker are you using?

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

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