Essential Excel Functions Library

Lookup & Reference

Function: XLOOKUP

Definition:
Find a value in one column or row and return the corresponding value from another column or row.

Description:
Searches a lookup list for a value and returns the matching result. Supports exact or approximate matches, wildcards, and returning multiple columns.

Common Uses:

  • Replace VLOOKUP or HLOOKUP (left/right lookups).
  • Pull full records (spill multiple columns).
  • Last match (most recent) lookups.
  • Band or threshold lookups (approximate).

Copyable Line (Template):

=XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode])

Lookup and Reference Functions

Function: VLOOKUP

Definition:
Look for a value in the first column of a table and return a value from a specified column in the same row.

Description:
Performs a vertical lookup that searches top-to-bottom in the leftmost column and returns data from a given column index.

Common Uses:

  • Find customer names, prices, or IDs from reference tables.
  • Join two datasets using a common key.
  • Pull attributes like department, grade, or category.

Function:

=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

Function: HLOOKUP

Definition:
Look for a value in the first row of a table and return a value from a specified row in the same column.

Description:
Performs a horizontal lookup that scans the top row for a match and retrieves data from a row below.

Common Uses:

  • Search across header rows for period or product names.
  • Retrieve time-based or category-based data from horizontal tables.
  • Simplify cross-tab lookups for reports.

Function:

=HLOOKUP(lookup_value, table_array, row_index_num, [range_lookup])

Function: XMATCH

Definition:
Return the position (index) of a lookup value within a row or column, with support for exact, approximate, wildcard, and reverse or binary search modes.

Description:
Searches a one-dimensional list for a value and returns its position number. More flexible than MATCH; pairs well with INDEX or XLOOKUP for two-way lookups, dynamic column selection, and fast searches on sorted data.

