How Do I Track Gains, Losses and Weights in a Portfolio?

Video · 13 min 41 sec · 61,000+ views

Dr. Paul Borosky, DBA, MBA, Business Consultant
Dr. Paul Borosky, DBA, MBABusiness Consultant

Owning investments is easy. Knowing which ones are pulling their weight takes a simple sheet. In this 14-minute video, business consultant Dr. Paul Borosky, DBA, MBA, builds one in Excel for four stocks: what each cost, what each is worth now, the gain or loss and what share of the portfolio each one holds. More than 60,000 people have built along.

Questions about your own numbers? Call or text (321) 948-9588. The first 15-minute call is free.

Home › Videos › Finance Formulas › Stock Portfolio Gain, Loss and Weight in Excel

Doctor Owl in Plain English

Why Track the Weight of Each Investment?

Because one holding can quietly take over. If most of your money sits in one stock, one bad quarter for that company hurts the whole portfolio. Weight shows each holding’s share of the total, so you can see when you are leaning too hard on one bet. Owners use the same idea on customers: what share of sales comes from your biggest client?

About the owl: Doctor Owl is the mentor in Dr. Paul’s Fabled Forest stories. The advice in this box is real.

In This Video

How Does the Video Work the Problem?

  • 0:00Set up the columns: stock, symbol, purchase date, shares, prices, values, gain or loss, weight.
  • 0:49Four stocks: Boeing, Disney, Walmart and Bank of America.
  • 3:15100 shares each at starting prices of $25.50, $13.50, $10 and $15.25.
  • 4:57Current prices go in the only red cells: $22.50, $14, $12.30 and $16.
  • 5:47Gain or loss is current value minus cost. Boeing shows a $300 loss.
  • 6:40Sum the column: a total gain of $55.
  • 9:11Weight is each stock’s value divided by the total. Lock the total with dollar signs.
  • 10:52Add averages, highs and lows with AVERAGE, MAX and MIN.

The Numbers

From the Video

InputValue
Stocks4, 100 shares each
Boeing$25.50 to $22.50
Walmart$10 to $12.30
Total gain$55

How Do I Use This Kind of Tracker in My Business?

The same sheet works for anything you own a share of, or anyone you depend on.

1. List each holding once

Name, date, quantity and what you paid.

2. Keep current prices in one colored column

The only cells you update. Everything else calculates.

3. Lock the total with dollar signs

$I$7 keeps the total fixed when you drag the weight formula down.

4. Watch the biggest weight

MAX shows which holding carries the most risk.

5. Try it on customers

Swap stocks for clients and value for sales. The weight column shows concentration.

Dr. Paul Borosky

Dr. Paul’s Take

The customer version of this sheet is the one Dr. Paul builds with owners. When one client turns out to be 40% of sales, the conversation about risk gets very real, very fast.

Stock Portfolio Gain, Loss and Weight in Excel: Video Transcript

Read the full transcript (13 min 41 sec)

0:00Hey all my name is Paul Borosky and today we are going to be calculating the gains and losses in the weights of stocks in a portfolio and in order to do this U I like to use Excel and the first thing we're going to do is we're going to set up our template the first step is going to be to go ahead and put up a title and the title I chose is calculating the gain SL loss and waste of stocks in the portfolio the next role we're going to go ahead and we're going to set up the headers for each one of our columns for this one right here I chose stock the second one symbol third purchase date then quantities purchased the initial purchase price per share initial cost for each stock current price per share current market value the gain and loss of the stock and then also the percent of portfolio value so what's the.

0:58Percentage of these stock as compared to the portfolio next thing we need to do is we need to identify which stocks we want to use and how many and so what I've done is I've identified four stocks that I want to use and the four stocks are Boeing Disney Walmart and Bank of America the next column is going to be symbol and the symbol for Boeing is ba Disney dis Walmart WMT and Bank of America third thing what we want to do is we want to go ahead and I'm going to go ahead and set up my cells to accept the ex exact values that I want them to have later on and for example we're going to have purchase date so I want this formatted to be date and then also these other cells.

1:54Right here from D3 to i7 I want these to be in the comma style for the numbers and then the last one right here I want this to be in percentage and I want a couple decimals behind it so we hit the percentage and then we click the arrow to the left to increase the decimals twice all right so with my template set up now we're going to go ahead and we're going to go to the purchase date and I'm saying that I purchased these stocks 121 to 2015 and now we've got to type this one more time and we've got to give Excel a frame of reference when we want to use a drag feature so what I'm going to do is I'm going to highlight the two dates here I'm going to go to the bottom right and I'm going to drag and it automatically fills it in for me however if I didn't do that and I.

