PlanoNestPlanoNest
  • Home
  • Templates
  • Learn Templates
  • About
  • Contact
  1. Home
  2. Template Guides & Tutorials
  3. Create a Stock Portfolio in Excel: Step-by-Step Build
Create a Stock Portfolio in Excel: Step-by-Step Build

Create a Stock Portfolio in Excel: Step-by-Step Build

2026/11/07
|
Robin
Robin

Learn how to create a stock portfolio in Excel with the Stocks data type, cost basis columns, and gain/loss formulas.

You can create a stock portfolio in Excel with a blank sheet, the Stocks data type, and a handful of formulas. This walkthrough is for Microsoft 365 users who want a working register today. If you prefer a prebuilt Quotes and Portfolio layout, return to the hub guide or the PlanoNest template.

Key takeaway: Enter tickers and your share data first. Add live prices second. Calculate value and gain last so you never paste over formulas by accident.

Step 1 — Headers and sample rows

DIY portfolio setup

  1. Open a new workbook. In row 1 add: Ticker, Price, Shares, Avg Cost, Cost Basis, Market Value, Gain/Loss, Gain %.
  2. Type three tickers you actually own (or watch).
  3. Enter Shares and Avg Cost from your brokerage.
  4. Format the range as a Table (Insert > Table).

Step 2 — Convert tickers to Stocks

Select the Ticker column. Data > Stocks. Excel links each symbol to market data. Use the Add Column control to insert Price, or type =[@Ticker].Price in the Price column if your build supports linked field formulas. Refresh with Data > Refresh All when you review.

Warning: Stocks data type needs Microsoft 365 connectivity. Offline Excel will not update prices.

Step 3 — Formulas

For a table row:

  • Cost Basis = Shares × Avg Cost
  • Market Value = Shares × Price
  • Gain/Loss = Market Value − Cost Basis
  • Gain % = Gain/Loss ÷ Cost Basis

Add a total row for Cost Basis, Market Value, and Gain/Loss. Conditional formatting on Gain/Loss helps scan winners and losers without a chart.

Step 4 — Optional sell rule column

Add Target Price and a Status column with =IF([@Price]>=[@[Target Price]],"REVIEW","HOLD"). Treat it as a reminder, not automated advice.

Step 5 — Harden the habit

Export brokerage activity monthly. Update shares and avg cost before you trust totals. Keep closed positions on a separate Closed sheet or with a Status filter. Guides from NYIM Training and Investopedia expand on risk columns and multi-sheet views if you outgrow one table.

Product highlight: Three verified sample rows catch formula mistakes before you import fifty tickers.

When to stop DIY

If you need a transaction log, historical CAGR charts, and a dedicated Quotes sheet, building from a blank file takes longer than starting from a structured workbook. PlanoNest’s tracker packages those sheets as a one-time purchase with instant download—use the product page for live pricing.

Keep the workbook honest over time

Personal portfolio spreadsheets fail quietly. A ticker stops resolving, a dividend reinvestment changes share count, or cash sits in the brokerage and never appears in the total. Schedule a short reconciliation: open the brokerage positions view, match tickers and shares, then match cash. Only after that reconciliation should you trust allocation percentages or month-over-month charts.

Document exceptions on the Start Here sheet. Examples: a delisted ticker kept for history, a mutual fund priced manually, or a joint account that should be excluded from personal allocation targets. Future you will not remember why a row looks odd. A one-line note prevents a weekend of reverse engineering.

When you outgrow a single table, add sheets rather than columns. A Transactions sheet preserves the story of each buy and sell. A Snapshots sheet stores month-end total value for a simple line chart. A Closed sheet holds exited positions so active filters stay readable. Resist the urge to automate every edge case. Spreadsheet trackers stay useful when they remain understandable after three months away.

Practical boundaries for spreadsheet investing tools

Treat the file as a register and a memory aid. It will not replace trade confirmations, tax documents, or a fiduciary plan. Avoid storing brokerage passwords in the workbook. Prefer exports and manual entry over fragile login scrapers. If you share the file with a partner, agree who may edit share counts and who only reads the dashboard.