Common Uses:

  • Get the column number of a selected header for INDEX.
  • Find the position of the last occurrence (reverse search).
  • Do band or threshold lookups (approximate).
  • Speed up large lookups with binary search on sorted lists.
  • Quick existence check (returns #N/A if not found).

Copyable Line (Template):

=XMATCH(lookup_value, lookup_array, [match_mode], [search_mode])

Function: INDEX

Definition:
Return the value from a table or range at a given row and column.

Description:
Retrieves a cell’s value by position. Often paired with MATCH or XMATCH to create flexible lookups that won’t break when columns move.

Common Uses:

  • Two-way lookups with MATCH or XMATCH for row and column.
  • Pull entire rows or columns by using spilled returns with dynamic arrays.
  • Build parameterized reports where row or column positions change.
  • Return values from named ranges or tables reliably.

Function:

=INDEX(array, row_num, [column_num])

Function: MATCH

Definition:
Return the position (index) of a lookup value within a one-dimensional list.

Description:
Searches a row or column for a value and returns its position number. Use with INDEX for robust lookups; supports exact and approximate modes.

Common Uses:

  • Find the column number of a selected header for INDEX.
  • Get row position of an ID to feed into INDEX.
  • Approximate band or threshold lookups on sorted lists.
  • Validate existence (returns #N/A if not found).

Function:

=MATCH(lookup_value, lookup_array, [match_type])

Function: FILTER

Definition:
Return only the rows or columns of a range that meet one or more conditions.

Description:
Applies one or multiple logical tests to a dataset and spills the matching subset. Replaces complex helper columns and advanced filters.

Common Uses:

  • Extract records by criteria (e.g., Region="East" and InStock="Y").
  • Build interactive reports driven by slicer-like criteria cells.
  • Create training or test splits, or active/inactive views.
  • Feed downstream functions (SORT/SORTBY, UNIQUE, AGGREGATE).

Function:

=FILTER(array, include, [if_empty])

Function: SORT

Definition:
Return a sorted version of a range or array by column(s) or row(s).

Description:
Takes a dataset and sorts it ascending or descending by the specified column (or row for horizontal data). Works with dynamic arrays and updates as data changes.

Common Uses:

  • Sort a report by date or revenue.
  • Sort helper results before presenting to users.
  • Sort filtered or unique lists for clean outputs.

Function:

=SORT(array, [sort_index], [sort_order], [by_col])

Function: SORTBY

Definition:
Return a range or array sorted based on one or more separate “key” ranges or arrays.

Description:
Sorts the main array by the values in one or more other arrays (e.g., sort a full table by a hidden metric or multiple keys). Keys don’t need to be part of the returned columns.

Common Uses:

  • Sort a full table by a calculated column not shown in output.
  • Multi-key sorts (e.g., Region ascending, then Revenue descending).
  • Stable sorting for dashboards without rearranging source data.

Function:

=SORTBY(array, by_array1, [sort_order1], [by_array2], [sort_order2], ...)

Function: UNIQUE

Definition:
Return the distinct values (or rows) from a list or table.

Description:
Extracts unique items from a single column or deduplicates whole rows from a table. Can be set to return unique values or values that appear only once.

Common Uses:

  • Build distinct dimension lists (customers, SKUs, categories).
  • De-duplicate transactions (entire rows).
  • Feed validation drop-downs or subsequent lookups.

Function:

=UNIQUE(array, [by_col], [exactly_once])

Function: TAKE

Definition:
Return the first or last N rows and/or columns from a range or array.

Description:
Extracts a top or bottom slice, or left or right slice, of a dataset without changing the source. Works with dynamic arrays and updates as data changes.

Common Uses:

  • Show the top N rows from a sorted table.
  • Limit a spilled result to a fixed size.
  • Trim extra columns from a wide dataset.

Function:

=TAKE(array, [rows], [columns])

Function: DROP

Definition:
Remove the first or last N rows and/or columns from a range or array.

Description:
Cuts away a leading or trailing part of a dataset to return the remaining middle or tail. Negative numbers drop from the end.

Common Uses:

  • Skip header rows or initial periods.
  • Remove trailing totals or footers.
  • Create rolling windows by dropping the first k rows.

Function:

=DROP(array, [rows], [columns])

Function: CHOOSECOLS

Definition:
Return specified columns from a range or array by their positions.

Description:
Picks columns by index (supports multiple indices) to create a new, narrower dataset without altering the source table.

Common Uses:

  • Build a presentation-ready view with selected columns.
  • Reorder columns quickly (e.g., 5,1,3).
  • Hide sensitive columns while keeping formulas dynamic.

Function:

=CHOOSECOLS(array, col_num1, [col_num2], ...)

Function: CHOOSEROWS

Definition:
Return specified rows from a range or array by their positions.

Description:
Selects individual rows (supports multiple indices and negative indexing from the end) to construct targeted subsets.

Common Uses:

  • Pull specific records (e.g., first, last, and a few samples).
  • Assemble example rows for documentation or QA.
  • Reorder rows for custom displays.

Function:

=CHOOSEROWS(array, row_num1, [row_num2], ...)

Function: HSTACK

Definition:
Combine multiple ranges or arrays horizontally into a single array.

Description:
Stacks arrays side-by-side, joining columns while preserving all rows. Dynamic — automatically expands when source data changes.

Common Uses:

  • Merge related tables with matching row counts.
  • Build combined lookup arrays for search functions.
  • Concatenate multiple outputs into a single dynamic array.

Function:

=HSTACK(array1, [array2], …)

Function: VSTACK

Definition:
Combine multiple ranges or arrays vertically into one array.

Description:
Stacks arrays one on top of another, appending rows and aligning columns automatically. Works dynamically with updates.

Common Uses:

  • Combine multiple tables with identical columns.
  • Append historical data to current data.
  • Aggregate separate lists into one continuous range.

Function:

=VSTACK(array1, [array2], …)

Function: WRAPROWS

Definition:
Wrap a single row or list into multiple rows with a specified number of values per row.

Description:
Reshapes a flat list into a structured table format. Creates new rows every n values.

Common Uses:

  • Reshape linear outputs into a grid for presentation.
  • Convert long data sequences into table-ready form.
  • Prepare chart or layout data with fixed row widths.

Function:

=WRAPROWS(vector, wrap_count, [pad_with])

Function: WRAPCOLS

Definition:
Wrap a single column or list into multiple columns with a specified number of values per column.

Description:
Transforms a vertical list into several columns, wrapping every n values across columns.

Common Uses:

  • Convert long lists into multi-column layouts.
  • Create table-like structures from vertical data.
  • Prepare print-friendly or dashboard-friendly arrangements.

Function:

=WRAPCOLS(vector, wrap_count, [pad_with])

Function: TOCOL

Definition:
Convert an entire range or array into a single column.

Description:
Flattens data (row-wise or column-wise) into one vertical list. Can include or exclude blanks.

Common Uses:

  • Combine multiple columns into one unified list.
  • Prepare lookup arrays or distinct value extractions.
  • Simplify multi-range analysis with single-column input.

Function:

=TOCOL(array, [ignore], [scan_by_column])

Function: TOROW

Definition:
Convert an entire range or array into a single row.

Description:
Flattens data (row-wise or column-wise) into one horizontal list. Supports blank ignoring and direction control.

Common Uses:

  • Prepare arrays for horizontal comparisons.
  • Combine multiple rows into one unified sequence.
  • Reformat wide data for compact summaries.

Function:

=TOROW(array, [ignore], [scan_by_column])

Function: EXPAND

Definition:
Expand an array to a specified size, filling extra cells with chosen values.

Description:
Takes an existing dynamic array and enlarges it to a defined number of rows or columns. Preserves source data and fills remaining space.

Common Uses:

  • Create uniform table shapes for reporting.
  • Align arrays with mismatched sizes.
  • Fill empty slots for visual or logical completeness.

Function:

=EXPAND(array, rows, [columns], [pad_with])

Function: OFFSET

Definition:
Return a reference to a range that is offset from a starting cell or range by a given number of rows and columns.

Description:
Creates a dynamic reference that shifts position based on specified row and column offsets. Can also resize the returned range by height and width parameters.

Common Uses:

  • Build dynamic ranges that adjust as data grows.
  • Create rolling averages or moving windows.
  • Reference cells relative to a known position.

Function:

=OFFSET(reference, rows, cols, [height], [width])

Function: INDIRECT

Definition:
Return a reference specified by a text string.

Description:
Converts a text string into a valid Excel cell or range reference. Allows formulas to refer to cells dynamically by name or string.

Common Uses:

  • Create flexible references that change based on user input.
  • Build dynamic sheet or range references.
  • Combine with other functions for indirect lookups or summaries.

Function:

=INDIRECT(ref_text, [a1])

Text Cleaning & Parsing (Data Wrangling)

Function: TEXTSPLIT

Definition:
Split text into multiple cells by a given delimiter (or set of delimiters).

Description:
Breaks a single text string into rows or columns using one or more delimiters. Supports case sensitivity, multiple delimiters, and custom output orientation.

Common Uses:

  • Separate names, codes, or data combined in one cell.
  • Split comma-separated values into columns.
  • Break sentences or paths into parts for analysis.

Function:

=TEXTSPLIT(text, col_delimiter, [row_delimiter], [ignore_empty], [match_mode], [pad_with])

Function: TEXTBEFORE

Definition:
Return the text that appears before a specified delimiter.

Description:
Extracts the substring from the start of a text up to (but not including) a given delimiter. Can return the first, last, or nth occurrence.

Common Uses:

  • Extract first names from full names.
  • Isolate domain names, prefixes, or codes before separators.
  • Clean up imported data fields.

Function:

=TEXTBEFORE(text, delimiter, [instance_num], [match_mode], [match_end], [if_not_found])

Function: TEXTAFTER

Definition:
Return the text that appears after a specified delimiter.

Description:
Extracts the substring that follows a given delimiter. Can target specific delimiter occurrences from start or end.

Common Uses:

  • Extract last names, file extensions, or suffixes.
  • Retrieve data after symbols like "@", "-", or "/".
  • Split identifiers or structured text fields.

Function:

=TEXTAFTER(text, delimiter, [instance_num], [match_mode], [match_end], [if_not_found])

Function: TEXTJOIN

Definition:
Combine multiple text strings (or ranges) into one string, using a specified delimiter between each.

Description:
Concatenates text from different cells or arrays with a chosen separator (such as a comma, space, or dash). Offers the option to ignore empty cells.

Common Uses:

  • Merge first and last names with a space.
  • Create comma-separated lists from cell ranges.
  • Build dynamic labels, sentences, or summaries.

Function:

=TEXTJOIN(delimiter, ignore_empty, text1, [text2], …)

Function: CONCAT

Definition:
Join multiple text strings or ranges into one continuous string.

Description:
Simplified successor to CONCATENATE. Combines text from multiple cells or arrays without specifying a delimiter. Handles ranges directly.

Common Uses:

  • Combine values or labels from several cells.
  • Build product codes or identifiers.
  • Merge column data for summaries or reports.

Function:

=CONCAT(text1, [text2], …)

Function: TRIM

Definition:
Remove extra spaces from text, leaving only single spaces between words.

Description:
Cleans up text by removing leading, trailing, and repeated spaces. Useful when working with imported or copied data that contains irregular spacing.

Common Uses:

  • Clean up names or text fields before analysis.
  • Prepare data for matching or comparison.
  • Remove invisible extra spaces after imports.

Function:

=TRIM(text)

Function: CLEAN

Definition:
Remove all non-printable characters from text.

Description:
Eliminates control or hidden characters (such as line breaks or symbols) that may come from imported or web data.

Common Uses:

  • Clean data copied from external systems.
  • Fix broken or unreadable text in datasets.
  • Prepare fields for reliable matching or exports.

Function:

=CLEAN(text)

Function: SUBSTITUTE

Definition:
Replace specific text within a string with new text.

Description:
Finds and replaces one substring with another. Supports targeting specific occurrences within the text.

Common Uses:

  • Replace outdated codes, words, or symbols.
  • Standardize text labels or formats.
  • Clean up inconsistent entries in imported data.

Function:

=SUBSTITUTE(text, old_text, new_text, [instance_num])

Function: REPLACE

Definition:
Replace part of a text string based on position and length.

Description:
Removes a portion of text and inserts new text starting at a defined position.

Common Uses:

  • Modify ID numbers or codes by position.
  • Insert updated values into fixed-format strings.
  • Clean or adjust structured data fields.

Function:

=REPLACE(old_text, start_num, num_chars, new_text)

Function: LEFT / MID / RIGHT

Definition:
Extract a specified number of characters from the start, middle, or end of a text string.

Description:
These functions return portions of text based on position and length — LEFT from the start, MID from a defined position, and RIGHT from the end.

Common Uses:

  • Get prefixes, suffixes, or internal codes.
  • Extract year, month, or ID parts from structured fields.
  • Parse fixed-format data for analysis.

Function:

=LEFT(text, [num_chars])
=MID(text, start_num, num_chars)
=RIGHT(text, [num_chars])

Function: LEN

Definition:
Return the number of characters in a text string.

Description:
Counts all characters, including spaces and punctuation, to measure text length.

Common Uses:

  • Validate ID or code length.
  • Detect missing or incomplete entries.
  • Support conditional logic in text processing.

Function:

=LEN(text)

Text Formatting & Search Functions

Function: UPPER / LOWER / PROPER

Definition:
Change the case of text to uppercase, lowercase, or proper case (first letter capitalized).

Description:
These functions standardize text formatting — UPPER converts all letters to capitals, LOWER makes all letters small, and PROPER capitalizes the first letter of each word.

Common Uses:

  • Normalize text for comparison or data cleaning.
  • Format names, titles, or product descriptions consistently.
  • Prepare data for reports or exports with standardized casing.

Function:

=UPPER(text)
=LOWER(text)
=PROPER(text)

Function: FIND / SEARCH

Definition:
Return the position number of a character or substring within text.

Description:
FIND locates text exactly (case-sensitive), while SEARCH performs the same task but ignores case and supports wildcards. Both return the character index of the first match.

Common Uses:

  • Identify where a specific word or symbol appears.
  • Extract parts of text based on position.
  • Combine with MID, LEFT, or RIGHT for dynamic text parsing.

Function:

=FIND(find_text, within_text, [start_num])
=SEARCH(find_text, within_text, [start_num])

Text-to-Number Conversion Functions

Function: NUMBERVALUE

Definition:
Convert text that appears as a number into a true numeric value, using specified decimal and group separators.

Description:
Transforms numbers stored as text (like “1,234.56” or “1.234,56”) into real numbers that Excel can calculate with. Especially useful for international formats.

Common Uses:

  • Fix imported numeric data with different separators.
  • Enable calculations on numbers stored as text.
  • Standardize numeric formats from various sources.

Function:

=NUMBERVALUE(text, [decimal_separator], [group_separator])

Function: VALUE

Definition:
Convert text that represents a number, date, or time into a numeric value.

Description:
Takes text-formatted numeric data and turns it into a usable number recognized by Excel’s calculation engine.

Common Uses:

  • Convert text-based numbers after data imports.
  • Prepare date or time strings for computation.
  • Ensure consistent data types in numeric analysis.

Function:

=VALUE(text)

Number and Date Formatting Function

Function: TEXT

Definition:
Format a number, date, or value as text using a specified number format.

Description:
Converts numeric values into text with custom formatting codes. Useful for displaying numbers with units, symbols, or date/time styles without altering the underlying value.

Common Uses:

  • Display formatted numbers like “$1,000” or “75%”.
  • Convert dates or times into readable text (e.g., “Monday, Jan 1”).
  • Combine formatted numbers with other text in a single cell.

Function:

=TEXT(value, format_text)

Dates, Times & Workdays (Time Intelligence)

Function: DATE

Definition:
Create a valid Excel date from individual year, month, and day numbers.

Description:
Combines numeric components into a single serial date value that Excel recognizes for calculations. Handles month or day overflow automatically.

Common Uses:

  • Build dynamic dates from separate columns.
  • Generate rolling or relative date sequences.
  • Normalize imported data with year, month, day split.

Function:

=DATE(year, month, day)

Function: DATEDIF

Definition:
Calculate the difference between two dates in specified units (days, months, or years).

Description:
Returns the interval between two dates with precision — in years ("Y"), months ("M"), or days ("D"). Also supports partial combinations like “YM” or “MD.”

Common Uses:

  • Compute age, tenure, or service duration.
  • Calculate months between billing or project dates.
  • Build elapsed time logic for dashboards or HR analytics.

Function:

=DATEDIF(start_date, end_date, unit)

Function: DATEDIF (compat)

Definition:
Legacy version of DATEDIF maintained for backward compatibility.

Description:
Behaves the same as DATEDIF but kept for consistency with earlier spreadsheet systems or imported legacy models.

Common Uses:

  • Maintain compatibility with older Excel templates.
  • Support legacy HR, payroll, or project tracking systems.

Function:

=DATEDIF(start_date, end_date, unit)

Function: EOMONTH

Definition:
Return the last day of the month before or after a specified date.

Description:
Moves a given date forward or backward by a number of months and returns the date of that month’s end.

Common Uses:

  • Calculate month-end reporting periods.
  • Align data to financial closing dates.
  • Build rolling monthly windows or forecasts.

Function:

=EOMONTH(start_date, months)

Function: EDATE

Definition:
Return a date that is a specified number of months before or after a given date.

Description:
Offsets a date by a chosen number of months while keeping the same day of the month, adjusting automatically for shorter months.

Common Uses:

  • Shift dates by months for scheduling or projections.
  • Calculate maturity or renewal dates.
  • Build time offsets for dynamic period models.

Function:

=EDATE(start_date, months)

Workday & Business-Day Functions

Function: WORKDAY

Definition:
Return a date that is a specified number of working days before or after a start date.

Description:
Adds or subtracts workdays, automatically skipping weekends and optionally excluding holidays. Returns the resulting business date.

Common Uses:

  • Calculate project deadlines or delivery dates.
  • Model lead times excluding weekends.
  • Build schedules that align with workday calendars.

Function:

=WORKDAY(start_date, days, [holidays])

Function: WORKDAY.INTL

Definition:
Return a date a given number of working days before or after a start date, with custom weekend definitions.

Description:
An advanced version of WORKDAY that lets you define which days of the week are weekends. Supports regional calendars and non-standard workweeks.

Common Uses:

  • Handle international or custom business schedules.
  • Model shifts for industries with non-traditional weekends.
  • Exclude both weekends and holidays dynamically.

Function:

=WORKDAY.INTL(start_date, days, [weekend], [holidays])

Function: NETWORKDAYS

Definition:
Calculate the number of working days between two dates, excluding weekends and optional holidays.

Description:
Counts how many business days occur within a date range, automatically skipping Saturdays, Sundays, and any listed holidays.

Common Uses:

  • Measure turnaround time or project duration in workdays.
  • Calculate employee attendance or productivity metrics.
  • Analyze SLA compliance or response times.

Function:

=NETWORKDAYS(start_date, end_date, [holidays])

Function: NETWORKDAYS.INTL

Definition:
Calculate the number of working days between two dates with customizable weekends.

Description:
Extends NETWORKDAYS by allowing users to specify which days are non-working. Supports flexible global and organizational calendars.

Common Uses:

  • Compute business days for regional or shift-based calendars.
  • Align KPI or payroll calculations with non-standard weeks.
  • Exclude holidays and variable weekend patterns.

Function:

=NETWORKDAYS.INTL(start_date, end_date, [weekend], [holidays])

Dates, Times & Workdays (Time Intelligence) — Continued

Function: YEAR

Definition:
Return the year number from a given date.

Description:
Extracts the year portion of a date value, returning it as a four-digit number.

Common Uses:

  • Build year-based groupings or summaries.
  • Create calendar or fiscal year columns.
  • Support time-intelligence logic in models.

Function:

=YEAR(serial_number)

Function: MONTH

Definition:
Return the month number from a given date.

Description:
Extracts the month as a number from 1 (January) to 12 (December).

Common Uses:

  • Create month-level reporting fields.
  • Sort or group data by month.
  • Build time intelligence and seasonal trends.

Function:

=MONTH(serial_number)

Function: DAY

Definition:
Return the day number from a given date.

Description:
Extracts the day portion (1–31) from a valid date value.

Common Uses:

  • Build day-based calculations or summaries.
  • Create detailed time-series datasets.
  • Support date difference or scheduling logic.

Function:

=DAY(serial_number)

Function: WEEKDAY

Definition:
Return the day of the week as a number from a given date.

Description:
Provides a numeric code for the weekday, where the start day can be customized (e.g., 1 = Sunday or 1 = Monday).

Common Uses:

  • Identify weekends vs. weekdays.
  • Build logic for scheduling or shifts.
  • Classify records by weekday patterns.

Function:

=WEEKDAY(serial_number, [return_type])

Function: WEEKNUM

Definition:
Return the week number of the year for a given date.

Description:
Assigns a sequential week index (1–52 or 1–53) based on the system’s week numbering convention.

Common Uses:

  • Group sales or production by week.
  • Track weekly trends or reports.
  • Align data with fiscal or calendar week cycles.

Function:

=WEEKNUM(serial_number, [return_type])

Function: ISOWEEKNUM

Definition:
Return the ISO week number (Monday-based week system) of a given date.

Description:
Follows the ISO 8601 standard, where weeks start on Monday and the first week contains the year’s first Thursday.

Common Uses:

  • Align with international or corporate week standards.
  • Build consistent cross-year weekly reporting.
  • Support global time-series analysis.

Function:

=ISOWEEKNUM(date)

Function: YEARFRAC

Definition:
Return the fractional number of years between two dates.

Description:
Calculates the precise portion of a year between two dates, useful for prorating interest, salaries, or service durations.

Common Uses:

  • Compute age or tenure in decimal years.
  • Prorate financial metrics like interest or depreciation.
  • Model continuous time-based calculations.

Function:

=YEARFRAC(start_date, end_date, [basis])

Current Date & Time Functions

Function: TODAY

Definition:
Return the current date, updated automatically whenever the worksheet recalculates.

Description:
Provides the system’s current date as a serial number that refreshes daily. Does not include time.

Common Uses:

  • Build rolling date logic for dashboards.
  • Calculate days until deadlines or anniversaries.
  • Create dynamic date ranges for reports.

Function:

=TODAY()

Function: NOW

Definition:
Return the current date and time, refreshed whenever the worksheet recalculates.

Description:
Provides the exact system date and time as a serial number with fractional value for hours, minutes, and seconds.

Common Uses:

  • Timestamp calculations and logging.
  • Monitor elapsed hours or real-time updates.
  • Build live rolling windows with current time context.

Function:

=NOW()

Math, Aggregation & Array Math (Analysis Building Blocks)

Function: SUM

Definition:
Add all the numbers in a range or array.

Description:
Calculates the total of numeric values, ignoring text and empty cells. Works across ranges, arrays, and criteria-based selections.

Common Uses:

  • Sum sales, costs, or quantities.
  • Aggregate totals in financial or operational models.
  • Combine results from multiple ranges dynamically.

Function:

=SUM(number1, [number2], …)

Function: COUNT

Definition:
Count the number of cells containing numbers in a range.

Description:
Tallies only numeric values, ignoring text and blanks. Useful for measuring the size of numeric datasets.

Common Uses:

  • Count how many numeric entries exist.
  • Measure data completeness.
  • Support averages or ratios with dynamic counts.

Function:

=COUNT(value1, [value2], …)

Function: COUNTA

Definition:
Count all non-empty cells in a range.

Description:
Includes numbers, text, logical values, and errors—everything except empty cells.

Common Uses:

  • Count entries regardless of type.
  • Measure total filled records in a dataset.
  • Check completeness across mixed-type fields.

Function:

=COUNTA(value1, [value2], …)

Function: AVERAGE

Definition:
Return the arithmetic mean of a range or array.

Description:
Calculates the sum of numeric values divided by their count, ignoring text and blanks.

Common Uses:

  • Find average revenue, grade, or score.
  • Establish benchmarks for performance.
  • Smooth out trends in reporting or dashboards.

Function:

=AVERAGE(number1, [number2], …)

Conditional Aggregation Functions

Function: SUMIFS

Definition:
Add numbers in a range that meet one or more conditions.

Description:
Performs conditional summation across multiple criteria. Each condition filters the data before summing the matching values.

Common Uses:

  • Calculate total sales for a specific region, product, or period.
  • Aggregate revenue or costs with multiple filters.
  • Build dynamic group-by metrics for dashboards.

Function:

=SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2], [criteria2], …)

