Investment portfolio tracker
Track every stock, fund, bond, crypto, and cash holding: cost, value now, gain or loss, return, and dividends. Set a target mix and the sheet shows how much to buy or sell of each to rebalance, with a summary by type and charts.
Who it is for. Private investors who hold funds and shares in one or more accounts and want one clear overview.
FinanceIntermediate12 minExcel · Google Sheets
Version 1.0.0Reviewed 2026-11-14
Example content. The numbers are fictional and made for learning.
This is a premium template. The preview below shows the Example sheet. Buy it on its own or get every premium template with a Pro membership.
After purchase you get the full workbook: every sheet shown here with its sample numbers, the same sheets blank and ready for your own figures, and a Read me, plus the example values as CSV.
One-time purchase
Get this template
€7
Yours to keep. Includes updates to this template.
Pro for €39 a year
Assumptions
- The figures on the Example sheet are fictional.
- Amounts are plain numbers. The currency code is a label you type. It does not convert amounts, and it is not a default currency for the template.
- This workbook is a learning example, not accounting, tax, or legal advice.
- Prices are typed by you; the workbook does not fetch market data. Write the date you updated them.
- Return is value now minus cost, divided by cost. It does not include dividends, fees, taxes, or the time you held each investment.
- Buy (+) or sell (-) is the amount that would bring each holding to its target weight at today's prices.
- This workbook tracks numbers you type. It is not investment advice.
Preview
This is the Example sheet with its sample numbers. Sand cells are inputs you replace. Green cells are formulas; point at one to see the formula. Cells marked ▾ have a drop-down list. Red and green highlights, bars, and charts are built into the workbook and update as you type.
- Weight now
- Target
| Row | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Investment portfolio tracker | ||||||||||||||
| 2 | What you hold, what it cost, what it is worth now, and the dividends it paid. Set a target mix and see what to buy or sell to get back to it. | ||||||||||||||
| 3 | Currency code | EUR | |||||||||||||
| 4 | Prices updated on | 2026-11-20 | |||||||||||||
| 5 | Portfolio value | Invested | Gain or loss | Return | Dividends this year | ||||||||||
| 6 | 31,512Formula =H21 | 25,992Formula =F21 | 5,520Formula =I21 | 21.2%Formula =IFERROR(I21/F21,0) | 236Formula =K21 | ||||||||||
| 7 | |||||||||||||||
| 8 | Holding | Ticker | Type | Units | Average cost | Cost | Price now | Value now | Gain or loss | Return | Dividends | Yield on cost | Weight | Target weight | Buy (+) or sell (-) |
| 9 | Global index fund | GLOB | Fund(drop-down list) | 85 | 98.40 | 8,364.00Formula =IF(A9="","",D9*E9) | 121.60 | 10,336.00Formula =IF(A9="","",D9*G9) | 1,972.00Formula =IF(A9="","",H9-F9) | 23.6%Formula =IF(OR(A9="",F9=0),"",I9/F9) | 0.00 | 0%Formula =IF(OR(A9="",F9=0),"",K9/F9) | 32.8%Formula =IF(A9="","",H9/$H$21) | 40% | 2,268.64Formula =IF(A9="","",N9*$H$21-H9) |
| 10 | US index fund | USIX | Fund(drop-down list) | 12 | 412.00 | 4,944.00Formula =IF(A10="","",D10*E10) | 548.30 | 6,579.60Formula =IF(A10="","",D10*G10) | 1,635.60Formula =IF(A10="","",H10-F10) | 33.1%Formula =IF(OR(A10="",F10=0),"",I10/F10) | 0.00 | 0%Formula =IF(OR(A10="",F10=0),"",K10/F10) | 20.9%Formula =IF(A10="","",H10/$H$21) | 20% | -277.28Formula =IF(A10="","",N10*$H$21-H10) |
| 11 | Software company | SOFT | Stock(drop-down list) | 15 | 145.20 | 2,178.00Formula =IF(A11="","",D11*E11) | 212.80 | 3,192.00Formula =IF(A11="","",D11*G11) | 1,014.00Formula =IF(A11="","",H11-F11) | 46.6%Formula =IF(OR(A11="",F11=0),"",I11/F11) | 15.00 | 0.7%Formula =IF(OR(A11="",F11=0),"",K11/F11) | 10.1%Formula =IF(A11="","",H11/$H$21) | 7% | -986.19Formula =IF(A11="","",N11*$H$21-H11) |
| 12 | Chip maker | CHIP | Stock(drop-down list) | 6 | 285.00 | 1,710.00Formula =IF(A12="","",D12*E12) | 241.50 | 1,449.00Formula =IF(A12="","",D12*G12) | -261.00Formula =IF(A12="","",H12-F12) | -15.3%Formula =IF(OR(A12="",F12=0),"",I12/F12) | 18.60 | 1.1%Formula =IF(OR(A12="",F12=0),"",K12/F12) | 4.6%Formula =IF(A12="","",H12/$H$21) | 7% | 756.81Formula =IF(A12="","",N12*$H$21-H12) |
| 13 | Nordic bank | BANK | Stock(drop-down list) | 120 | 10.80 | 1,296.00Formula =IF(A13="","",D13*E13) | 12.10 | 1,452.00Formula =IF(A13="","",D13*G13) | 156.00Formula =IF(A13="","",H13-F13) | 12%Formula =IF(OR(A13="",F13=0),"",I13/F13) | 110.40 | 8.5%Formula =IF(OR(A13="",F13=0),"",K13/F13) | 4.6%Formula =IF(A13="","",H13/$H$21) | 5% | 123.58Formula =IF(A13="","",N13*$H$21-H13) |
| 14 | Government bond fund | GOVB | Bond(drop-down list) | 40 | 102.50 | 4,100.00Formula =IF(A14="","",D14*E14) | 98.20 | 3,928.00Formula =IF(A14="","",D14*G14) | -172.00Formula =IF(A14="","",H14-F14) | -4.2%Formula =IF(OR(A14="",F14=0),"",I14/F14) | 92.00 | 2.2%Formula =IF(OR(A14="",F14=0),"",K14/F14) | 12.5%Formula =IF(A14="","",H14/$H$21) | 15% | 798.74Formula =IF(A14="","",N14*$H$21-H14) |
| 15 | Bitcoin | BTC | Crypto(drop-down list) | 0.05 | 38,000.00 | 1,900.00Formula =IF(A15="","",D15*E15) | 61,500.00 | 3,075.00Formula =IF(A15="","",D15*G15) | 1,175.00Formula =IF(A15="","",H15-F15) | 61.8%Formula =IF(OR(A15="",F15=0),"",I15/F15) | 0.00 | 0%Formula =IF(OR(A15="",F15=0),"",K15/F15) | 9.8%Formula =IF(A15="","",H15/$H$21) | 3% | -2,129.65Formula =IF(A15="","",N15*$H$21-H15) |
| 16 | Cash in broker account | CASH | Cash(drop-down list) | 1 | 1,500.00 | 1,500.00Formula =IF(A16="","",D16*E16) | 1,500.00 | 1,500.00Formula =IF(A16="","",D16*G16) | 0.00Formula =IF(A16="","",H16-F16) | 0%Formula =IF(OR(A16="",F16=0),"",I16/F16) | 0.00 | 0%Formula =IF(OR(A16="",F16=0),"",K16/F16) | 4.8%Formula =IF(A16="","",H16/$H$21) | 3% | -554.65Formula =IF(A16="","",N16*$H$21-H16) |
| 17 | (drop-down list) | Formula =IF(A17="","",D17*E17) | Formula =IF(A17="","",D17*G17) | Formula =IF(A17="","",H17-F17) | Formula =IF(OR(A17="",F17=0),"",I17/F17) | Formula =IF(OR(A17="",F17=0),"",K17/F17) | Formula =IF(A17="","",H17/$H$21) | Formula =IF(A17="","",N17*$H$21-H17) | |||||||
| 18 | (drop-down list) | Formula =IF(A18="","",D18*E18) | Formula =IF(A18="","",D18*G18) | Formula =IF(A18="","",H18-F18) | Formula =IF(OR(A18="",F18=0),"",I18/F18) | Formula =IF(OR(A18="",F18=0),"",K18/F18) | Formula =IF(A18="","",H18/$H$21) | Formula =IF(A18="","",N18*$H$21-H18) | |||||||
| 19 | (drop-down list) | Formula =IF(A19="","",D19*E19) | Formula =IF(A19="","",D19*G19) | Formula =IF(A19="","",H19-F19) | Formula =IF(OR(A19="",F19=0),"",I19/F19) | Formula =IF(OR(A19="",F19=0),"",K19/F19) | Formula =IF(A19="","",H19/$H$21) | Formula =IF(A19="","",N19*$H$21-H19) | |||||||
| 20 | (drop-down list) | Formula =IF(A20="","",D20*E20) | Formula =IF(A20="","",D20*G20) | Formula =IF(A20="","",H20-F20) | Formula =IF(OR(A20="",F20=0),"",I20/F20) | Formula =IF(OR(A20="",F20=0),"",K20/F20) | Formula =IF(A20="","",H20/$H$21) | Formula =IF(A20="","",N20*$H$21-H20) | |||||||
| 21 | Total | 25,992.00Formula =SUM(F9:F20) | 31,511.60Formula =SUM(H9:H20) | 5,519.60Formula =SUM(I9:I20) | 21.2%Formula =IFERROR(I21/F21,0) | 236.00Formula =SUM(K9:K20) | 0.9%Formula =IFERROR(K21/F21,0) | 100%Formula =SUM(M9:M20) | 100%Formula =SUM(N9:N20) | ||||||
| 22 | Target weights should add up to 100%. | ||||||||||||||
Example by type
- Stock19%
- Fund54%
- Bond12%
- Crypto10%
- Cash5%
- Other0%
- Weight now
- Target
| Row | A | B | C | D | E | F | G | H | I |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Portfolio by type | ||||||||
| 2 | Cost, value, and return for each kind of investment, and how today's mix compares with your target. Everything here is calculated from the holdings sheet. | ||||||||
| 3 | |||||||||
| 4 | Types held | Largest weight | Most off target | ||||||
| 5 | 5Formula =COUNTIF(C7:C12,">0") | 53.7%Formula =MAX(F7:F12) | 6.8%Formula =MAX(I7:I12) | ||||||
| 6 | Type | Cost | Value now | Gain or loss | Return | Weight | Target | Difference | Off target |
| 7 | Stock | 5,184.00Formula =SUMIF('Example'!$C$9:$C$20,A7,'Example'!$F$9:$F$20) | 6,093.00Formula =SUMIF('Example'!$C$9:$C$20,A7,'Example'!$H$9:$H$20) | 909.00Formula =C7-B7 | 17.5%Formula =IF(B7=0,"",D7/B7) | 19.3%Formula =IFERROR(C7/C$13,0) | 19%Formula =SUMIF('Example'!$C$9:$C$20,A7,'Example'!$N$9:$N$20) | 0.3%Formula =F7-G7 | 0.3%Formula =ABS(H7) |
| 8 | Fund | 13,308.00Formula =SUMIF('Example'!$C$9:$C$20,A8,'Example'!$F$9:$F$20) | 16,915.60Formula =SUMIF('Example'!$C$9:$C$20,A8,'Example'!$H$9:$H$20) | 3,607.60Formula =C8-B8 | 27.1%Formula =IF(B8=0,"",D8/B8) | 53.7%Formula =IFERROR(C8/C$13,0) | 60%Formula =SUMIF('Example'!$C$9:$C$20,A8,'Example'!$N$9:$N$20) | -6.3%Formula =F8-G8 | 6.3%Formula =ABS(H8) |
| 9 | Bond | 4,100.00Formula =SUMIF('Example'!$C$9:$C$20,A9,'Example'!$F$9:$F$20) | 3,928.00Formula =SUMIF('Example'!$C$9:$C$20,A9,'Example'!$H$9:$H$20) | -172.00Formula =C9-B9 | -4.2%Formula =IF(B9=0,"",D9/B9) | 12.5%Formula =IFERROR(C9/C$13,0) | 15%Formula =SUMIF('Example'!$C$9:$C$20,A9,'Example'!$N$9:$N$20) | -2.5%Formula =F9-G9 | 2.5%Formula =ABS(H9) |
| 10 | Crypto | 1,900.00Formula =SUMIF('Example'!$C$9:$C$20,A10,'Example'!$F$9:$F$20) | 3,075.00Formula =SUMIF('Example'!$C$9:$C$20,A10,'Example'!$H$9:$H$20) | 1,175.00Formula =C10-B10 | 61.8%Formula =IF(B10=0,"",D10/B10) | 9.8%Formula =IFERROR(C10/C$13,0) | 3%Formula =SUMIF('Example'!$C$9:$C$20,A10,'Example'!$N$9:$N$20) | 6.8%Formula =F10-G10 | 6.8%Formula =ABS(H10) |
| 11 | Cash | 1,500.00Formula =SUMIF('Example'!$C$9:$C$20,A11,'Example'!$F$9:$F$20) | 1,500.00Formula =SUMIF('Example'!$C$9:$C$20,A11,'Example'!$H$9:$H$20) | 0.00Formula =C11-B11 | 0%Formula =IF(B11=0,"",D11/B11) | 4.8%Formula =IFERROR(C11/C$13,0) | 3%Formula =SUMIF('Example'!$C$9:$C$20,A11,'Example'!$N$9:$N$20) | 1.8%Formula =F11-G11 | 1.8%Formula =ABS(H11) |
| 12 | Other | 0.00Formula =SUMIF('Example'!$C$9:$C$20,A12,'Example'!$F$9:$F$20) | 0.00Formula =SUMIF('Example'!$C$9:$C$20,A12,'Example'!$H$9:$H$20) | 0.00Formula =C12-B12 | Formula =IF(B12=0,"",D12/B12) | 0%Formula =IFERROR(C12/C$13,0) | 0%Formula =SUMIF('Example'!$C$9:$C$20,A12,'Example'!$N$9:$N$20) | 0%Formula =F12-G12 | 0%Formula =ABS(H12) |
| 13 | Total | 25,992.00Formula =SUM(B7:B12) | 31,511.60Formula =SUM(C7:C12) | 5,519.60Formula =SUM(D7:D12) | 21.2%Formula =IFERROR(D13/B13,0) | 100%Formula =SUM(F7:F12) | 100%Formula =SUM(G7:G12) | ||
Use it in Google Sheets
- Download the Excel workbook.
- Open Google Sheets.
- Choose File, then Import, then Upload.
- Select the .xlsx file and import it into a new spreadsheet.
- Check that the totals still calculate. Sheets shows function names in the spreadsheet locale.
Formulas in the file
This workbook stores formulas in Excel’s standard English form, such as =SUM(B6:B8). Excel displays them in the language of your Excel installation. After you import the file into Google Sheets, Sheets displays them in the spreadsheet locale. Cell names such as B6 stay the same.
Instructions
- Type your currency code and the date you checked prices.
- List each holding with its name, ticker, type (from the drop-down), the units you own, and the average price you paid per unit.
- Type today's price for each holding. Value, Gain or loss, Return, and Weight update by themselves.
- Add the dividends each holding paid this year to see the yield on what you invested.
- Set a target weight for each holding. When they add up to 100%, Buy (+) or sell (-) shows how to rebalance.
- Open the by type sheet to compare your mix with the target. Rename the types there to change the drop-down choices.
Settings you can change
- Currency code
- A label such as EUR, SEK, or USD. It does not convert amounts.
- Prices updated on
- The date you last typed prices, so you know how fresh the values are.
- Target weight
- Your planned share of the portfolio for each holding. Together they should make 100%.