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

Quantum Space Joins $185M NASA Lunar Transport Deal

Updated Category News Views 594

Quantum Space Bags a Chunk of NASA's Lunar Ambitions Alright, folks, buckle up because we're about to dive into the cosmos. Quantum Space just nabbed a sweet deal—a $185 million whopper of a contract from NASA's Moon Base Transportation program. This isn't chump change; it's a 25% slice for Quantum from the lot Arrow Science and Technology is heading. We're talking...

Continue Reading
MWC26 Doha: Bridging Standards for MENA's Future

Updated Category News Views 157

MWC26 Doha Launches with a Connectivity Mission Forget corporate boardrooms; the real action this week is unfolding in Doha's bustling exhibition halls. Kicked off with the fanfare you'd expect from such a key event, MWC26 Doha has drawn a crowd that's got both tech geeks and policy wonks nodding with interest. This ain’t your average trade show: it’s the melting pot...

Continue Reading
Evaluating GLP-1 Telehealth? Key Questions to Consider

Updated Category News Views 547

Navigating the Landscape of GLP-1 Telehealth Providers In the sprawling jungle of telehealth options for GLP-1 care, it's easy to feel like you're drowning in sameness. Picture this: you land on a sleek page promising the moon and stars, but who knows what's behind the curtain? That's where seasoned advice comes in, like a compass in this murky digital forest. Meant, a...

Continue Reading
2027 Toy of the Year Finalists Energize Play Market

Updated Category News Views 308

A Kaleidoscope of Innovation in Toys There's a familiar buzz in the air, folks. The 2027 Toy of the Year Awards finalists have been unveiled, and they're bringing a fresh wave of creativity to children's playrooms. These aren't just toys; they're miniature innovators ready to light up the market this holiday season. The reveal happened at the Chicago Toy & Game Fair and...

Continue Reading
Johnson & Johnson Unveils Promising PsA Treatment Data

Updated Category News Views 282

A Game-Changer in Psoriatic Arthritis Treatment? Johnson & Johnson just tossed a headline-grabbing bone into the world of psoriatic arthritis with their new ICOTYDE results. For anyone tangled in the chronic web of psoriatic arthritis, hearing about a potential new treatment like ICOTYDE comes with cautious hope. Between stiff joints and rashy skin, sufferers are often...

Continue Reading
Moon Base Ambitions: Impulse Space Wins Key NASA Contracts

Updated Category News Views 505

NASA's Vision and Impulse's New Role Ever think you'd see a company like Impulse Space set to play a starring role in humanity's return to the lunar surface? Well, strap in because this isn't just a pipe dream anymore. NASA's bold plan to establish a Moon Base has taken a tangible step forward with Impulse winning two hefty task orders. This ain't just peanuts—this duo...

Continue Reading
Historic Records Set at 2026 CNO Monumental Marathon

Updated Category News Views 421

Race to Remember: Monumental Breakthroughs In the chilly November air of Indianapolis, the 2026 CNO Financial Indianapolis Monumental Marathon wasn't just another tick on the calendar—this was a banner day for running. With record-breaking performances across every distance, we saw what happens when a community of athletes, sponsors, and volunteers hits a perfect...

Continue Reading
TCL's Display Future: AI Meets Screens at DTC 2026

Updated Category News Views 453

Exploring New Horizons in Display Technology There's something brewing in Wuhan: a conference that’s shaping up like a tech enthusiast’s dream. This year, it's all about the symbiosis of cutting-edge tech and dazzling visuals as TCL CSOT gears up to unveil advancements at the Global Display Tech-Ecosystem Conference (DTC) 2026. If you're wondering whether this event...

Continue Reading
J&J's New Study: Sjögren’s Solution Insight Sparks Debate

Updated Category News Views 281

Patient-Centric Take on Sjögren's Disease Johnson & Johnson has dropped fresh Phase 2 results on nipocalimab, reminding everyone they're at the helm of reshaping treatments for Sjögren's disease (SjD). A condition leaving about four million folks craving better days, in multiple ways, shines a light on what's gripping patients the hardest. It's hard not to sit up and...

Continue Reading
ecozy's Brezzano Switch: Brewing Simplicity at Home

Updated Category News Views 499

Breathe the aroma, sip the innovation. ecozy just threw their Brezzano Switch into the arena, and here's the deal: it's a no-nonsense, get-your-caffeine-fix kind of machine aimed at making your mornings simple without compromising on flavor. Unique Features of the Brezzano Switch So, what's cooking? Get this—it's not just any coffee contraption. Built sleek and compact,...

Continue Reading

Top 5 Most Recently Viewed Articles

FTI Consulting Set to Announce First Quarter 2025 Results

Updated Category News Views 203

FTI Consulting Plans Earnings Release for First Quarter 2025 FTI Consulting, Inc. (NYSE: FCN) has announced plans to unveil its financial performance for the first quarter concluding March 31, 2025. This event is scheduled for Thursday, April 24, 2025, prior to the commencement of trading on the New York Stock Exchange. The company's leadership will host a conference call...

Continue Reading
Middlefield Canadian Income PCC Reveals Latest Net Asset Value

Updated Category News Views 97

Understanding Middlefield Canadian Income PCC Middlefield Canadian Income PCC is a notable protected cell company established in Jersey. This organization is dedicated to offering investors a consistent income stream originating from its diverse portfolio of investments. Latest Net Asset Value As of the latest update, the estimated Net Asset Value per share stands at...

Continue Reading
Exploring the Future of Ethernet PHY Chips and Their Growth

Updated Category News Views 152

Ethernet PHY Chips Market Overview The Ethernet PHY Chips Market is poised for significant growth, with projections estimating a size of USD 15.2 billion by the end of the next decade. It was valued at approximately USD 3.6 billion in recent years, highlighting a robust expansion trend. Driving Forces Behind Market Expansion As industries increasingly prioritize reliable...

Continue Reading
M/I Homes Achieves Record Performance for Q3 2024

Updated Category News Views 119

Strong Q3 2024 Performance by M/I Homes, Inc. M/I Homes, Inc. (NYSE: MHO) has recently announced its impressive results for the third quarter of 2024, showcasing its continued strength and growth in the homebuilding sector. The company reported record figures in several key areas, further solidifying its position as a leading homebuilder in the United States. Record Homes...

Continue Reading
Transforming Game Advertising: Frameplay and iion Unite

Updated Category News Views 207

Transformative Partnership in Game Advertising Two industry leaders, Frameplay and iion, have joined forces to reshape the landscape of in-game advertising, creating an expansive platform that revolutionizes the way advertisers and publishers connect. This strategic partnership aims to deliver exceptional scale and reach in key markets, fundamentally changing the...

Continue Reading