Function: COUNTIFS

Definition:
Count the number of cells that meet one or more conditions.

Description:
Applies multiple criteria across different ranges and returns how many records match all given conditions.

Common Uses:

  • Count transactions by product and region.
  • Monitor cases meeting specific thresholds.
  • Build summary tables with multi-condition logic.

Function:

=COUNTIFS(criteria_range1, criteria1, [criteria_range2], [criteria2], …)

Function: AVERAGEIFS

Definition:
Return the average of values that meet one or more conditions.

Description:
Calculates the mean of cells in a range only when all specified conditions are satisfied.

Common Uses:

  • Find average order value by region or channel.
  • Evaluate performance across filtered subsets.
  • Create conditional KPIs for analytical models.

Function:

=AVERAGEIFS(average_range, criteria_range1, criteria1, [criteria_range2], [criteria2], …)

Function: SUMPRODUCT

Definition:
Multiply corresponding elements in arrays and return the sum of those products.

Description:
Performs element-by-element multiplication and then sums the results. Can also evaluate conditional logic across arrays without helper columns.

Common Uses:

  • Calculate weighted averages or weighted totals.
  • Count records meeting conditions using array logic.
  • Perform conditional sums or multiplications in one formula.

Function:

=SUMPRODUCT(array1, [array2], [array3], …)