Currency and multi-country holdings add complexity. Pick a reporting currency and convert at a stated rate source, or keep separate sheets per currency and sum at the end. Do not hide FX assumptions inside unnamed cells. The same clarity applies to fees: either include fees in cost basis or show them as separate cash outflows in the transaction log—mixing both methods double-counts pain.

Keep the workbook honest over time

Personal portfolio spreadsheets fail quietly. A ticker stops resolving, a dividend reinvestment changes share count, or cash sits in the brokerage and never appears in the total. Schedule a short reconciliation: open the brokerage positions view, match tickers and shares, then match cash. Only after that reconciliation should you trust allocation percentages or month-over-month charts.

Document exceptions on the Start Here sheet. Examples: a delisted ticker kept for history, a mutual fund priced manually, or a joint account that should be excluded from personal allocation targets. Future you will not remember why a row looks odd. A one-line note prevents a weekend of reverse engineering.

When you outgrow a single table, add sheets rather than columns. A Transactions sheet preserves the story of each buy and sell. A Snapshots sheet stores month-end total value for a simple line chart. A Closed sheet holds exited positions so active filters stay readable. Resist the urge to automate every edge case. Spreadsheet trackers stay useful when they remain understandable after three months away.

Practical boundaries for spreadsheet investing tools

Treat the file as a register and a memory aid. It will not replace trade confirmations, tax documents, or a fiduciary plan. Avoid storing brokerage passwords in the workbook. Prefer exports and manual entry over fragile login scrapers. If you share the file with a partner, agree who may edit share counts and who only reads the dashboard.

Currency and multi-country holdings add complexity. Pick a reporting currency and convert at a stated rate source, or keep separate sheets per currency and sum at the end. Do not hide FX assumptions inside unnamed cells. The same clarity applies to fees: either include fees in cost basis or show them as separate cash outflows in the transaction log—mixing both methods double-counts pain.

Notes for create a stock portfolio in excel readers

Readers searching for create a stock portfolio in excel usually want a file they can trust after the first weekend. Prioritize correct share counts and cost basis over decorative charts. Link back to the pillar when you need the wider download decision, and open the product page only when you are ready for a structured workbook rather than another blank grid.

Keep the workbook honest over time

Personal portfolio spreadsheets fail quietly. A ticker stops resolving, a dividend reinvestment changes share count, or cash sits in the brokerage and never appears in the total. Schedule a short reconciliation: open the brokerage positions view, match tickers and shares, then match cash. Only after that reconciliation should you trust allocation percentages or month-over-month charts.

Document exceptions on the Start Here sheet. Examples: a delisted ticker kept for history, a mutual fund priced manually, or a joint account that should be excluded from personal allocation targets. Future you will not remember why a row looks odd. A one-line note prevents a weekend of reverse engineering.

When you outgrow a single table, add sheets rather than columns. A Transactions sheet preserves the story of each buy and sell. A Snapshots sheet stores month-end total value for a simple line chart. A Closed sheet holds exited positions so active filters stay readable. Resist the urge to automate every edge case. Spreadsheet trackers stay useful when they remain understandable after three months away.

Practical boundaries for spreadsheet investing tools

Treat the file as a register and a memory aid. It will not replace trade confirmations, tax documents, or a fiduciary plan. Avoid storing brokerage passwords in the workbook. Prefer exports and manual entry over fragile login scrapers. If you share the file with a partner, agree who may edit share counts and who only reads the dashboard.

Currency and multi-country holdings add complexity. Pick a reporting currency and convert at a stated rate source, or keep separate sheets per currency and sum at the end. Do not hide FX assumptions inside unnamed cells. The same clarity applies to fees: either include fees in cost basis or show them as separate cash outflows in the transaction log—mixing both methods double-counts pain.

Notes for create a stock portfolio in excel readers

Readers searching for create a stock portfolio in excel usually want a file they can trust after the first weekend. Prioritize correct share counts and cost basis over decorative charts. Link back to the pillar when you need the wider download decision, and open the product page only when you are ready for a structured workbook rather than another blank grid.

