Retrieve Share Volume Data with QM_ShareVolume

The QM_ShareVolume function helps you quickly fetch share volume data for a specified symbol directly in Excel. By leveraging MarketXLS’s data subscription and caching mechanisms, QM_ShareVolume ensures you get reliable responses for your research, trading strategies, and portfolio management—all without leaving Excel.

Use this function to streamline your data retrieval process, reduce workflow interruptions, and keep tabs on market movements in real time or on a delayed basis (depending on your data subscription settings).

Why Use This Function?

  • Effortless Data Retrieval: Instantly fetch the share volume of a given symbol within your Excel sheet.
  • Real-Time or Delayed Options: Depending on your data subscription and provider settings, QM_ShareVolume can return the most recent volume figures available.
  • Seamless Integration: Because it’s part of MarketXLS, you can combine QM_ShareVolume with other functions and formulas, enabling complex workflows and advanced analytics.
  • Data Validation and Error Handling: If the symbol is invalid, not configured, or data is being refreshed, QM_ShareVolume will provide messages like “NA,” “Refreshing,” or “Please Refresh,” allowing you to handle potential issues gracefully.
  • Ideal for Trading & Research: Perfect for investors and analysts tracking daily or periodic volume trends, especially when combined with other market data in Excel.

How to Use in Excel

=QM_ShareVolume("SYMBOL")
  1. Enter the formula in any cell within Excel.
  2. Replace "SYMBOL" with a valid ticker symbol (e.g., "AAPL" for Apple, "TSLA" for Tesla).
  3. Press Enter. MarketXLS will then attempt to fetch the share volume data.

If your data provider or license setup is incomplete, you may see a message directing you to configure your settings.

Parameters Explained

Parameter Description Example Values Notes
symbol The stock ticker symbol for the asset AAPL, TSLA Must be a valid symbol recognized by your configured data vendor

• Only one parameter, symbol, is required.
• The function internally uses "sharevolume," which MarketXLS sends to the data vendor (e.g., QuoteMedia) to retrieve the volume data.

Example Usage

Basic Examples

  1. Basic Query for Apple’s Share Volume

    In a cell, type:
    =QM_ShareVolume("AAPL")
    Press Enter. The function will display Apple’s current or recently updated share volume in that cell.

  2. Tesla Share Volume with a Cell Reference

    Suppose cell A2 contains TSLA. In another cell:
    =QM_ShareVolume(A2)
    You’ll see the share volume for Tesla, updating automatically when data refreshes.

  3. Handling Invalid Symbols

    If the symbol is invalid or not found, QM_ShareVolume returns “NA,” helping you identify typos or missing data.

Advanced Scenarios

  • Batch Processing Multiple Symbols: Create a list of symbols in column A and have QM_ShareVolume formulas in column B referencing each cell in column A. This setup lets you quickly scan volumes for multiple stocks at once.
  • Integrating with Other Functions: Combine QM_ShareVolume with Excel’s built-in formulas like AVERAGE or SUM to calculate average share volume across a set of symbols or track cumulative volume changes.
  • Trading Strategy Example: If you’re evaluating high-volume breakouts for certain stocks, you can compare share volumes across multiple days or weeks, track changes in a custom sheet, and use conditional formatting to highlight volume spikes.

Common Questions and Troubleshooting

• “Why am I seeing ‘NA’?”

  • The symbol may be invalid, or the data vendor has no data for that symbol. Double-check your symbol and ensure it’s listed by your data provider.

• “Why does the function display ‘Refreshing’?”

  • The data is currently being requested from the vendor. Allow a moment for it to finish refreshing.

• “What happens if the data vendor isn’t configured?”

  • You’ll see a prompt instructing you to configure your data subscription settings. Navigate to MarketXLS Settings/Help, then Data Subscriptions to complete the setup.

• “I’m seeing ‘Please Refresh’—what does it mean?”

  • Data for that symbol might not yet be in your local cache. Press the MarketXLS Refresh button or trigger a data refresh to retrieve the latest volume.

• Edge case: Passing blank or invalid inputs

  • If the function detects empty references or strings, it returns an empty result or “NA.” Always confirm your symbols are valid and spelled correctly.

By using QM_ShareVolume for share volume data, you can supercharge your trading research workflow in Excel. Combine it with other MarketXLS functions to perform in-depth analysis, automate your tasks, and confidently manage your stock investments. Take advantage of real-time or delayed volume data at your fingertips—right in Excel!

Get Access to 1 Billion Usable Market data points IN YOUR EXCEL SHEETS WITH EASY TO USE EXCEL FUNCTIONS

Get started today
MarketXLS Excel Add-in Tutorial - How to Use Sharevolume and Other Financial Formulas
How does MarketXLS work?