Rounding Functions

Function: ROUND

Definition:
Round a number to a specified number of digits.

Description:
Rounds up or down to the nearest digit or decimal based on standard rounding rules (0–4 down, 5–9 up).

Common Uses:

  • Clean financial or metric outputs to fixed decimals.
  • Normalize values for presentation or reporting.
  • Prepare rounded results for comparison or exports.

Function:

=ROUND(number, num_digits)

Function: ROUNDUP

Definition:
Always round a number up, away from zero.

Description:
Increases the number to the next higher value, regardless of the decimal portion.

Common Uses:

  • Ensure conservative rounding for billing or quotas.
  • Always round up days, quantities, or costs.
  • Avoid underestimation in project or financial models.

Function:

=ROUNDUP(number, num_digits)

Function: ROUNDDOWN

Definition:
Always round a number down, toward zero.

Description:
Reduces the number to the next lower value, removing excess decimals without rounding up.

Common Uses:

  • Truncate values without overestimation.
  • Manage floor-based calculations for pricing or limits.
  • Control decimal precision for analysis consistency.

Function:

=ROUNDDOWN(number, num_digits)

Function: MROUND

Definition:
Round a number to the nearest multiple of a specified value.

Description:
Rounds to the nearest increment (like 5, 10, 0.5, etc.) rather than a fixed number of digits.