2:49Would have just done the first one Excel doesn't have a frame of reference so it's going to think that we're just going to go by the days and so it just goes first second third fourth Etc however we don't want that and once we give it the fir we highlight the first two it gives it a frame of reference on and it's going to understand that we want to continue with the same date when we drag it down quantities purchase I'm going to say that we purchase or I purchase 100 shares of each one of the stocks so for this one right here I'm going to type in the 100 for this one and then I'm going to go to the bottom right and again I'm going to use the drag feature and I'm going to highlight everything and pull it down the initial price the initial price per share we're going to say the initial price per share is $25.50 for Boeing $13.50 for Disney $10 for Walmart and.

3:471525 for Bank of America next thing what we need to do is we need to calculate the initial cost to do the initial cost we're going to go ahead and we're going to hit the equal sign we are going to click on the initial price per share and we're going to multiply that by the quantities of shares purchased and press enter once we do that we're going to use a drag feature again and we're going to pull it down for the next three the beautiful feature about Excel with the drag feature is that Excel understands that we want to multiply but we want to multiply but we want to change the rle so it's going to keep the multiplication sign the same however it's going to go one down for each row when we do the dragon and so that does a lot of work for us next thing we need to do is we need to.

4:41Identify the current price per share and now I'm going to highlight this in red for the simple fact is that this is the only these are the only cells that we're going to change later on when we want to update our portfolio so what we're going to do here is we're we're going to say the current price per share is going to be $22.50 for Boe we're going to say it's going to be $14 for Disney $12.30 for Walmart and Bank of America we're going to say is currently selling for $16 once we do that we can calculate the current value so what is the value of our stocks today as compared to a month ago and to do that we're going to hit the equal sign we're going to take our price per share and we're going to multiply that by quantities of quantities of shares purchased hit enter.

5:38And this gives us our new market value and we're going to use the same feature bottom right hand corner and we're going to drag it down and it's going to automatically fill in the other cells and again it knows that we want to multiply but we just want to change the rol by one and that's exactly what Excel does next thing we need to do is we need to calculate the gains and losses for each stock what we're going to do is we are going to take our initial our current market value and we are going to subtract from our current market value how much we paid for it and that's going to show that we've got a loss of $300 and we want to keep the same formula so we're going to do the same thing we're to drag it down and this shows the current value and it subtracts from the current value how much we paid for the stock and that what's left.

6:31Is our profit so next thing we're going to do is we want to know what our total profit is so we're going to use a sum function or the sum formula in order to do that we're going to press the equal sign type in sum open up a parentheses and then we are going to highlight the sections that we want to add together close up the parentheses hit enter and this shows us that we have a total profit of $55 next thing what we want to figure out is what is the percent of what is a percent for each stock as compared to the portfolio so for example how much of how much of my portfolio is consisted of Boeing and we can do that by figuring out the percentages and to do that we are going to press our equal.

7:25Sign actually we're going to hold off on that for a minute next thing we're going to do is we are going to go ahead and we're going to use our total feature but before we do our total feature what I like to do is I like to put double bars below the last number that we are going to add together so for this right here we're going to scroll over we're get our double bars and it gives us a nice clean outline and not only that but it also tells the user that these numbers are added or subtracted together so to use the sum again we're going to equal sign sum open up a parentheses and we're going to highlight the cells we want to add together close the parentheses hit enter and then from there we can use a drag feature again pull it all the way straight across try that one more time pull it all the way across and we'll actually go one more.

8:24Twoo and also want double bars there all right so this shows us the total of how many shares we've bought total how much total the initial price was the total investment that we had and it also gives us a current the total current share prices for each stock it also gives us the current market value which is important we definitely want to know that so we'll go ahead and make a highlight there the next thing we want to do is we want to figure out what is the percent of each stock as compared to the portfolio folio in order to do that we're going to press the equal sign and then we're going to go ahead and click on the current value of each stock and we're going to divide the current value of each stock by the total the total amount of funds invested in the portfolio we hit enter and this shows us this is.

9:2834.723061 every time we go down instead of going 2250 it'll go 2250 and then the 640 6480 then if I drag it down what's going to happen is it's going to go to the 1400 but it's also going to go one lower than the average the total that we want in order to avoid that issue we're going to tell Excel that we want this the second the second cell right here to stay the same we don't want it to move in order to lock it down we're going to put a dollar sign in front of the row and also a dollar sign I'm sorry dollar sign in front of the column and a dollar sign in front of the row once we do that tells Excel when we drag it do not move don't move this number right here.

