Diluted EPS From Total Operations (Historical) Formula in Excel

Understanding Diluted EPS From Total Operations (Historical)

The Diluted EPS From Total Operations (Historical) formula in Excel (with MarketXLS) helps you retrieve a company's diluted earnings per share (EPS) that includes operations from both continuing and discontinued activities. It is a powerful metric to:

  • Assess a company's profitability more comprehensively.
  • Make informed investment decisions.
  • Compare performance across different periods.

? Pro Tip: This formula is especially helpful when you want a single figure representing overall EPS from all company activities.

Syntax and Parameters

Use the following syntax in Excel:

=hf_Diluted_EPS_from_Total_Operations(Symbol, year, [quarter], [TTM])
Parameter Description Required Example
Symbol The stock ticker or identifier. Can include indices, options, or crypto. Yes "MSFT", "^SPX"
year The target year or a relative period code (e.g., "ly" for last year). Yes 2022, "ly", "lq", "lt"
quarter The calendar quarter (1, 2, 3, 4) or empty. Defaults to "1" if omitted. No 2
TTM Set to "TTM" if you want trailing twelve months data (otherwise leave blank). No "TTM"

?? Note: If the symbol is invalid, subscription is not active, or data is unavailable, the formula returns "NA".

Return Value

  • A numeric value representing the diluted EPS for the specified period.
  • Returns "NA" if data is not available or parameters are invalid.

Date and Symbol Input Formats

You can reference dates in different ways:

  1. Cell reference:
    =hf_Diluted_EPS_from_Total_Operations(A1)
  2. Direct date input:
    =hf_Diluted_EPS_from_Total_Operations("2024-03-15")
  3. Using Excel date functions:
    =hf_Diluted_EPS_from_Total_Operations(TEXT(A1,"yyyy-mm-dd"))

For symbols:

  • Regular symbols:
    =hf_Diluted_EPS_from_Total_Operations("MSFT", 2022)
  • Indices:
    =hf_Diluted_EPS_from_Total_Operations("^SPX", 2022)
  • Options:
    =hf_Diluted_EPS_from_Total_Operations("@MSFT 110122C00020000", 2022)
  • Crypto:
    =hf_Diluted_EPS_from_Total_Operations("BTCUSD:DEFAULT", 2022)

Examples and Usage

Below are common use cases:

  1. Retrieve the diluted EPS for 2022 (full year):
    =hf_Diluted_EPS_from_Total_Operations("MSFT", 2022)
  2. Get the diluted EPS for 2022, Q2:
    =hf_Diluted_EPS_from_Total_Operations("MSFT", 2022, 2)
  3. Show the trailing twelve months (TTM) from Q3 2022:
    =hf_Diluted_EPS_from_Total_Operations("MSFT", 2022, 3, "TTM")
  4. Get the last quarter's data directly:
    =hf_Diluted_EPS_from_Total_Operations("MSFT", "lq")
  5. Pull the last year’s figure or previous years:
    =hf_Diluted_EPS_from_Total_Operations("MSFT", "ly")
    =hf_Diluted_EPS_from_Total_Operations("MSFT", "ly-1")
  6. Fetch the last 12 months (LT) or previous LT:
    =hf_Diluted_EPS_from_Total_Operations("MSFT", "lt")
    =hf_Diluted_EPS_from_Total_Operations("MSFT", "lt-1")

? Pro Tip: Use relative period codes ("lq", "ly", "lt") to automate reporting without changing dates manually each quarter.

Common Questions

1. What if my symbol or year is invalid?

The formula returns "NA" if it cannot retrieve valid data. Double-check your symbol, year, and other parameters.

2. Does this formula affect Excel performance?

The function fetches data from MarketXLS servers, which typically runs quickly. However, a slow or unstable internet connection may affect performance.

3. Can I use it for non-US equities or crypto?

Yes. Provide a valid identifier (e.g., "BTCUSD:DEFAULT") for crypto or an appropriate symbol for international stocks, and the formula attempts to retrieve the data.

4. How can I compare EPS across multiple years or quarters?

Create a simple Excel table listing various years or quarters in separate cells. Reference them in the function to quickly compare and chart results side by side.

?? Note: Make sure you have an active MarketXLS subscription and the latest version of the add-in to access historical fundamental data.


Use Diluted EPS From Total Operations (Historical) to consolidate the total diluted EPS data in your analyses, enabling you to gauge a company's overall earnings performance over time and make more informed investment decisions.