Common Uses:

  • Align prices or quantities to standard units.
  • Round time or measurements to uniform intervals.
  • Create bucketed data for reports or analysis.

Function:

=MROUND(number, multiple)

Math, Aggregation & Array Math (Analysis Building Blocks)

Function: SEQUENCE

Definition:
Generate a list or table of sequential numbers in rows, columns, or both.

Description:
Creates an array of consecutive numbers automatically based on specified row and column dimensions. Can define a custom start number and step increment.

Common Uses:

  • Generate unique IDs or ordered indexes.
  • Build dynamic date or period lists.
  • Create iteration frameworks for simulation or testing.

Function:

=SEQUENCE(rows, [columns], [start], [step])

Function: RANDARRAY

Definition:
Generate an array of random numbers between 0 and 1 (or within a custom range).

Description:
Produces a grid of random decimal values. Supports defining array size, minimum/maximum values, and whether results are integers.

Common Uses:

  • Create random samples for analysis or testing.
  • Simulate probability or distribution models.
  • Generate mock datasets for dashboards or demos.

Function:

=RANDARRAY([rows], [columns], [min], [max], [whole_number])

Function: RANDBETWEEN

Definition:
Return a random integer between two specified numbers.

Description:
Generates a whole number inclusively between given lower and upper limits, recalculating each time the worksheet updates.

Common Uses:

  • Create random IDs, test data, or sample ranges.
  • Simulate outcomes or randomized experiments.
  • Assign random groups or buckets in data models.

Function:

=RANDBETWEEN(bottom, top)

Subtotal and Aggregate Functions

Function: SUBTOTAL

Definition:
Perform a chosen aggregation (like SUM, COUNT, AVERAGE, etc.) on a filtered range while ignoring hidden rows.

Description:
Applies one of several summary operations to visible data only. Ideal for filtered lists or tables where hidden rows shouldn’t affect totals.

Common Uses:

  • Calculate totals or averages in filtered tables.
  • Build dynamic summaries that auto-update with filters.
  • Exclude manually hidden or filtered-out data from results.

Function:

=SUBTOTAL(function_num, ref1, [ref2], …)

Function: AGGREGATE

Definition:
Perform advanced statistical or mathematical calculations on a range while allowing control over errors, hidden rows, and filter behavior.

Description:
Extends SUBTOTAL by supporting more functions (like LARGE, SMALL, MEDIAN) and additional options for ignoring errors or hidden rows.

Common Uses:

  • Summarize filtered datasets with more control.
  • Ignore errors while aggregating data.
  • Perform ranked or conditional analysis without helper columns.

Function:

=AGGREGATE(function_num, options, array, [k])

Statistics & Forecasting (Quick Insights)

Function: MEDIAN

Definition:
Return the middle value in a set of numbers.

Description:
Finds the central value that divides a dataset into two equal halves, providing a measure of central tendency that is less affected by outliers than the mean.

Common Uses:

  • Analyze typical transaction or salary values.
  • Identify the midpoint of distributions.
  • Compare median vs. mean for skew detection.

Function:

=MEDIAN(number1, [number2], …)

Function: MODE.SNGL

Definition:
Return the most frequently occurring value in a dataset.

Description:
Finds the single mode — the value that appears most often in a numeric list or array.

Common Uses:

  • Identify common sales quantities, scores, or categories.
  • Detect repetitive patterns in survey or operational data.
  • Compare mode with mean and median to assess data shape.

Function:

=MODE.SNGL(number1, [number2], …)

Function: STDEV.S

Definition:
Estimate the standard deviation of a sample dataset.

Description:
Measures how much the data values deviate from the sample mean, showing variability or volatility within a dataset.

Common Uses:

  • Assess variation in quality control or performance data.
  • Compare stability across time periods or segments.
  • Evaluate data consistency in analytics models.

Function:

=STDEV.S(number1, [number2], …)

Function: VAR.S

Definition:
Estimate the variance of a sample dataset.

Description:
Calculates the average squared deviation from the sample mean — a key measure of spread used in statistical modeling.

Common Uses:

  • Analyze dispersion before forecasting or regression.
  • Quantify variability in pricing, demand, or outcomes.
  • Support standard deviation and risk calculations.

