Investment Spreadsheet

Build a portfolio spreadsheet with automation, risk calculations, and performance tracking

An investment spreadsheet is more powerful than a simple stock list. It's a tool for understanding your portfolio's risk, tracking performance, and making smarter allocation decisions. In this guide, we'll show you how to build one from scratch with automation built in.

What Makes a Good Investment Spreadsheet?

Beyond basic holdings data, a robust investment spreadsheet tracks:

Building Your Investment Spreadsheet: The Master Template

Part 1: Holdings Sheet

Create a sheet called "Holdings" with these columns:

A: Ticker | B: Company/Security | C: Asset Class | D: Shares | E: Entry Price | F: Current Price | G: Total Value | H: Allocation % | I: Gain/Loss | J: Cost Basis | K: Date Acquired

The key addition here is Asset Class (stocks, bonds, international, crypto, real estate, etc.). This feeds into your allocation calculations.

Part 2: Allocation Summary Sheet

This is where automation kicks in. Use SUMIF formulas to calculate your actual allocation by asset class:

Asset Class | Total Value | % of Portfolio Stocks | =SUMIF(Holdings!C:C,"Stocks",Holdings!G:G) | =B2/SUM($B$2:$B$6)*100 Bonds | =SUMIF(Holdings!C:C,"Bonds",Holdings!G:G) | =B3/SUM($B$2:$B$6)*100 International | =SUMIF(Holdings!C:C,"International",Holdings!G:G) | =B4/SUM($B$2:$B$6)*100 Cash | =SUMIF(Holdings!C:C,"Cash",Holdings!G:G) | =B5/SUM($B$2:$B$6)*100 Crypto | =SUMIF(Holdings!C:C,"Crypto",Holdings!G:G) | =B6/SUM($B$2:$B$6)*100

Now whenever you add or remove a holding, your allocation automatically updates. No manual recalculation needed.

Part 3: Risk Tracking Sheet

For risk monitoring, add calculations like:

💡 Tip: For concentration risk, use: =MAX(H2:H100) to find your largest position. If it exceeds 15%, conditional formatting will highlight it red.

Part 4: Performance Dashboard

Create a summary dashboard showing:

Total Portfolio Value: =SUM(Holdings!G:G) Total Cost Basis: =SUM(Holdings!J:J) Total Gain/Loss: =Total Portfolio Value - Total Cost Basis Portfolio Return %: =(Total Gain/Loss / Total Cost Basis) * 100

Automating Your Investment Spreadsheet

Option 1: Google Sheets GOOGLEFINANCE()

If you use Google Sheets, the easiest automation is:

=GOOGLEFINANCE("TICKER","price")

This pulls live stock prices directly into your spreadsheet. For example:

=GOOGLEFINANCE("MSFT","price")

Excel doesn't have a native equivalent, but you can import data via Power Query or use Excel add-ins like Quandl.

Option 2: Manual Data Import with Scheduled Updates

Set a weekly reminder (every Friday close) to update prices from Yahoo Finance or your broker. It takes 10 minutes if you're organized.

Option 3: Semi-Automated via Broker Integration

Some brokers (Schwab, Fidelity) let you export your holdings as CSV. You can paste this into a separate sheet and use VLOOKUP to match data with your tracking sheet.

Calculating Key Risk Metrics

1. Concentration Risk

Shows if you're over-exposed to a single stock:

Largest Position % = MAX(Holdings!H2:H100)

Benchmark: Most portfolios shouldn't have any single position > 10–15% unless it's intentional.

2. Sector Exposure

Add a "Sector" column to your Holdings sheet, then use SUMIF to calculate sector concentration:

Tech Allocation % = SUMIF(Holdings!Sector:Sector,"Technology",Holdings!H:H) Healthcare Allocation % = SUMIF(Holdings!Sector:Sector,"Healthcare",Holdings!H:H)

3. Asset Class Drift Alert

Compare your actual allocation to your target, and flag anything drifting > 3%:

Drift = ABS(Actual Allocation % - Target Allocation %) Status = IF(Drift > 3%, "Rebalance Needed", "OK")

Investment Spreadsheet Best Practices

When to Upgrade to Automated Tools

Your spreadsheet is great for learning and small portfolios. But if you:

Then it's time to consider a dedicated portfolio tracker. The automation and insights pay for themselves in time saved. For more context, review our guide on Excel vs automated tools.

Next Steps

Start with the Holdings and Allocation sheets. Get those working smoothly, then add Risk and Performance sheets as you get comfortable with the setup. Your spreadsheet should evolve with your portfolio.

Once your spreadsheet is running, explore: