Standard functions: Difference between revisions
From Planfix
(36 intermediate revisions by 3 users not shown) | |||
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== | |||
*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 '''&&''' -[https://planfix.com/help/AND_Function#Example_%E2%84%96_2 example] | |||
*logical OR '''||''' - example] | |||
==Functions== | ==Functions== | ||
*[[IF Function]] | *[[IF Function]] | ||
Line 16: | Line 22: | ||
*[[OR Function]] | *[[OR Function]] | ||
== | ==String functions== | ||
*[[CONTAIN Function]] | *[[CONTAIN Function]] | ||
*[[CONCATENATE Function]] | |||
*[[SUBSTITUTE Function]] | *[[SUBSTITUTE Function]] | ||
*[[LEFT Function]] | *[[LEFT Function]] | ||
*[[RIGHT Function]] | *[[RIGHT Function]] | ||
*[[LEN Function]] | |||
*[[MID Function]] | *[[MID Function]] | ||
*[[CHAR Function]] | *[[CHAR Function]] | ||
*[[FIND Function]] | *[[FIND Function]] | ||
*[[SEARCH function]] | *[[SEARCH function|SEARCH Function]] | ||
*[[MD5 Function]] | *[[MD5 Function]] | ||
*[[SHA256 Function]] | |||
*[[HMACMD5 Function]] | |||
*[[HMACSHA256 Function]] | |||
*[[ENCODEURL Function]] | *[[ENCODEURL Function]] | ||
*[[UPPER Function]] | *[[UPPER Function]] | ||
Line 32: | Line 43: | ||
*[[REGEXPFIND Function]] | *[[REGEXPFIND Function]] | ||
*[[BASE64ENCODE Function]] | *[[BASE64ENCODE Function]] | ||
*[[GUID Function]] | |||
*[[MD2HTML Function]] | |||
==Number functions== | ==Number functions== | ||
Line 40: | Line 53: | ||
*[[TEXT Function]] | *[[TEXT Function]] | ||
*[[POWER function|POWER Function]] | *[[POWER function|POWER Function]] | ||
*[[MOD function]] | *[[MOD function|MOD Function]] | ||
*[[ABS function]] | *[[ABS function|ABS Function]] | ||
*[[SQRT function]] | *[[SQRT function|SQRT Function]] | ||
*[[SIN function]] | *[[SIN function|SIN Function]] | ||
*[[COS function]] | *[[COS function|COS Function]] | ||
*[[RADIANS function]] | *[[RADIANS function|RADIANS Function]] | ||
*[[PI function]] | *[[PI function|PI Function]] | ||
*[[ASIN function]] | *[[ASIN function|ASIN Function]] | ||
*[[ACOS function]] | *[[ACOS function|ACOS Function]] | ||
*[[RAND function]] | *[[RAND function|RAND Function]] | ||
*[[RANDBETWEEN function]] | *[[RANDBETWEEN function|RANDBETWEEN Function]] | ||
==Date functions== | ==Date functions== | ||
Line 56: | Line 69: | ||
*[[CNOW Function]] | *[[CNOW Function]] | ||
*[[DATE Function]] | *[[DATE Function]] | ||
*[[DATEONLY Function]] | |||
*[[DATEDIF Function]] | |||
*[[TIME Function]] | *[[TIME Function]] | ||
*[[EDATE Function]] | *[[EDATE Function]] | ||
Line 64: | Line 79: | ||
*[[DAY Function]] | *[[DAY Function]] | ||
*[[MONTH Function]] | *[[MONTH Function]] | ||
*[[QUARTER Function]] | |||
*[[YEAR Function]] | *[[YEAR Function]] | ||
*[[HOUR Function]] | *[[HOUR Function]] | ||
*[[MINUTE Function]] | *[[MINUTE Function]] | ||
*[[SECOND Function]] | *[[SECOND Function]] | ||
*[[ | *[[ADDMINUTES Function]] | ||
*[[ADDHOURS Function]] | |||
*[[EOMONTH Function]] | |||
*[[ISWORKDAY Function]] | *[[ISWORKDAY Function]] | ||
*[[WORKDAY Function]] | *[[WORKDAY Function]] | ||
*[[NETWORKDAYS Function]] | *[[NETWORKDAYS Function]] | ||
*[[TEXT Function #Formatting dates]] | |||
== Functions for variables with a set of values == | |||
*[[UNIQUE Function]] | |||
*[[SUM Function]] | |||
*[[SUMIF Function]] | |||
*[[TEXTJOIN Function]] | |||
*[[COUNTIF Function]] | |||
== Additional == | == Additional == | ||
*[[Function Nesting]] | *[[Function Nesting]] | ||
*[[Variables in Text]] | |||
*[[Functions in document templates]] | |||
*[[Escaping quotes]] | |||
== Go To == | == Go To == | ||
*[[Reports: Formulas]] | *[[Reports: Formulas]] | ||
*[[Types of custom fields]] | *[[Types of custom fields]] |
Latest revision as of 10:37, 8 November 2024
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