Function:

=VAR.S(number1, [number2], …)

Correlation & Covariance Functions

Function: CORREL

Definition:
Return the correlation coefficient between two data ranges.

Description:
Measures the strength and direction of the linear relationship between two variables, with results ranging from -1 (negative) to +1 (positive).

Common Uses:

  • Check how two variables move together (e.g., sales vs. advertising).
  • Evaluate dependencies before regression or forecasting.
  • Detect inverse or direct trends in paired data.

Function:

=CORREL(array1, array2)

Function: COVARIANCE.S

Definition:
Calculate the sample covariance between two data ranges.

Description:
Measures how two variables change together. A positive value indicates they move in the same direction, while a negative value shows an inverse relationship.

Common Uses:

  • Analyze co-movement between metrics (e.g., revenue and expenses).
  • Support portfolio or risk modeling.
  • Use as an input for correlation or regression analysis.

Function:

=COVARIANCE.S(array1, array2)

Function: PEARSON

Definition:
Return the Pearson product-moment correlation coefficient between two datasets.

Description:
Computes linear correlation using a precise statistical formula — mathematically equivalent to CORREL, often used for explicit statistical clarity.

Common Uses:

  • Quantify linear association strength in analytical models.
  • Validate correlation results from other methods.
  • Support academic or advanced statistical reporting.

Function:

=PEARSON(array1, array2)

Percentile, Quartile & Ranking Functions

Function: PERCENTILE.INC

Definition:
Return the value at a given percentile of a dataset, including the 0th and 100th percentiles.

Description:
Identifies the data point below which a certain percentage of values fall. Includes the full range of the dataset in its calculation.

Common Uses:

  • Evaluate performance thresholds or top-X analysis.
  • Find cutoff values for grades, bonuses, or risk levels.
  • Support percentile-based normalization or scoring.

Function:

=PERCENTILE.INC(array, k)

Function: PERCENTILE.EXC

Definition:
Return the value at a given percentile of a dataset, excluding the 0th and 100th percentiles.

Description:
Calculates percentile values while ignoring the absolute minimum and maximum, useful for trimmed or cleaned data analysis.

Common Uses:

  • Build more robust statistical ranges.
  • Exclude outliers in performance or quality data.
  • Compute internal benchmarks or ranges.

Function:

=PERCENTILE.EXC(array, k)

Function: QUARTILE.INC

Definition:
Return the quartile (0 to 4) of a dataset, including the minimum and maximum.

Description:
Divides the dataset into four equal parts using inclusive percentile logic (0%, 25%, 50%, 75%, 100%).

Common Uses:

  • Identify the interquartile range (IQR).
  • Detect outliers or data spread.
  • Summarize distributions in descriptive statistics.

Function:

=QUARTILE.INC(array, quart)

Function: QUARTILE.EXC

Definition:
Return the quartile (1 to 3) of a dataset, excluding the minimum and maximum.

Description:
Divides the dataset into quartiles using exclusive percentile logic, better for large datasets and statistical modeling.

Common Uses:

  • Analyze data spread without extreme values.
  • Compare groups using middle quartiles only.
  • Support advanced statistical summaries.

Function:

=QUARTILE.EXC(array, quart)

Function: RANK.EQ

Definition:
Return the rank of a number within a dataset, with equal values receiving the same rank.

Description:
Determines position within a list relative to other values, ranking from highest to lowest or vice versa.

Common Uses:

  • Rank students, products, or KPIs by score or value.
  • Build leaderboard or percentile comparisons.
  • Support ranking logic in dashboards and models.

Function:

=RANK.EQ(number, ref, [order])

Forecasting & Regression Functions

Function: FORECAST.LINEAR

Definition:
Predict a future value along a linear trend based on existing data points.

Description:
Uses linear regression to estimate the next value (y) from known pairs of x and y. Assumes a straight-line relationship between variables.

Common Uses:

  • Project sales, costs, or performance trends.
  • Build baseline forecasts from historical data.
  • Support predictive models for dashboards or reports.

Function:

=FORECAST.LINEAR(x, known_y’s, known_x’s)

Function: TREND

Definition:
Return values along a linear trend that best fits known data points.

Description:
Generates multiple forecasted or fitted values using linear regression across one or more x-values. More flexible than FORECAST.LINEAR for series projections.

Common Uses:

  • Extend existing trends into future periods.
  • Smooth noisy data using best-fit regression.
  • Generate continuous time-series forecasts.

Function:

=TREND(known_y’s, [known_x’s], [new_x’s], [const])

Regression Analysis Function

Function: LINEST

Definition:
Return regression statistics for a line that best fits given data points.

Description:
Performs linear regression using the least-squares method and outputs detailed statistical information — including slope, intercept, standard errors, R², and more — without needing the Analysis ToolPak add-in.

Common Uses:

  • Generate regression coefficients directly in formulas.
  • Evaluate relationships between dependent and independent variables.
  • Build analytical or forecasting models entirely within worksheet logic.

Function:

=LINEST(known_y’s, [known_x’s], [const], [stats])

Logical & Error Handling (Robust Models)

Function: IF

Definition:
Return one value if a condition is TRUE and another if it is FALSE.

Description:
Creates conditional logic in formulas by testing a statement and branching the result. Can be nested for multiple conditions.

Common Uses:

  • Build pass/fail or yes/no conditions.
  • Apply thresholds for classifications or alerts.
  • Combine with other functions for flexible modeling.

Function:

=IF(logical_test, value_if_true, value_if_false)

Function: IFS

Definition:
Evaluate multiple conditions and return the first TRUE result.

Description:
Simplifies nested IF structures by allowing multiple condition–result pairs in one formula. Stops at the first condition that evaluates to TRUE.

Common Uses:

  • Assign categories or grades based on value ranges.
  • Replace complex chains of nested IFs.
  • Build tiered logic for KPIs or segmentation.

Function:

=IFS(logical_test1, value_if_true1, [logical_test2, value_if_true2], …)

Function: SWITCH

Definition:
Compare a single expression to multiple possible values and return the corresponding result.

Description:
Provides cleaner, more readable logic for scenarios where one variable can have several outcomes. Acts like a case selector.

Common Uses:

  • Map numeric codes to text labels.
  • Simplify selection logic in dashboards.
  • Replace lookup-style IF chains for readability.

Function:

=SWITCH(expression, value1, result1, [value2, result2], …, [default])

Logical Operators (Compound Conditions)

Function: AND

Definition:
Return TRUE if all given conditions are TRUE.

Description:
Evaluates multiple logical tests and returns TRUE only when every condition is met; otherwise, returns FALSE. Commonly used inside IF or IFS for compound logic.

