How Do You Find the Data Type of a Stock in Excel?


Larry Thompson

How Do You Find the Data Type of a Stock in Excel?

When working with stock data in Excel, it is important to know the data type of each column. Understanding the data type allows you to manipulate and analyze the stock data effectively. In this tutorial, we will explore different methods to find the data type of a stock in Excel.

Method 1: Using the ‘Data Type’ Feature

Excel introduced a new feature called ‘Data Types’ that allows you to automatically recognize and convert certain types of data, including stocks. To find the data type of a stock using this feature:

  1. Select the column containing your stock data.
  2. Go to the ‘Home’ tab in Excel’s ribbon.
  3. In the ‘Data’ group, click on the ‘Data Types’ dropdown arrow.
  4. Select ‘Stocks’ from the list of available data types.

The selected column will be converted into a stock data type, and Excel will automatically recognize and format the stock symbols accordingly.

Method 2: Using Formula-Based Techniques

If you prefer a more manual approach or if your version of Excel doesn’t have the ‘Data Types’ feature, you can use formula-based techniques to determine the data type of a stock. Here are two common methods:

Method 2.1: Using ISNUMBER Function

The ISNUMBER function returns TRUE if a value is numeric and FALSE otherwise. Follow these steps:

  1. Create an empty column next to your stock data.
  2. In the first cell of this new column, enter the formula =ISNUMBER(A1).
  3. Drag the formula down to apply it to all cells in the column.

If the result is TRUE for a particular cell, it indicates that the corresponding cell in the stock data column contains a numeric value, which is typically used for stock prices.

Method 2.2: Using Conditional Formatting

Conditional formatting allows you to format cells based on specific criteria. Here’s how you can use it to identify the data type of stock:

  1. Select the column containing your stock data.
  2. Go to the ‘Home’ tab and click on ‘Conditional Formatting’ in the ‘Styles’ group.
  3. Select ‘New Rule’ from the dropdown menu.
  4. In the ‘New Formatting Rule’ dialog box, choose ‘Format only cells that contain’.
  5. In the first dropdown, select ‘Cell Value’.
  6. In the second dropdown, choose ‘less than’ or ‘greater than’, depending on your preference.
  7. Enter a number in the third field that reflects a typical stock price range (e.g., $0.01).
  8. Select a format style, such as bold or underline, to visually distinguish these cells from others.

The selected cells will be formatted according to your chosen style, making it easier to identify them as stock values.


Knowing how to find the data type of a stock in Excel is essential for effective data manipulation and analysis. Whether you utilize Excel’s built-in ‘Data Types’ feature or opt for manual methods like using formulas or conditional formatting, understanding the data type helps you work with stock data more efficiently. Experiment with these techniques and choose the one that suits your needs best.

Discord Server - Web Server - Private Server - DNS Server - Object-Oriented Programming - Scripting - Data Types - Data Structures

Privacy Policy