10:20And that's what we get and we know this is correct because it sums it up to 100% And this shows us the percent or the Val the percent for each stock is compared to the portfolio next thing we want to do is we want to find out the averages so what is the average quantities purchase what are the what's the average initial price what's the average initial cost in order to do that we are going to use the average feature so we're going to type in equal sign average we're going to click on average and then we're going to go ahead and we're going to highlight the numbers or the cells that we want to average so we want those four cells right there average and then we're going to close our parentheses and hit enter and so the average quantities purchase is 100 and the next thing we're going to do is again use the drag feature and we're going to drag it.

11:15Across and this gives us the average for each one so our average current market portfolio is $1,620 and for this we want to change this back into a percent so we click on the percent and then we want to increase the decimals too and this shows us the average investment in the portfolio is 25% we know that's true because we only have four stocks and that's going to give us an answer next thing what we want to do is we want to know what is the highest value for each one of the stocks and order to do that we're going to put the equal sign Max open up a parentheses and again highlight the cells that we want to evaluate close the parentheses and that function right here the function Max is going to return the maximum value and the reason this is good to.

12:11Identify is because this can tell us for this right here what is the what is the highest dollar amount that we've invested for a stock and that tells us it's 2250 then we can immediately identify is Boeing and the next thing what we have right here is we're going to switch this again into the decimal and the beauty of knowing the highest percentages is this will tell us you know where do we have most of our money in our portfolio and it's 34.723061 the cells you want to evaluate close your parentheses hit enter and again we're going to go to.

13:04Bottom right and we're going to drag it over and one more time we're going to adjust this we're take it from the decimal and we're going to put it in percentage form and this tells us what the lowest percentage is or what's the lowest number for each group that we evaluated and for example right here what's the lowest initial price that we paid we know it's $10 and we can immediately go up and identify that it's Walmart so hopefully this is going to help everybody identify and calculate their gains and losses and figure out what the way to their portfolio is and have a good day.

Transcript lightly cleaned from the video captions for reading.

Where Does This Formula Fit in Running a Business?

Owners use this math in the planning stage of Dr. Paul’s Organize-Plan-Grow™ Strategy: spotting concentration risk in investments, customers or suppliers. For help running the numbers on a real decision, see Dr. Paul’s financial planning and modeling.

Stage 1: Organize

Get the facts, records and processes out of your head and onto paper.

This videoStage 2: Plan

Use those facts to decide: prices, hires, loans and where the business goes next.

Stage 3: Grow

With the basics solid, add customers, staff, locations or price.

Watch Next

Future Value Formula

What $1,000 grows to at 8% for six years, worked by hand.

Watch Next

Expected Rate of Return

Weigh three possible outcomes by their odds to get one expected return.

Facing a Money Decision and Want the Math Checked?

The formulas are the easy part. Knowing which one fits your loan, equipment purchase or savings plan is where owners get stuck. Dr. Paul runs the numbers with you, on site or by Zoom. See how Dr. Paul helps owners or call him.

Free 15-Minute Call: (321) 948-9588

Dr. Paul Borosky

About the Author

Dr. Paul Borosky, DBA, MBA works as a business consultant and writes books for owners, including Dr. Paul’s Fabled Forest Business School Series. He taught finance as an adjunct professor and tutored finance students for years before focusing on consulting. He holds a DBA (National University) and an MBA in Finance (Webster University) and counts 1,000+ clients in all 50 states and Canada. About Dr. Paul · His books on Amazon

Stepping Out of the Real World and Into the Fabled Forest

Now the page leaves the real world for the Fabled Forest, the made-up setting of Dr. Paul’s books. The crab twins and their shop shares are invented. Not knowing how much of your money sits in one place is a real owner problem. Read more in Dr. Paul’s Fabled Forest Business School books.

A Fabled Forest Story

The Crandalls Weigh the Basket

Doctor Owl was labeling the seed drawers in the potting shed when Sheldon and Percy Crandall scuttled in, sideways, both talking.

“We own shares in four shops,” Sheldon said. “Three are fine. One lost money.”

“How much of your savings is in that one?” Doctor Owl asked.

The twins looked at each other. Neither knew.

“Write down what each share cost and what it is worth today,” Doctor Owl said. “Then divide each by the total.”

Percy did the math. More than a third was in the one that lost.

“Bolt it down,” said Sheldon. “Back it up,” said Percy. “Lock it away,” they said together. Then they decided to move some of it.

The lesson: know what share of your money sits in each place. The biggest share carries the biggest risk.

Stock Portfolio Gain, Loss and Weight in Excel Questions

How do I calculate a stock’s weight in a portfolio?

Divide its current value by the total portfolio value.

Why use dollar signs in the Excel formula?

They lock the total cell so it does not shift when you drag the formula down.

What does MAX show here?

The largest value in a column, such as the biggest holding.

Scroll to Top