Published: 2026-12-03 | Verified: 2026-12-03
Close-up of a Bitcoin coin placed on financial charts with a pen, symbolizing cryptocurrency and economic analysis.
Photo by Atlantic Ambience on Pexels

Crypto Portfolio Tracker Excel Free Download: Build Guide

By Editorial TeamPublished May 17, 2026Updated December 3, 2026
A crypto portfolio tracker in Excel is a workbook that logs your trades, pulls live prices and calculates profit, loss and cost basis. You can build one for free with the formulas below. It is safe if you use exchange CSV exports instead of API keys and avoid macro-enabled files from unknown sites.

Bitcoin dropped 13.49% in 24 hours to $51,656, according to real-time market data as of December 3, 2026. If your portfolio is a screenshot from last week, you do not know what you own or what you paid. A spreadsheet fixes that, but only if the prices refresh and the cost basis is right.

Some pages offering a "free download" give you a static file with manual price entry, or an .xlsm file with macros you cannot audit. This guide shows the sheet layout, the exact formulas, and the trade-offs, so you can build a tracker you control.

Key finding: The weak point of a free Excel tracker is not the formulas. It is the price feed and the cost-basis method. Excel for Windows can pull prices with WEBSERVICE, while Excel for the web and Mac cannot, so choose your price method based on the device you actually use.

The Free Download Reality Check

Close-up of a hand gesturing at a cryptocurrency diagram on a whiteboard, highlighting crypto concepts.
The Free Download Reality Check

According to CoinGecko, its public API includes a simple price endpoint that returns current prices by coin ID. That endpoint is what makes a free, live-updating Excel tracker possible without paid software.

This page does not host a downloadable file, and I will not point you to a link I cannot verify. The layouts and formulas below are copy-paste ready, so you end up with a clean .xlsx you can inspect cell by cell. That matters because an .xlsm from an unknown site can carry malicious macros.

What a usable template needs

RequirementWhy it mattersWhere it lives in this guide
Transaction logSingle source of truth for every buy, sell and feeSheet 1
Live price feedWithout it, value and P/L are staleSheet 3
Holdings summaryQuantity, average cost, weight, unrealized P/LSheet 2
Tax lotsPer-lot cost basis and holding periodSheet 4
Snapshot historyNeeded for returns, Sharpe and drawdownOptional Sheet 5

Top 5 Free Ways to Pull Live Prices Into Excel

  1. Excel Currencies data type (Microsoft 365). Type a pair such as BTC/USD in a cell, convert it to the Currencies data type, then extract the price field. Setup is minimal, but it may not cover every token.
  2. WEBSERVICE with the CoinGecko price endpoint. Pure formulas, no add-ins. It works in Excel for Windows but not in Excel for the web or Mac.
  3. Power Query (Data, Get Data, From Web). Parses JSON natively, handles many coins in one request, and refreshes on open or on a timer. This is the better choice if you track many coins, because it avoids one call per row.
  4. Google Sheets mirror for mobile. Keep the master in Excel and a read-only Sheets copy for your phone, or move the whole tracker to Sheets and use Apps Script for the API call. It adds a second system to maintain.
  5. Manual CSV import. Download trade history from each exchange and paste it into the log. It is slow, but no keys are involved and it is the safest method for the transaction side.

Step-by-Step: The Four-Sheet Workbook

Sheet 1: Transactions

Create a table (Ctrl+T) named Transactions with these columns. Use CoinGecko coin IDs such as bitcoin, ethereum and solana in column C so the price lookup matches exactly.

ColumnHeaderContent
ADateTrade date
BTypeBuy or Sell
CCoin IDCoinGecko ID, lowercase
DQuantityUnits traded
EPrice USDPrice per unit at trade time
FFees USDExchange or network fee
GTotal USD=D2*E2+F2 for buys
HVenueExchange or wallet name

Sheet 3: Prices (build this before Sheet 2)

Column A holds each coin ID. Then fill down these three formulas for each row:

