Excel
Updated Nov 28, 2026The TagniFi Excel Function
The TagniFi Excel function links your models with the TagniFi datasets. Each dataset has its own set of arguments, and the function reads them by position, so their order never changes. Any argument can be a cell reference, which lets one set of formulas serve any company or date.
To skip an optional argument, leave its own name in quotes, such as "vintage_date". Dates can be typed as 2025-12-31 or point to a cell that holds an Excel date.
TagniFi Fundamentals
=TAGNIFI( "tagnifi.fundamentals.data_type", "company", "tag", "period_type", "fiscal_year", "fiscal_quarter", "vintage_date", "industry_template", "relative_period", "reference_date")where:
- data_type* = value, fiscal_year, fiscal_quarter, end_period, company_name, filing_date, filing_type or filing_link
- company* = the ticker or TagniFi ID (ex. AAPL)
- tag* = the requested tag (ex. Revenue)
- period_type* = annual, quarter, year_to_date or trailing_twelve_month (TTM also works)
- fiscal_year = the fiscal year requested (ex. 2015)
- fiscal_quarter = the fiscal quarter requested (ex. 3)
- vintage_date = the point-in-time date of the request (ex. 2014-12-31)
- industry_template = commercial, banking or insurance
- relative_period = 0 to -N
- reference_date = returns the latest period ended on or before this date, to line up companies with different fiscal year ends (ex. 2025-12-31). Use it with relative_period.
* Required input
Here is an example function for Apple's Q3 2014 revenue:
=TAGNIFI( "tagnifi.fundamentals.value", "AAPL", "Revenue", "quarter", "2014", "3", "vintage_date", "industry_template", "relative_period", "reference_date")For a walkthrough of every argument, see The TagniFi Function for Fundamentals. The full tag list is in the Fundamentals Data Reference.
TagniFi Metrics
=TAGNIFI( "tagnifi.metrics.tag", "ticker", "date", "relative_period")where:
- tag* = the requested metric (ex. evtoebitda, marketcap or grossmargin)
- ticker* = the ticker of the company (ex. GWW)
- date = the date of the requested data (ex. 2025-12-31)
- relative_period = 0 to -N
* Required input
Here is an example function for W.W. Grainger's latest EV / EBITDA multiple:
=TAGNIFI( "tagnifi.metrics.evtoebitda", "GWW", "date", "0")The full metric list is in the Metrics Data Reference.
TagniFi Markets
=TAGNIFI( "tagnifi.markets.data_type", "ticker", "date", "split", "relative_period")where:
- data_type* = close, open, high, low, volume, date, relative_period or company_name
- ticker* = the ticker of the company (ex. AAPL)
- date = the date of the requested data (ex. 2014-12-31)
- split = adjusted or unadjusted
- relative_period = 0 to -N
* Required input
Here is an example function for Apple's closing share price on December 31, 2014:
=TAGNIFI( "tagnifi.markets.close", "AAPL", "2014-12-31", "split", "relative_period")TagniFi Econ
=TAGNIFI( "tagnifi.econ.data_type", "series_id", "observation_date", "vintage", "offset", "frequency", "aggregation", "units")where:
- data_type* = value or date
- series_id* = the ID of the FRED time series (ex. GDP)
- observation_date = the date of the time series data you are requesting (ex. 2014-12-31)
- vintage = returns the data as it existed on the specified date in history (ex. 2014-12-31)
- offset = returns data relative to the most recent period (0 to N)
- frequency = a lower frequency to aggregate values to: monthly, quarterly or annual
- aggregation = the method used for frequency aggregation: avg, sum or eop
- units = a data value transformation: lin, chg, pch or log
* Required input
Here is an example function for the latest U.S. GDP reading:
=TAGNIFI( "tagnifi.econ.value", "GDP", "observation_date", "vintage", "0", "frequency", "aggregation", "units")TagniFi Profiles
=TAGNIFI( "tagnifi.profiles.data_type", "ticker")where:
- data_type* = the profile field requested (ex. company_name, sector_label or exchange)
- ticker* = the ticker of the company (ex. AAPL)
* Required input
Here is an example function for Apple's company name:
=TAGNIFI( "tagnifi.profiles.company_name", "AAPL")TagniFi Estimates
=TAGNIFI( "tagnifi.estimates.data_type", "ticker", "tag", "fiscal_year", "fiscal_quarter", "vintage_date")where:
- data_type* = value, mean_estimate, median_estimate, high_estimate, low_estimate or number_of_estimates
- ticker* = the ticker of the company (ex. AAPL)
- tag* = the requested tag (ex. Revenue, EBITDA or EPS)
- fiscal_year* = the fiscal year requested (ex. 2018)
- fiscal_quarter = the fiscal quarter requested (ex. 3)
- vintage_date = the point-in-time date of the request (ex. 2017-08-15)
* Required input
Here is an example function for the mean estimated earnings per share for Apple's fiscal Q3 2018, as of August 15, 2017:
=TAGNIFI( "tagnifi.estimates.mean_estimate", "AAPL", "EPS", "2018", "3", "2017-08-15")TagniFi Recommendations
=TAGNIFI( "tagnifi.recommendations.data_type", "ticker", "vintage_date")where:
- data_type* = TargetPrice, consensus, number_of_buy_recommendations, number_of_hold_recommendations or number_of_sell_recommendations
- ticker* = the ticker of the company (ex. AAPL)
- vintage_date = the point-in-time date of the request (ex. 2017-08-15)
* Required input
Here is an example function for the number of buy recommendations for Apple as of August 15, 2017:
=TAGNIFI( "tagnifi.recommendations.number_of_buy_recommendations", "AAPL", "2017-08-15")TagniFi Bond Issues
=TAGNIFI( "tagnifi.bonds.issues.property", "id", "date")where:
- property* = a pricing property (price, yield, date or relative_period) or a terms property (ex. issuer, coupon_rate or maturity_date)
- id* = the TagniFi bond ID
- date = the date of the requested pricing data (ex. 2025-12-31). Terms properties don't change with the date.
* Required input
Here is an example function for a bond's price on December 31, 2025, where cell A2 holds the bond's TagniFi ID:
=TAGNIFI( "tagnifi.bonds.issues.price", A2, "2025-12-31")And one for the same bond's coupon rate:
=TAGNIFI( "tagnifi.bonds.issues.coupon_rate", A2, "date")The full property list is in the Bond Issues Data Reference.
TagniFi Bond Curves
=TAGNIFI( "tagnifi.bonds.curve.yield", "rating", "tenor", "date", "relative_period")where:
- rating* = the rating band of the curve (ex. BBB)
- tenor* = the tenor of the curve (ex. 10Y)
- date = the date of the requested yield (ex. 2025-12-31)
- relative_period = 0 to -N
* Required input
Here is an example function for the BBB 10-year curve yield on December 31, 2025:
=TAGNIFI( "tagnifi.bonds.curve.yield", "BBB", "10Y", "2025-12-31", "relative_period")An issue's Curve Rating and Curve Tenor (the rating and tenor properties of the issues function) show which curve it belongs to. See the Bond Curves Data Reference.
Next articleExcel: Using the Function Builder