Standard functions: Difference between revisions
From Planfix
No edit summary |
|||
Line 1: | Line 1: | ||
Planfix supports standard operations for formulas in [[Reports: Formulas | reports]] and [[Calculated fields | calculated fields]]. At the moment, you can use the following operations and functions in formulas: | Planfix supports standard operations for formulas in [[Reports: Formulas | reports]] and [[Calculated fields | calculated fields]]. At the moment, you can use the following operations and functions in formulas: | ||
==Standard operations== | ==Standard operations== | ||
*addition '''+''' | *addition '''+''' | ||
Line 16: | Line 15: | ||
*logical AND '''&&''' -[https://planfix.com/help/AND_Function#Example_%E2%84%96_2 example] | *logical AND '''&&''' -[https://planfix.com/help/AND_Function#Example_%E2%84%96_2 example] | ||
*logical OR '''||''' - example] | *logical OR '''||''' - example] | ||
==Functions== | ==Functions== | ||
*[[IF Function]] | *[[IF Function]] | ||
*[[AND Function]] | *[[AND Function]] | ||
*[[OR Function]] | *[[OR Function]] | ||
==String functions== | ==String functions== | ||
*[[CONTAIN Function]] | *[[CONTAIN Function]] | ||
Line 45: | Line 42: | ||
*[[GUID Function]] | *[[GUID Function]] | ||
*[[MD2HTML Function]] | *[[MD2HTML Function]] | ||
==Number functions== | ==Number functions== | ||
*[[ROUND Function]] | *[[ROUND Function]] | ||
Line 64: | Line 60: | ||
*[[RAND function|RAND Function]] | *[[RAND function|RAND Function]] | ||
*[[RANDBETWEEN function|RANDBETWEEN Function]] | *[[RANDBETWEEN function|RANDBETWEEN Function]] | ||
==Date functions== | ==Date functions== | ||
*[[NOW Function]] | *[[NOW Function]] | ||
Line 91: | Line 86: | ||
*[[NETWORKDAYS Function]] | *[[NETWORKDAYS Function]] | ||
*[[TEXT Function #Formatting dates]] | *[[TEXT Function #Formatting dates]] | ||
== Functions for variables with a set of values == | == Functions for variables with a set of values == | ||
*[[UNIQUE Function]] | *[[UNIQUE Function]] | ||
Line 99: | Line 93: | ||
*[[COUNTIF Function]] | *[[COUNTIF Function]] | ||
*[[JSONARRAY Function]] | *[[JSONARRAY Function]] | ||
== Functions available in document templates == | |||
== Additional == | == Additional == | ||
*[[Function Nesting]] | *[[Function Nesting]] | ||
Line 105: | Line 99: | ||
*[[Functions in document templates]] | *[[Functions in document templates]] | ||
*[[Escaping quotes]] | *[[Escaping quotes]] | ||
== Go To == | == Go To == | ||
*[[Reports: Formulas]] | *[[Reports: Formulas]] | ||
*[[Types of custom fields]] | *[[Types of custom fields]] |
Revision as of 15:04, 21 March 2025
Planfix supports standard operations for formulas in reports and calculated fields. At the moment, you can use the following operations and functions in formulas:
Standard operations
- addition +
- subtraction -
- multiplication *
- division /
- parentheses ()
- greater than >
- less than <
- equals =
- greater than or equal to >=
- less than or equal to <=
- not equal to !=
- raise to the power ^
- logical AND && -example
- logical OR || - example]
Functions
String functions
- CONTAIN Function
- CONCATENATE Function
- SUBSTITUTE Function
- LEFT Function
- RIGHT Function
- LEN Function
- MID Function
- CHAR Function
- FIND Function
- SEARCH Function
- MD5 Function
- SHA256 Function
- HMACMD5 Function
- HMACSHA256 Function
- ENCODEURL Function
- UPPER Function
- LOWER Function
- PROPER Function
- REGEXPFIND Function
- BASE64ENCODE Function
- GUID Function
- MD2HTML Function
Number functions
- ROUND Function
- MROUND Function
- ROUNDUP Function
- ROUNDDOWN Function
- TEXT Function
- POWER Function
- MOD Function
- ABS Function
- SQRT Function
- SIN Function
- COS Function
- RADIANS Function
- PI Function
- ASIN Function
- ACOS Function
- RAND Function
- RANDBETWEEN Function
Date functions
- NOW Function
- CNOW Function
- DATE Function
- DATEONLY Function
- DATEDIF Function
- TIME Function
- EDATE Function
- DATEVALUE Function
- TIMEVALUE Function
- WEEKDAY Function
- WEEKNUM Function
- DAY Function
- MONTH Function
- QUARTER Function
- YEAR Function
- HOUR Function
- MINUTE Function
- SECOND Function
- ADDMINUTES Function
- ADDHOURS Function
- EOMONTH Function
- ISWORKDAY Function
- WORKDAY Function
- NETWORKDAYS Function
- TEXT Function #Formatting dates
Functions for variables with a set of values
Functions available in document templates
Additional