Function Categories
Functions are organized into the following categories:Database Functions
Database functions perform calculations on data organized in a database-like structure. Category constant:Category::CATEGORY_DATABASE
Common functions:
DAVERAGE- Average values from database records matching criteriaDCOUNT- Count numeric values matching criteriaDSUM- Sum values from database records matching criteriaDMAX/DMIN- Find maximum/minimum values matching criteria
Date and Time Functions
Category constant:Category::CATEGORY_DATE_AND_TIME
Common functions:
DATE(year, month, day)- Create a date valueTODAY()- Current dateNOW()- Current date and timeYEAR(),MONTH(),DAY()- Extract date componentsHOUR(),MINUTE(),SECOND()- Extract time componentsDATEDIF()- Calculate date differencesNETWORKDAYS()- Calculate working days between datesEOMONTH()- End of month date
Engineering Functions
Category constant:Category::CATEGORY_ENGINEERING
Functions for engineering calculations including:
- Number base conversions (BIN2DEC, DEC2HEX, etc.)
- Bessel functions (BESSELI, BESSELJ, etc.)
- Complex number operations (COMPLEX, IMABS, IMSUM, etc.)
- Bitwise operations (BITAND, BITOR, BITXOR)
- Unit conversions (CONVERT)
Financial Functions
Category constant:Category::CATEGORY_FINANCIAL
Comprehensive financial calculations:
- Present/Future value (PV, FV, NPV, XNPV)
- Payment calculations (PMT, IPMT, PPMT)
- Interest rates (RATE, IRR, XIRR, EFFECT, NOMINAL)
- Depreciation (SLN, DDB, DB, SYD)
- Securities (PRICE, YIELD, ACCRINT)
- Treasury bills (TBILLPRICE, TBILLYIELD)
Information Functions
Category constant:Category::CATEGORY_INFORMATION
Functions to test data types and handle errors:
ISBLANK(),ISERROR(),ISNA(),ISNUMBER(),ISTEXT()ISEVEN(),ISODD(),ISLOGICAL(),ISFORMULA()TYPE()- Returns data type codeN()- Convert value to numberNA()- Return #N/A errorERROR.TYPE()- Identify error type
Logical Functions
Category constant:Category::CATEGORY_LOGICAL
Logical operations and conditional logic:
IF(),IFS(),IFERROR(),IFNA()- Conditional expressionsAND(),OR(),NOT(),XOR()- Boolean logicTRUE(),FALSE()- Boolean constantsSWITCH()- Multi-case conditional
Lookup and Reference Functions
Category constant:Category::CATEGORY_LOOKUP_AND_REFERENCE
Functions for searching and referencing data:
VLOOKUP(),HLOOKUP()- Vertical/horizontal lookupINDEX(),MATCH()- Array lookup and positionLOOKUP()- Simple lookupCHOOSE()- Select from listOFFSET(),INDIRECT()- Dynamic referencesFILTER(),SORT(),UNIQUE()- Array manipulationTRANSPOSE()- Transpose arraysCOLUMN(),ROW(),COLUMNS(),ROWS()- Reference info
Math and Trigonometry Functions
Category constant:Category::CATEGORY_MATH_AND_TRIG
Extensive mathematical functions:
- Basic:
SUM(),PRODUCT(),ABS(),ROUND(),SQRT() - Aggregate:
SUMIF(),SUMIFS(),SUMPRODUCT(),SUBTOTAL() - Rounding:
CEILING(),FLOOR(),ROUND(),ROUNDUP(),ROUNDDOWN() - Trigonometry:
SIN(),COS(),TAN(),ASIN(),ACOS(),ATAN() - Advanced:
POWER(),EXP(),LN(),LOG(),LOG10() - Matrix:
MMULT(),MDETERM(),MINVERSE() - Statistical:
GCD(),LCM(),FACT(),COMBIN() - Random:
RAND(),RANDBETWEEN(),RANDARRAY()
Statistical Functions
Category constant:Category::CATEGORY_STATISTICAL
Comprehensive statistical analysis:
- Averages:
AVERAGE(),AVERAGEA(),AVERAGEIF(),AVERAGEIFS(),MEDIAN(),MODE() - Counting:
COUNT(),COUNTA(),COUNTBLANK(),COUNTIF(),COUNTIFS() - Min/Max:
MIN(),MAX(),MINA(),MAXA(),MINIFS(),MAXIFS() - Distribution:
STDEV(),STDEVP(),VAR(),VARP() - Percentiles:
PERCENTILE(),QUARTILE(),RANK() - Regression:
FORECAST(),TREND(),GROWTH(),LINEST(),LOGEST() - Correlation:
CORREL(),COVAR(),RSQ(),PEARSON() - Distributions:
NORMDIST(),BINOMDIST(),POISSON(),TDIST(),CHIDIST()
Text and Data Functions
Category constant:Category::CATEGORY_TEXT_AND_DATA
Text manipulation and formatting:
- Case conversion:
UPPER(),LOWER(),PROPER() - Extraction:
LEFT(),RIGHT(),MID(),TEXTBEFORE(),TEXTAFTER() - Search:
FIND(),SEARCH() - Manipulation:
CONCATENATE(),CONCAT(),TEXTJOIN(),REPLACE(),SUBSTITUTE() - Formatting:
TEXT(),DOLLAR(),FIXED(),VALUE() - Info:
LEN(),EXACT(),TRIM(),CLEAN() - Special:
CHAR(),CODE(),UNICHAR(),UNICODE()
Web Functions
Category constant:Category::CATEGORY_WEB
Web-related functions:
WEBSERVICE()- Retrieve data from web serviceENCODEURL()- URL-encode a string