FAQ

Does GOOGLEFINANCE work in Excel?

No. GOOGLEFINANCE is a Google Sheets function. In Excel, use Stocks data type, Power Query, or an add-in.

Can I track ETFs the same way?

Yes when Excel recognizes the symbol. Verify the linked instrument before trusting price.

What about dividends?

Add a Transactions sheet with type Dividend; do not silently change share counts unless you reinvest and update shares intentionally.

Disclosure

PlanoNest sells related templates. Educational only; not investment advice.

About the author

Robin is the independent maker behind PlanoNest.

excel stock portfolio tracker template download cover screenshot — PlanoraNest Excel template
excelbudget-templates
Stock Portfolio Tracker Excel Template | PlanoraNest Template

$1.00

Buy now
All Posts
Step 1 — Headers and sample rowsDIY portfolio setupStep 2 — Convert tickers to StocksStep 3 — FormulasStep 4 — Optional sell rule columnStep 5 — Harden the habitWhen to stop DIYKeep the workbook honest over timePractical boundaries for spreadsheet investing toolsKeep the workbook honest over timePractical boundaries for spreadsheet investing toolsNotes for create a stock portfolio in excel readersKeep the workbook honest over timePractical boundaries for spreadsheet investing toolsNotes for create a stock portfolio in excel readersFAQDoes GOOGLEFINANCE work in Excel?Can I track ETFs the same way?What about dividends?DisclosureAbout the author

Templates in this category

  • work log template excel template cover screenshot — PlanoraNest Excel template

    Work Log Template Excel Template | Work Log Template Excel

    $1.00

  • weekly employee attendance template excel template cover screenshot — PlanoraNest Excel template

    Weekly Employee Attendance Template Excel Template | PlanoraNest Template

    $1.00

  • remote work activity log template excel template cover screenshot — PlanoraNest Excel template

    Remote Work Activity Log Template Excel Template | PlanoraNest Template

    $1.00

  • literature review template excel template cover screenshot — PlanoraNest Excel template

    Literature Review Template Excel Template | PlanoraNest Template

    $1.00

Browse all templates

This article

  • Planning & Productivity
  • Business & Operations

Other categories

  • Finance & Budget
  • Marketing & Content
  • Life & Events
  • Freelance & Creators

More Posts

Simple Stock Tracking Spreadsheet Excel: Start Small
Business & OperationsPlanning & Productivity

Simple Stock Tracking Spreadsheet Excel: Start Small

Set up a simple stock tracking spreadsheet in Excel with minimal columns, live prices, and a weekly review habit.

avatar for Robin
Robin
2026/11/08
Best Excel Stock Portfolio Tracker: How to Compare Options
Business & OperationsPlanning & Productivity

Best Excel Stock Portfolio Tracker: How to Compare Options

A buyer-focused comparison of free templates, DIY Stocks data type sheets, and paid workbooks for the best excel stock portfolio tracker fit.

avatar for Robin
Robin
2026/11/07
Investment Portfolio Excel Template: Beyond Single Tickers
Business & OperationsPlanning & Productivity

Investment Portfolio Excel Template: Beyond Single Tickers

Use an investment portfolio excel template for stocks, ETFs, and cash with allocation views and transaction history.

avatar for Robin
Robin
2026/11/07

Need a custom template or have feedback?

Tell me about your workflow, template ideas, or product questions — I read every message and reply personally.

Contact me[email protected]

Get new templates & exclusive offers

Join the newsletter to be first in line for new releases and subscriber-only discounts.

PlanoNestPlanoNest

Beautiful and useful templates that serve your needs.

X (Twitter)YouTubeGitHub
Powered by Shopify
Product
  • Features
  • Templates
  • FAQ
Resources
  • Learn Templates
Company
  • About me
  • Solutions
  • Contact
Legal
  • Cookie Policy
  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Sitemap
© 2026 PlanoNest. All Rights Reserved.

Prices are estimates. Checkout is charged in USD.

We accept

  • AMEX
  • Bancontact
  • iDEAL
  • shopPay
Friendly Links: Microsoft Excel·Notion