Common Uses:

  • Combine multiple criteria in one logical test.
  • Validate complex business rules or data conditions.
  • Ensure all thresholds are met before triggering actions.

Function:

=AND(logical1, [logical2], …)

Function: OR

Definition:
Return TRUE if any given condition is TRUE.

Description:
Evaluates multiple logical expressions and returns TRUE if at least one condition holds true. Useful for flexible or alternative rule sets.

Common Uses:

  • Check if any of several conditions are satisfied.
  • Create flexible decision branches in formulas.
  • Combine with IF for multi-path logic.

Function:

=OR(logical1, [logical2], …)

Function: XOR

Definition:
Return TRUE if an odd number of conditions are TRUE (exclusive OR).

Description:
Compares multiple logical statements and returns TRUE only when exactly one (or an odd number) of them is TRUE.

Common Uses:

  • Detect mismatches or conflicting conditions.
  • Validate data integrity when only one rule can apply.
  • Simplify “either/or but not both” logic.

Function:

=XOR(logical1, [logical2], …)

Function: NOT

Definition:
Reverse the logical value of a condition.

Description:
Flips TRUE to FALSE and FALSE to TRUE. Useful for negating conditions or simplifying logic statements.

Common Uses:

  • Exclude records matching a certain condition.
  • Build logic for “not equal to” scenarios.
  • Control formula flow by reversing a test.

Function:

=NOT(logical)

Error Handling Functions

Function: IFERROR

Definition:
Return a custom result when a formula produces an error; otherwise, return the formula’s normal result.