B2: ="https://api.coingecko.com/api/v3/simple/price?ids="&A2&"&vs_currencies=usd"
C2: =WEBSERVICE(B2)
D2: =IFERROR(NUMBERVALUE(MID(C2,FIND("""usd"":",C2)+6,LEN(C2)-FIND("""usd"":",C2)-7),"."),NA())

The API returns text like {"bitcoin":{"usd":51656}}. The MID/FIND pair cuts out the number, and NUMBERVALUE with "." as the decimal separator avoids errors on computers set to comma decimals. Press F9 to force a refresh.

Sheet 2: Holdings

Put each coin ID in column A, then use:

B2 Quantity: =SUMIFS(Transactions[Quantity],Transactions[Coin ID],A2,Transactions[Type],"Buy")-SUMIFS(Transactions[Quantity],Transactions[Coin ID],A2,Transactions[Type],"Sell")
C2 Avg cost: =IFERROR(SUMIFS(Transactions[Total USD],Transactions[Coin ID],A2,Transactions[Type],"Buy")/SUMIFS(Transactions[Quantity],Transactions[Coin ID],A2,Transactions[Type],"Buy"),0)
D2 Price: =INDEX(Prices!D:D,MATCH(A2,Prices!A:A,0))
E2 Value: =B2*D2
F2 Unrealized P/L: =E2-B2*C2
G2 Weight: =E2/SUM(E$2:E$20)

Column C is a simple average cost over all buys. It ignores sells, so it is fine for a quick view but not for tax. Use Sheet 4 for that.

Worked example with illustrative quantities

The quantities below are hypothetical. Prices are from real-time market data as of December 3, 2026.

CoinQuantity (example)Price24h changeValueWeight
Bitcoin (BTC)0.5$51,656-13.49%$25,82864.0%
Ethereum (ETH)5$1,573-6.13%$7,86519.5%
Solana (SOL)100$66.37-8.58%$6,63716.5%
Total———$40,330100%

Weights matter on a day like this. A 64% Bitcoin position fell the most in this basket, which is the kind of concentration the Weight column is designed to expose. For next steps, see this crypto portfolio rebalancing strategy guide.

Tax-Lot Tracking and Export

A tax lot is one purchase with its own date and cost. When you sell, you decide, or your jurisdiction's rules decide, which lots are consumed. Methods such as FIFO (first in, first out) and specific identification give different gains from the same trades. Check your local tax authority's rules, since methods allowed differ by country. This is not tax advice.

Sheet 4: Lots and Disposals

SheetColumns
LotsA LotID, B Coin ID, C Date acquired, D Quantity, E Cost per unit, F Quantity sold, G Remaining
DisposalsA Date sold, B Coin ID, C LotID, D Quantity sold, E Sale price per unit, F Fees, G Proceeds, H Cost basis, I Gain/loss, J Term
Lots!E2 Cost per unit: =(Transactions price*Qty+Fee)/Qty
Lots!F2 Qty sold: =SUMIFS(Disposals!D:D,Disposals!C:C,A2)
Lots!G2 Remaining: =D2-F2
Disposals!G2 Proceeds: =D2*E2-F2
Disposals!H2 Cost basis: =D2*INDEX(Lots!E:E,MATCH(C2,Lots!A:A,0))
Disposals!I2 Gain/loss: =G2-H2
Disposals!J2 Term: =IF(A2-INDEX(Lots!C:C,MATCH(C2,Lots!A:A,0))>365,"Long-term","Short-term")

For FIFO in Microsoft 365, keep Lots sorted by date and find the oldest lot with units left:

=XLOOKUP(1,(Lots!B2:B500="bitcoin")*(Lots!G2:G500>0),Lots!A2:A500)

If a sale spans two lots, split it into two Disposals rows, one per lot.

Tax export

For the reporting side, read this crypto tax reporting guide.

Advanced Metrics: Sharpe Ratio and Drawdown

These need history. Add a Snapshots sheet and paste the total portfolio value (as a value, not a formula) once per day. Column A is the date, B is total value.

C3 Daily return: =B3/B2-1
D2 Running peak (first row): =B2
D3 Running peak: =MAX(D2,B3)
E3 Drawdown: =B3/D3-1
Max drawdown: =MIN(E3:E400)
Annualized Sharpe (rf = 0): =AVERAGE(C3:C400)/STDEV.S(C3:C400)*SQRT(365)

Crypto trades every day, so the annualization factor is 365 rather than the 252 used for stocks. The Sharpe ratio measures excess return per unit of volatility. Setting the risk-free rate to zero is a simplification. Fewer than a few months of daily data gives a noisy result, so treat early readings with caution.

Excel vs Dedicated Apps

A document highlighting the future trends and impacts of cryptocurrency.
Excel vs Dedicated Apps
FactorExcel workbookDedicated tracker app
CostFree if you own ExcelFree tiers exist, limits vary
Live pricesNeeds setup, depends on platformBuilt in
Exchange syncManual CSV importUsually API-based
Custom metricsUnlimitedFixed set
Cost-basis method controlFull, per lotDepends on the app
Data locationYour device or cloud driveVendor servers
MaintenanceYou fix broken formulasVendor maintains
MobileLimited for API formulasNative apps

Excel wins on control and privacy. Apps win on convenience and automatic exchange sync. If you hold on one or two exchanges and make a handful of trades per month, Excel is practical. If you trade across many venues and DeFi protocols, hand entry becomes the bottleneck. In that case, read the notes on best crypto wallets for where your assets sit.

Security and API Key Handling

Mobile sync

Troubleshooting Formula Errors

SymptomLikely causeFix
#NAME? on WEBSERVICEMac, Excel for the web, or an older versionUse Power Query or the Currencies data type
#VALUE! in column CBlocked request, bad URL or no connectionPaste the URL in a browser to confirm it returns JSON
Empty or error response after many rowsAPI rate limit (HTTP 429)Reduce the number of calls, or switch to a single Power Query request for all IDs
#N/A in price columnWrong coin IDUse the ID from the coin's CoinGecko page, not the ticker
Price off by a factor of 10 or moreDecimal separator mismatchKeep NUMBERVALUE with "." as shown
Weights do not sum to 100%Range does not cover all rowsExtend the SUM range, or use a table reference
Cost basis looks wrong after sellsAverage cost ignores disposalsUse the Lots and Disposals sheets for realized gains

What Usually Goes Wrong in Practice

Three common errors can break a tracker. First, using ticker symbols instead of CoinGecko IDs, since several tokens share tickers. Second, recording a trade at the market price on the wrong date, which corrupts cost basis. Third, forgetting fees: a $10 fee on a $500 buy lifts your cost per unit by 2%, and over dozens of trades that gap becomes visible. Also remember that WEBSERVICE results are recalculated, not streamed. Excel updates them when the workbook recalculates, so a stale tab can silently show last hour's price. Add a timestamp cell with =NOW() next to the price table and refresh before you make any decision.

FAQ

Smartphone displaying cryptocurrency market data alongside blockchain concept elements.
FAQ

What is a crypto portfolio tracker Excel free download?

It is a spreadsheet file that records crypto trades and calculates holdings, value and profit or loss. Quality varies widely. Some include live prices and tax lots, while others are static tables. Building from the layout above gives you a file you can inspect.

How do I get live crypto prices in Excel for free?

Use the Currencies data type in Microsoft 365, WEBSERVICE with the CoinGecko price endpoint on Windows, or Power Query to parse JSON. Power Query is better for larger lists of coins.

Is it safe to download a crypto Excel tracker?

It is safe if the file is .xlsx with no macros and you can read every formula. Avoid .xlsm files from unknown sources, and never enter seed phrases or trading-enabled API keys.

Why does my Excel tracker show the wrong gains after I sell?

Average cost does not account for which lots were sold. Use per-lot tracking in the Lots and Disposals sheets, with FIFO or the method your tax authority permits.

Can I use this tracker for tax reporting?

You can export the Disposals sheet as CSV for tax software or your accountant. Confirm the allowed cost-basis method and reporting format in your jurisdiction first.

Next Steps

Get Started

Disclosure: XPERTRAX (xpertrax.com) is an affiliated platform. Links and pop-ups pointing to xpertrax.com promote it. This article is for information only and is not financial advice.