Google Sheets Add-in

Formula Builder

The Formula Builder lets you create custom data pulls by selecting exactly which tickers, metrics, and time periods you need. Unlike the pre-built tables, you have full control over what data appears and how it's arranged.

How It Works

  1. Open the ROIC.ai add-on panel in Google Sheets
  2. Select the Formula Builder tab
  3. Configure your data pull:
    • Tickers: Add one or more company symbols (e.g., AAPL, MSFT, GOOG)
    • Metrics: Choose from 500+ financial data points
    • Period: Select Annual, Quarterly, or TTM
    • Number of periods: How many years or quarters of history
  4. Optionally toggle Include dates and Include labels
  5. Click Insert to populate the data into your spreadsheet

Selecting Tickers

Enter ticker symbols separated by commas, or search by company name. You can include up to 25 tickers in a single formula.

Examples:

  • Single company: AAPL
  • Multiple companies: AAPL, MSFT, GOOG, NVDA
  • International: AAPL.DE, ASML.AS, SAP.DE

Selecting Metrics

Choose from 500+ metrics across multiple categories:

CategoryExample Metrics
Income StatementRevenue, Gross Profit, Operating Income, Net Income, EPS
Balance SheetTotal Assets, Cash, Total Debt, Equity, Shares Outstanding
Cash FlowOperating Cash Flow, Free Cash Flow, CapEx, Dividends Paid
ProfitabilityROE, ROA, ROIC, Gross Margin, Operating Margin, Profit Margin
ValuationP/E Ratio, P/B Ratio, EV/EBITDA, EV/Sales, Market Cap
Credit & DebtDebt/EBITDA, Interest Coverage, Debt/Equity, Net Debt
LiquidityCurrent Ratio, Quick Ratio, Cash Ratio
Per ShareEPS, Book Value/Share, Revenue/Share, FCF/Share
Company InfoCEO, Sector, Industry, Employees, Country

You can select up to 100 metrics in a single formula.

Display Options

Three optional checkboxes control what additional information appears:

Include Metric Names

When checked, adds a column with human-readable metric labels (e.g., "Revenue", "Net Income", "EPS") next to each row of data.

Include Dates

When checked, adds a row showing the exact fiscal period end dates (e.g., 2024-09-28 for Apple's 2024 Y).

Include Labels

When checked, adds a header row with human-readable period labels (e.g., 2024 Y, 2024 Q1, TTM).

These options only affect the visual layout in your spreadsheet. The financial data is the same either way.

Data Layout

The Formula Builder arranges data as a grid:

For a single ticker:

AAPL Analysis.xlsx
2024 Y2023 Y2022 Y
Revenue391.0B383.3B394.3B
Net Income93.7B97.0B99.8B
EPS6.116.136.11
    
    

For multiple tickers:

When you select more than one ticker, the data is grouped by ticker. Each ticker appears as a section header, with its metrics listed below:

Peer Comparison.xlsx
2024 Y2023 Y
AAPL
Revenue391.0B383.3B
EPS6.116.13
MSFT
Revenue245.1B211.9B
EPS11.869.68
   
   

Each ticker has its own set of periods, since companies may have different fiscal year end dates (e.g., Apple ends in September, Microsoft in June).

Mixing Metric Types

You can combine financial data metrics with company profile fields in the same formula:

  • Financial metrics (Revenue, EPS, etc.) return historical values for each period
  • Company info (CEO, Sector, etc.) returns the current value, shown in every period column

For example, selecting Revenue, EPS, and Sector for AAPL over 3 years will show Revenue and EPS changing each year, while Sector shows "Technology" across all three columns.

Limits

ParameterLimit
Tickers per formula25
Metrics per formula100
Annual periodsUp to 50
Quarterly periodsUp to 50

Next Steps