Working with Stock and Geography Data Types in Excel
Microsoft recently added two new data types to Excel – 1) Stock and 2) Geography. If you use Excel 2019 obtained through a perpetual license, or Version 1810 and newer of Excel provided through an Office 365 subscription, you have access to these new tools. With them, you can enter information such as locations or stock ticker symbols into your spreadsheets. Upon doing so, Excel then retrieves relevant information that pertains to that data.
Working with Stock Data Types
Our first example of using these new data types involves using the Stock data type to retrieve information about a group of stocks. Let’s assume that for each of the stocks represented by the ticker symbols shown in Figure 1, you need to obtain the most recent price and the total market capitalization for that stock. To do this using the new Stock data type, select the ticker symbols and then click Stocks from the Data tab of the Ribbon. Upon doing so, the ticker symbols transform into the names of the companies represented by the symbols, as shown in Figure 2.
Clicking the icon in the upper, left corner of cell B1 in Figure 2 causes Excel to display a list of stock market and other related information about each of the companies represented. Choosing the Price and Market cap fields causes Excel to insert the selected data for each company into the worksheet, as shown in Figure 3. Of course, once Excel adds the data to the spreadsheet, you can use it just as if you had entered it directly into the spreadsheet. Further, because Excel links the data, you will see it update periodically as stock market conditions change.
Using Geography Data Types
In our second example of working with the new data types, we will import geographically-oriented data into a worksheet, based on the locations shown in Figure 4.
With the locations in the worksheet, clicking Geography from the Data tab of the Ribbon causes Excel to convert the locations into Geography Data Types, as shown in Figure 5. Notice that upon converting the data points, Excel displays a list geographically-oriented data that is available for the data points. In this example, selecting the Median Household Income, Population, and Persons Per Household fields causes Excel to insert the selected data points into the worksheet, as displayed in Figure 6.
Again, you can use the data brought into Excel using Geography data types just as if you had entered it directly. Because Excel links the data, it updates periodically, provided your computer is connected to the Internet.
Stock and Geography data types are new features added to Excel. Both these tools provide Excel with Artificial Intelligence capabilities in the sense that they anticipate the type of data you need in your workbooks and help you to retrieve it. As you upgrade into newer versions of Excel that offer Stock and Geography data types, you will want to take advantage of these tools when you are working with those types of data.
You can view a demonstration of working with stock and geography data types by watching the video below.