Description:
Catches any type of error (like #DIV/0!, #VALUE!, or #REF!) and replaces it with a specified fallback value or message. Keeps dashboards and models clean and readable.

Common Uses:

  • Prevent visible error codes in reports.
  • Provide user-friendly messages or blanks for failed lookups.
  • Wrap calculations prone to missing data or invalid inputs.

Function:

=IFERROR(value, value_if_error)

Function: IFNA

Definition:
Return a custom result only when a formula returns the #N/A error.

Description:
Targets the #N/A error specifically, allowing other errors to pass through. Ideal for lookup or reference formulas that may not always find a match.

Common Uses:

  • Handle missing matches in lookup functions.
  • Display “Not Found” or a blank instead of #N/A.
  • Distinguish between true errors and missing data.

Function:

=IFNA(value, value_if_na)

Variable & Selection Functions

Function: LET

Definition:
Assign names to calculations or expressions inside a formula for reuse and readability.

Description:
Defines variables and reuses them within the same formula, improving performance and simplifying complex logic. Helps avoid repeating long expressions.

Common Uses:

  • Simplify nested or repeated calculations.
  • Improve formula readability and maintainability.
  • Enhance performance in large datasets or dashboards.

Function:

=LET(name1, value1, [name2, value2], …, calculation)

Function: CHOOSE

Definition:
Return a value from a list of options based on a given index number.

Description:
Selects and returns the nth value from a list of arguments or ranges. Works as a compact lookup or branching tool when you have a small, fixed set of options.

Common Uses:

  • Build manual lookup tables or category mappings.
  • Switch between datasets, labels, or formulas dynamically.
  • Control branching logic in compact dashboards or models.

Function:

=CHOOSE(index_num, value1, [value2], …)

LAMBDA & Friends (Turn Formulas into Functions)

Function: LAMBDA

Definition:
Create a custom, reusable function directly in a cell using standard Excel formulas.

Description:
Defines parameters and logic within a single formula, turning any calculation into a named function without VBA or add-ins. Once named through the Name Manager, it behaves like any built-in Excel function.

Common Uses:

  • Reuse complex formulas across workbooks.
  • Simplify repetitive logic into callable functions.
  • Build modular, maintainable models without coding.

Function:

=LAMBDA(parameter1, [parameter2], …, calculation)

LAMBDA & Friends (Turn Formulas into Functions)

Function: BYROW

Definition:
Apply a custom LAMBDA function to each row in an array or range.

Description:
Processes each row individually and returns a result for each. Ideal for row-wise transformations, aggregations, or conditional evaluations.

Common Uses:

  • Calculate row-level summaries or flags.
  • Apply conditional logic to each record.
  • Automate row-wise array processing.

Function:

=BYROW(array, LAMBDA(row, calculation))

Function: BYCOL

Definition:
Apply a custom LAMBDA function to each column in an array or range.

Description:
Processes columns one at a time, returning a result for each. Simplifies column-based computations or feature extractions.

Common Uses:

  • Compute column totals, averages, or metrics.
  • Standardize data across columns.
  • Perform statistical checks on datasets.

Function:

=BYCOL(array, LAMBDA(column, calculation))

Function: MAP

Definition:
Apply a custom LAMBDA function to each element across one or more arrays.

Description:
Iterates through arrays element-by-element and outputs a new array of results. Enables fully dynamic, formula-based data transformations.

Common Uses:

  • Transform or clean arrays element-wise.
  • Combine multiple arrays into new calculated values.
  • Build compact pipelines for array logic.

Function:

=MAP(array1, [array2], …, LAMBDA(parameter1, [parameter2], …, calculation))

Function: SCAN

Definition:
Return an array that shows cumulative results of applying a LAMBDA function across elements.

Description:
Performs a running calculation through an array, outputting intermediate results at each step — similar to a cumulative total or moving process.

Common Uses:

  • Create cumulative sums, balances, or progressions.
  • Build dynamic time-series accumulations.
  • Implement iterative array operations.

Function:

=SCAN(initial_value, array, LAMBDA(accumulator, value, calculation))

Function: REDUCE

Definition:
Return a single result by combining all elements in an array through a LAMBDA function.

Description:
Processes all items in an array step-by-step, carrying forward an accumulated value until one final output is produced.

Common Uses:

  • Aggregate results dynamically without helper columns.
  • Build custom sum, count, or combination logic.
  • Implement custom statistical or logical reductions.

Function:

=REDUCE(initial_value, array, LAMBDA(accumulator, value, calculation))

Function: MAKEARRAY

Definition:
Generate an array by applying a custom LAMBDA function to each cell position.

Description:
Creates arrays of any size, filling each cell with values computed from row and column coordinates.

Common Uses:

  • Build synthetic or test datasets.
  • Generate matrices, sequences, or grids programmatically.
  • Create structured arrays for modeling or visualization.

Function:

=MAKEARRAY(rows, columns, LAMBDA(row, column, calculation))

Function: ISOMITTED

Definition:
Check whether an argument in a LAMBDA function was provided or omitted.

Description:
Used inside a LAMBDA to detect if an optional parameter is missing. Enables default values or alternate logic when arguments aren’t supplied, making custom functions more flexible.

Common Uses:

  • Set default parameter values in custom LAMBDA functions.
  • Handle missing or optional inputs gracefully.
  • Build robust, user-friendly reusable formulas.

Function:

=ISOMITTED(argument)

Data Connections & Web (BI Workflows)

Function: HYPERLINK

Definition:
Create a clickable link that opens a specified URL, file, or location in a workbook.

Description:
Turns text or numeric values into interactive links. Can link to external web pages, local files, or cell references within the same workbook — useful for drill-through navigation or dashboard interactivity.

Common Uses:

  • Build clickable drill-through links in dashboards.
  • Link to web reports, documentation, or files.
  • Create navigation menus or index sheets in Excel models.

Function:

=HYPERLINK(link_location, [friendly_name])

Function: IMAGE

Definition:
Insert an image directly into a cell using a web URL or local path.

Description:
Displays a picture inside a cell that moves and resizes with it. Can dynamically reference URLs, enabling data-driven image updates (like product photos or flags).

Common Uses:

  • Embed product, logo, or flag images from URLs.
  • Create visual dashboards or lookup-based galleries.
  • Display dynamic visuals that update with formulas.

Function:

=IMAGE(source, [alt_text], [sizing], [height], [width])

Data Connections & Web (BI Workflows)

Function: ENCODEURL

Definition:
Convert text into a valid URL string by encoding special characters.

Description:
Takes plain text and replaces spaces or symbols with URL-safe codes, ensuring compatibility for use in web queries or APIs.

Common Uses:

  • Prepare query strings for web API calls.
  • Build dynamic URLs for WEBSERVICE functions.
  • Safely pass parameters containing spaces or symbols.

Function:

=ENCODEURL(text)

Function: WEBSERVICE

Definition:
Retrieve data from a web service or API endpoint as text.

Description:
Sends a web request to a specified URL and returns the raw response content (usually XML or JSON). Only available on Windows versions of Excel.

Common Uses:

  • Pull live data (currency, weather, stocks) from public APIs.
  • Integrate online data feeds into Excel models.
  • Combine with FILTERXML to extract structured values.

Function:

=WEBSERVICE(url)

Function: FILTERXML

Definition:
Extract specific data from XML text using XPath expressions.

Description:
Parses an XML string (often from WEBSERVICE) and retrieves nodes or attributes that match a given XPath query. Windows-only function.

Common Uses:

  • Parse API responses to extract key values.
  • Convert XML structures into tabular Excel data.
  • Support lightweight ETL when Power Query is unavailable.

Function:

=FILTERXML(xml, xpath)

Metadata & Diagnostics (Model Hygiene)

Function: FORMULATEXT

Definition:
Display the formula from a referenced cell as text.

Description:
Shows the exact formula written in another cell, useful for auditing, documentation, or troubleshooting. Helps verify logic without opening each formula manually.

Common Uses:

  • Create transparent model documentation sheets.
  • Audit or review key calculation logic.
  • Debug and compare formulas across ranges.

Function:

=FORMULATEXT(reference)

Function: CELL

Definition:
Return information about the formatting, location, or contents of a cell.

Description:
Provides details like file path, cell address, column number, or data format. Supports dynamic referencing for defensive spreadsheet design.

Common Uses:

  • Retrieve metadata like cell address or filename.
  • Build self-aware formulas that adjust by location.
  • Support audit sheets and model diagnostics.

Function:

=CELL(info_type, [reference])

Function: INFO

Definition:
Return system-level information about the Excel environment.

Description:
Displays details about the current Excel session, such as operating system, recalculation mode, or available memory.

Common Uses:

  • Document workbook environment or setup.
  • Troubleshoot compatibility or performance issues.
  • Build diagnostics for advanced models.

Function:

=INFO(type_text)

Function: TYPE

Definition:
Return the data type of a value (number, text, logical, error, or array).

Description:
Checks the type of content in a cell or formula result, returning a numeric code (1=number, 2=text, 4=logical, etc.).

Common Uses:

  • Build error-resistant models that adapt by data type.
  • Validate data consistency in pipelines.
  • Support conditional logic for mixed datasets.

Function:

=TYPE(value)

Function: SHEET

Definition:
Return the sheet number of a given sheet or reference.

Description:
Identifies the position of a worksheet within the workbook, supporting dynamic references and structured indexing.

Common Uses:

  • Build navigation or documentation indexes.
  • Automate referencing by sheet order.
  • Track workbook structure programmatically.

Function:

=SHEET([value])

Function: SHEETS

Definition:
Return the total number of sheets in a workbook or reference.

Description:
Counts all worksheets (and optionally chart sheets) in the workbook, enabling dynamic documentation or version control.

Common Uses:

  • Audit the number of active sheets in a model.
  • Support dynamic reporting structures.
  • Build auto-updating documentation dashboards.

Function:

=SHEETS([reference])

Suggested Top 25 Excel Functions (Practical Day-to-Day Use)

  1. XLOOKUP — Modern, flexible lookup function replacing VLOOKUP and HLOOKUP for vertical and horizontal searches.
  2. FILTER — Extract rows or columns that meet defined criteria dynamically.
  3. SORTBY — Sort data based on one or more corresponding arrays or columns.
  4. UNIQUE — Return a list of distinct values from a range or array.
  5. INDEX — Return the value of a cell in a specific row and column within a range.
  6. MATCH — Find the relative position of a value within a range.
  7. TEXTSPLIT — Split text into multiple cells using a given delimiter.
  8. TEXTAFTER — Extract text appearing after a specific delimiter.
  9. TEXTJOIN — Combine multiple text strings into one with a chosen delimiter.
  10. SUBSTITUTE — Replace specific text within a string with new text.
  11. TRIM — Remove extra spaces from text, leaving only single spaces between words.
  12. SUMIFS — Add values that meet one or more specified criteria.
  13. COUNTIFS — Count cells that meet one or more specified criteria.
  14. SUMPRODUCT — Multiply corresponding elements in arrays and sum the products.
  15. SEQUENCE — Generate sequential numbers in rows, columns, or both.
  16. TAKE — Return the first or last N rows or columns from a range or array.
  17. DROP — Remove the first or last N rows or columns from a range or array.
  18. IF — Return one value if a condition is TRUE and another if FALSE.
  19. IFS — Evaluate multiple conditions and return the first TRUE result.
  20. IFERROR — Return a custom result when a formula generates an error.
  21. LET — Define names for calculations inside a formula to simplify logic and improve performance.
  22. LAMBDA — Create a custom, reusable function directly in a cell using standard Excel formulas.
  23. BYROW — Apply a LAMBDA function to each row in a range or array.
  24. MAP — Apply a LAMBDA function to each element (or matching elements) of one or more arrays.
  25. EOMONTH — Return the last day of the month before or after a specified date.