Using Spreadsheets – Calculating Your Daily Returns

If you’ve been trading for a long period of time you might have been curious to know what your daily returns were. Excel and Google Sheets can help you efficiently calculate this in a simple way. Suppose we started trading on August 29th, 2017. It is now September 7th and we would like to know our daily returns for our portfolio. First, we would look up our Historical portfolio values by clicking “Graph My Portfolio” under the “My Portfolio” tab in the navigation bar.

 

Once there, simply click on Historical Portfolio Values and a new window will pop up displaying the data. The page should look something like this:

Next, you can highlight everything from “Date” to the last number under “Value”. Then, copy the data and paste it onto cell A1 in your blank spreadsheet.

As mentioned in our Getting Some Data article, values may sometimes appear as “#####”. To fix this, you simply need to adjust the column widths.

Next, we add a heading for Daily Returns under column “C”. We can then create a function on Excel or Google Sheets to calculate each days’ return for us in dollars. Since we only started trading on August 29th, we wouldn’t have any returns for that day and we can leave that cell blank. Instead, we would write the function onto the second cell under the column, cell C3, and drag it downwards from the bottom right of the cell to copy it onto the rest of the column. The function we would input is “=(B3-B2)”. It should look something like this on your Google spreadsheet or Excel:

The values we have calculated here are our daily returns in dollar amounts. If we wish, we can also find these amounts as a percentage. To do this, we would create another heading on column D and name it “Daily Returns %”. Then, we would click on the second cell under this column (Cell D3) and input the function “=(C3/B2) *100”. This should give us a value of 0.009%. To repeat this for the other dates, simply drag the 0.009% value downwards the same way we did for the dollar value. Google Sheets/Excel will then calculate the remaining values for us.  We have now calculated our daily returns in a dollar amount and as a percentage. The final spreadsheet should look something like this:

Pop Quiz

If watching this video was an Assignment, get all 3 of these questions right to get credit!

Click "Next Question" to start the quiz!

Comments are closed.