Finished Goods (Historical) Formula in Excel

In this guide, you’ll learn how to use the Finished Goods (Historical) formula in Excel (powered by MarketXLS) to retrieve the value of finished goods inventory for companies over specified historical periods. Finished goods are products that have completed the manufacturing process but have not yet been sold or distributed to the end user. Below, we’ll cover the syntax, parameters, practical examples, and common questions around this function.

Understanding Finished Goods (Historical)

  • The Finished Goods (Historical) formula provides you with the company’s inventory that is ready for sale for a particular year or quarter.
  • This historical data is crucial for comprehensive financial analysis, forecasting, and valuation models.
  • You can use this formula to track trends in inventory management, identify seasonal fluctuations in finished goods, and compare multiple companies’ inventory practices.

? Pro Tip: Use Finished Goods (Historical) in conjunction with other MarketXLS fundamental functions like Revenue (Historical) or Gross Profit (Historical) to gain deeper insights into a company’s operations.

Syntax and Parameters

Below is the syntax for the hf_Finished_Goods function in Excel:

=hf_Finished_Goods(Symbol, year, [quarter], [TTM])
Parameter Description Required Example
Symbol The ticker symbol of the company (e.g., "MSFT" for Microsoft). Supports indices (^SPX), options (@MSFT 110122C00020000), and crypto (BTCUSD:DEFAULT). Yes "MSFT"
year The year or a special code indicating a reference period. You can use numeric years (e.g., 2022) or codes like "lq", "ly", "lt" (and variations). Yes "lq-1" (last quarter - 1)
quarter The calendar quarter (1, 2, 3, 4). If omitted, defaults to "1". No 2
TTM Use "TTM" to retrieve trailing twelve months data (leave blank otherwise). No "TTM"

?? Note: The function returns “NA” if the symbol is invalid, the data is unavailable, or if there is a license issue.

Return Value

  • Returns a numeric value (Double) representing the finished goods inventory for the specified period if successful.
  • Returns a string "NA" if the data is not available or in case of errors.

Examples and Usage

Below are examples covering different scenarios. Adjust them based on your specific analysis requirements.

  1. Basic Yearly Lookup

    =hf_Finished_Goods("MSFT", 2022)

    Retrieves finished goods inventory for Microsoft for the year 2022.

  2. Specifying Quarter

    =hf_Finished_Goods("MSFT", 2022, 2)

    Returns finished goods inventory for Q2 of 2022.

  3. Using TTM (Trailing Twelve Months)

    =hf_Finished_Goods("MSFT", 2022, 3, "TTM")

    Retrieves trailing twelve months data from Q3 2022.

  4. Last Quarter or Last Year

    =hf_Finished_Goods("MSFT", "lq")
    =hf_Finished_Goods("MSFT", "ly-1")

    Provides finished goods inventory for last quarter (lq) or last year minus one (ly-1).

  5. Crypto Example

    =hf_Finished_Goods("BTCUSD:DEFAULT", 2022, 3, "TTM")

    (Illustrative) Retrieves the finished goods equivalent metric (if supported) for Bitcoin for Q3 2022 on a TTM basis.

? Pro Tip: You can reference cells for the parameters. For instance: • Using a cell reference for the year:
=hf_Finished_Goods("MSFT", A1)
• Using text functions to pass year:
=hf_Finished_Goods("MSFT", TEXT(A1,"yyyy"))

Common Questions

  1. What if the formula returns “NA”?

    • This typically indicates invalid or unsupported symbols, incomplete parameters, or a licensing issue with MarketXLS.
  2. Can I use this function for international stocks or different asset classes?

    • Yes, MarketXLS supports many global symbols, indices, options, and cryptocurrencies. Always check if data is available for your region.
  3. How often is the data updated?

    • Historical fundamentals are typically updated quarterly or annually, depending on company reporting. MarketXLS fetches the latest available data.
  4. Are there any performance considerations?

    • When extracting large sets of historical fundamentals, the function relies on MarketXLS servers. To optimize performance, consider breaking down queries or limiting the number of calls in a single worksheet.
  5. Can I use direct date formats like “2024-03-15”?

    • Although the primary parameter is a year (or special code), you can experiment by passing date-like strings. However, the function is designed to parse periods, so best practice is to use numeric years, “lq/ly/lt” codes, or cell references.

?? Note: Always ensure your MarketXLS license is active and supports historical fundamentals to avoid “NA” responses.


By leveraging the Finished Goods (Historical) formula in Excel with MarketXLS, you gain quick and powerful insights into a company’s inventory metrics. Combine it with other fundamental functions for a comprehensive outlook on any company’s financial health.