Improve Your Investing With Excel Microsoft's Excel

New Post Public Reply Private Reply Replies (0) Message Board
NITE


Improve Your Investing With Excel

Microsoft's Excel spreadsheet program allows investors to keep track of investment activity in an organized manner. Using Excel, investors can track positions, including entry price, periodic closing prices and returns. Another valuable feature of Excel is that it can automatically calculate an investment's or portfolio's standard deviation. The standard deviation value is synonymous with risk in regard to modern portfolio theory, and can assist investors by evaluating an investment's or portfolio's volatility. This article will briefly explain modern portfolio theory, standard deviation and how Excel can be used to enhance one's investment activities. Modern Portfolio Theory
Modern portfolio theory (MPT) was developed by Harry Markowitz, and introduced in the 1952 Journal of Finance. The central focus of MPT is that investors should not limit themselves to the expected risk and return of one particular stock; rather, an investor should reduce risks through diversification. MPT states that the risk in a portfolio of diverse stocks (or other investment instruments) will be less than the risk of any one of the stocks. A key point here is diversification: it is not adequate to simply own 20 different stocks. Instead, a diversified portfolio will be comprised of instruments that are relatively unrelated in order to mitigate the risks in the event that one sector or type of investment performs poorly.
According to MPT, risk involves two elements: systematic and unsystematic risk. Systematic risk includes risk factors that cannot be reduced through diversification, the risk that's inherent in the overall market. Unsystematic risk is tied to individual investment products and can be diminished through the use of diversification. A goal of modern portfolio theorists is to limit risk, or the deviation from the mean, by holding a well-diversified portfolio. (To learn more, see Modern Portfolio Theory: Why It's Still Hip.)

Standard Deviation
Calculating the standard deviation for a data set can reveal important information regarding an investment's risk. The standard deviation is simply the measure of how far returns are from their statistical average; in other words, standard deviation allows investors to determine the above-average risk or volatility of an investment. The standard deviation calculation is a complex, time-consuming mathematical equation. Fortunately, a few simple clicks in Excel can provide the same calculation, even if an investor does not understand the math behind the value.

Since the standard deviation measures the degree to which a stock's or portfolio's returns vary, or deviate, from average returns, it can be a useful metric in assessing volatility and risk. The standard deviation of returns is a more accurate measure of volatility than looking at periodic returns because it takes all values into account. The lower the standard deviation value, the lower the risk.

Using Excel to Track Investments
An Excel spreadsheet can be used in a number of ways to keep track of investment activity. The first step is to decide what data you would like to include. Figure 1 shows an example of a simple Excel spreadsheet that tracks one investment's data, including date, entry, size (how many shares), closing prices for the dates specified, the difference between the closing price and the entry price, the percentage return, profit and loss for each periodic closing price, and the standard deviation. A separate sheet in an Excel workbook can be used for each stock.
Learn to trade Forex with FXCM’s Free Trading Guide

Figure 1: Excel spreadsheet showing data from onetrading
instrument (McGraw Hill).


Creating Formulas
Difference
Some values in the spreadsheet, however, must be manually calculated, which is time consuming, or you can insert a formula into a cell to do the work for you. To calculate the difference (the difference of the current price minus the entry price), for instance, click in the cell where you would like the difference to appear. Next, type the equals sign and then click in the cell containing the current price. Follow this with a minus sign and then click in the cell that contains the entry price. Then click enter and the difference will appear. If you click on the lower right corner of the cell until you see what looks like a dark plus sign (without little arrows on it), you can drag the formula to the other appropriate cells to find the difference for each data set.

Percent Return
The percent return is the difference of the current price minus the entry price, divided by the entry price: (price-entry)/entry. The percent return calculation is made by, once again, selecting the cell where you would like the value to appear, then typing the equal sign. Next, type an open parenthesis and click in the cell that has the current price, followed by a minus sign, the entry price and a close parenthesis. Next type a forward slash (to represent division) and then click in the entry price cell again. Press enter and the percent return will appear. You may need to highlight the column, right click, and select Format Cells to select "Percentage" under the number tab to have these values appear as percentages. Once you have the formula in one cell, you can click and drag (as above) to copy the formula into the corresponding cells.

Profit and Loss
The profit and loss is the difference multiplied by the number of shares. To create the formula, click in the cell where you want the value to appear. Next, type the equals sign and then click in the cell that contains the difference (see above). Then, type the asterisk symbol (*; to represent multiplication) and then click in the cell that contains the number of shares. Press enter and you will see the profit and loss for that data. You may need to highlight the column, right click and select Format Cells, then select currency to set the column to display as a dollar amount. You can then select, click and drag the formula to copy it in the other corresponding cells.
Standard Deviation
As we've discussed, standard deviation is a measure of a stock's or portfolio's volatility. Excel can find the standard deviation for a data set, or population, in a few keystrokes. Since the standard deviation calculation is complex, this is an extremely helpful feature in Excel. To find the standard deviation of a data set, click on the cell where you want the standard deviation value to appear. Next, under the Formulas heading in Excel, select the "insert function" option (this looks like "fx"). The Insert Function box will appear, and under "select a category" choose "Statistical". Scroll down and select "STDEV", then click OK. Next, highlight the cells that you want to find the standard deviation for (in this case, the cells in the percent return column, careful to select only the return values and not any headers). Then click OK and the standard deviation calculation will appear in the cell. (For more, see The Uses And Limits Of Volatility.)

Finding the Standard Deviation for a Portfolio
You can compile data from the individual sheets in Excel to determine metrics such as overall profit and loss, and overall standard deviation. Figure 2 shows data from 11 different stocks, including entry date and price, the number of shares, the current price, the difference between the current price and the entry price, the percent return, the profit & loss, and the overall standard deviation. If you have data on one sheet in Excel that you would like to appear on a different sheet, you can select, copy and paste the date into a new location. In this way, it is easy to import a series of stock's data into one sheet. All of the formulas are the same as in the previous examples, and the standard deviation calculation is based on the percent return of all of the stocks, rather than just a single instrument.

Figure 2 Excel spreadsheet showing compilation of multiple
trading symbol's data.


Conclusion
Using Excel is a useful tool to assist with investment organization and evaluation. Once a spreadsheet has been formatted with the data that you would like to see, and the necessary formulas, entering and comparing data is relatively simple. It pays to take the time to set up the sheets exactly how you want them and to eliminate or hide any extraneous data. To hide a column or row of data, highlight the selection, and under the Home tab in Excel, select Format. A dropdown menu appears; select "hide/unhide" and choose the option you want. Any data that is hidden can still be accessed for calculations but will not show up in the spreadsheet. This is helpful when creating a streamlined, easy-to-read spreadsheet.

Of course there are alternatives to setting up the spreadsheet by yourself. A considerable number of commercial products are available from which to choose portfolio management software that works in concert with Excel. An internet search can help interested investors learn about these opportunities.

An Excel spreadsheet can be as easy or complex as you want it to be. Personal preference and needs dictate the complexity of the spreadsheet. The key is to understand whatever data you do decide to include so that you are able to gain insight from it.

Please note: the spreadsheet and investment data included in this article are for illustrative purposes only and do not represent any actual positions held by the author. The intention of the article is to demonstrate techniques in Excel, not to make any inferences or recommendations regarding investments.
Scroll down for more posts ▼

Top 10 Most Recent News Articles

Aflac's $200M Milestone in Cancer Charity Support

Updated Category News Views 2

Pioneering Efforts Across Decades Here’s an effort that bucks the usual corporate talk. Aflac, the supplemental insurance giant, isn’t just mumbling about its mission; it's doing the heavy lifting in the fight against childhood cancer and blood disorders. With over $200 million in contributions poured into the cause over more than 30 years, they're putting the capital...

Continue Reading
Woodpack Global Unveils Crate Design System: A New Era Begins

Updated Category News Views 2

Innovating the Wooden Crate Landscape An old industry got a much-needed facelift today, folks. Woodpack Global has rolled out Crate Design System™ (CDS)—a snazzy new tool that's shaking up the wooden crate design landscape. It blows the dust off outdated design methods that have been collecting cobwebs since the '60s. That's right, we’re talking about a significant...

Continue Reading
ZEEKR's Shooting Brakes Dominate: Over 400K Sold

Updated Category News Views 3

ZEEKR's Stellar Performance in a Crowded Market Another month, another bumper crop for ZEEKR's shooting brakes. These beauties aren't just hanging in there; they're leading the pack. In August alone, global deliveries marched past the 10,000 mark for the third month running—a feat not easily achieved in today's saturated automotive landscape. It's no wonder the...

Continue Reading
Cove Capital Secures $9.96M for Debt-Free Logistics DST

Updated Category News Views 2

Unpacking Cove Capital's Latest Victory Cove Capital Investments has pulled off another coup, raising a hefty $9,964,510 for its Cove Essential Net Lease Industrial 108 DST. It's a Regulation D, Rule 506(c) offering, now fully subscribed, spotlighting a debt-free investment ethos and a rock-solid logistics site in Anchorage, Alaska. Strategic Facility Anchoring Investment...

Continue Reading
ABC Honors 2026 Spirit of the Heart Leaders

Updated Category News Views 4

Celebrating Champions of Cardiovascular Health In a world where accolades often feel as cold as the stock market after a crash, it’s heartening to see genuine recognition for those who are making actual, lasting impact. On October 3, 2026, the Association of Black Cardiologists (ABC) will hold its annual Spirit of the Heart Awards at none other than Cipriani Wall...

Continue Reading
Sandbox VR Expands to Melbourne, Betting on Immersive Fun

Updated Category News Views 1

Sandbox VR Ventures into Melbourne's Heart Every now and then, a venture takes its ambitions and rolls the dice on a prime location. Sandbox VR is swaggering into Melbourne's bustling Central Business District, fresh out of its success on the Gold Coast. Opening this Melbourne venue on September 14 marks a significant leap in the company's Aussie expansion—a bold nod to...

Continue Reading
Push Notification Security Transforms Healthcare IT Support

Updated Category News Views 2

Cutting the Fat on IT Help Desk Bottlenecks Healthcare IT teams are fighting an uphill battle with password resets, a mundane task consuming up to half of all help desk calls. It's like trying to stop a leaking dam with duct tape. For health systems, these calls aren't just a minor annoyance—they're a full-fledged budget hog. Try telling a CIO that an agent-friendly...

Continue Reading
Facility Solutions Group Climbs to Top 18 Electrical Spot

Updated Category News Views 2

FSG Shines Brightly in Electrical Contractor Rankings Climbing the ladder is no easy feat, but Facility Solutions Group (FSG) has managed to climb, all the way to the #18 spot on Electrical Construction & Maintenance (EC&M) magazine's revered list of the Top Electrical Contractors in the U.S. It’s up from their previous rank of 22. When you think about the competitive...

Continue Reading
Health Net's $2M Boost for Stanislaus Affordable Housing

Updated Category News Views 1

Joining the Fight Against California’s Housing Crisis Well, I'll be the first to say it's a breath of fresh air when a healthcare beast like Health Net starts investing in something as critical as affordable housing. This is no drop in the bucket—two million dollars is quite the commitment to fix some of the mess that’s been brewing in Stanislaus County, California....

Continue Reading
Law Firm Gains Strength with Strategic New Hires

Updated Category News Views 1

Catching the latest twist in the legal scene, veteran criminal defense attorney John T. Floyd is stiffening the backbone of his Houston-based firm. Snagging both Christopher Choate and Mia Floyd, he's set to fortify his team representing folks caught in the snarl of Texas and federal criminal courts. New Faces, Massive Expertise Let's dig into Choate's credentials first....

Continue Reading

Top 5 Most Recently Viewed Articles

Therabody Devices Counter Soccer Fatigue with Results

Updated Category News Views 6

Therabody's Game-Changing Devices on the Soccer Field Just as the buzz from the biggest soccer tournament of the year lingers in the air, a fresh study emerges showing Therabody's ability to tackle what players dread— the notorious second-half slump. Soccer may be a game of two halves, but who knew halftime could be where science steps in to make or break a player's...

Continue Reading
California REALTORS Celebrate Legislative Support for Homeowners

Updated Category News Views 121

California REALTORS® Support Recent Legislative Actions The California Association of REALTORS® (C.A.R.) has expressed strong support for recent legislation aimed at assisting homeowners affected by wildfires. Governor Gavin Newsom signed a series of measures that will administer over $2.5 billion in relief funds to bolster recovery efforts in the state. This...

Continue Reading
Unlocking the Insights Behind Philip Morris' Options Trends

Updated Category News Views 104

Understanding the Recent Options Activity for Philip Morris Intl Investors are increasingly turning bullish on Philip Morris Intl (PM). This trend has been captured through numerous options trades, notably highlighting an affluent interest in the company's stock. Recent activity in the options market indicates that someone may be anticipating significant developments for...

Continue Reading
Man Group PLC's Strategic Positioning in Spectris plc Deal

Updated Category News Views 127

Introduction to Man Group PLC's Position Man Group PLC, a leader in investment management, continues to play an influential role in the financial markets. Its strategic involvement in various acquisitions, specifically its recent disclosure regarding Spectris plc, showcases the company's commitment to maintaining significant investment stakes that surpass 1% in relevant...

Continue Reading
Centerspace to Announce Q3 2024 Financial Results Soon

Updated Category News Views 69

Centerspace to Release Q3 2024 Earnings on October 28 Centerspace (NYSE: CSR), a key player in the apartment community sector, is set to announce its operating results for the third quarter of 2024. The report will be available following the market's closure on October 28, 2024. This presentation highlights the company's ongoing commitment to transparency and its...

Continue Reading