# Math functions

Math functions help you perform numerical calculations, statistical analysis, rounding operations, and financial computations in reports. These functions can be used to aggregate values, apply mathematical operations, generate random numbers, and evaluate statistical distributions.

In Plan, math functions help you create calculations for scenarios such as variance analysis, percentage calculations, forecasting, rounding, and financial modeling.

### In this category

<table><thead><tr><th width="216">Function</th><th width="522">Description</th><th data-hidden>SYNTAX</th><th data-hidden>EXAMPLE</th><th data-hidden>EXPLANATION</th></tr></thead><tbody><tr><td><a href="/pages/UsCxpkfhBIeCpvlqnWNx">ABS</a></td><td>Returns the absolute value of a number without its sign.</td><td>ABS(value)</td><td>ABS(COLUMN1)</td><td>Returns the absolute value of COLUMN1</td></tr><tr><td><a href="/pages/JBoRRVj5qT9rdqIsWmtw">AVERAGE</a></td><td>Returns the average of the specified values.</td><td>Average(value1,[value2]....)</td><td>AVERAGE(COLUMN1, COLUMN2)</td><td>Returns the average of COLUMN1, COLUMN1</td></tr><tr><td><a href="/pages/NEn6c0ucJMJS3HRphoBE">AVERAGEEXNEG</a></td><td>Returns the average of values excluding negative numbers.</td><td>AverageExNeg(value1,[value2]....)</td><td></td><td></td></tr><tr><td><a href="/pages/BadHKyTHhL5Jow3IfqDe">AVERAGEEXZERO</a></td><td>Returns the average of values excluding zeros.</td><td>AverageExZero(value1,[value2]....)</td><td></td><td></td></tr><tr><td><a href="/pages/3272xD4VM7ZllCoffQFK">AVERAGEEXZERONEG</a></td><td>Returns the average of values excluding zeros and negative numbers.</td><td>AverageExZeroNeg(value1,[value2]....)</td><td></td><td></td></tr><tr><td><a href="/pages/vEPEvcXwCO46Tdsva8MD">CEILING</a></td><td>Rounds a number up to the nearest integer or specified multiple.</td><td>CEILING(value, significance)</td><td>CEILING(COLUMN1)</td><td>Returns the ceiling of COLUMN1 to the significance of two decimal</td></tr><tr><td><a href="/pages/Yz1XlakVaVicTypHYc3w">COUNT</a></td><td>Returns the count of values in a list.</td><td>COUNT (value1,value2....)</td><td>COUNT(Column1,Column2,Column3)</td><td>Returns the count of the number of items in a range</td></tr><tr><td><a href="/pages/iECGUFe2ReeJVSry1GSt">COUNTIF</a></td><td>Returns the count of values that satisfy a specified condition.</td><td>Count(list, condition)</td><td>COUNTIF([100,500,120],"&#x3C;200") COUNTIF([[Quantity],[Units Sold]],BLANK)</td><td>Returns 2, since only two value in the given list matches the condition Returns 1,2 or 0 depending on how many blank values are in Quantity, Units Sold in each row. This value can be used to set conditional formatting or used with IF condition to fill value in another column</td></tr><tr><td><a href="/pages/qxOMGC31bXZW9HrCyx8q">DIVIDE</a></td><td>Returns the result of dividing one value by another.</td><td>DIVIDE(Numerator, Denominator, Alternate)</td><td>DIVIDE(COLUMN1, COLUMN2, 0)</td><td>Returns COLUMN1/COLUMN2 and if any error, returns 0</td></tr><tr><td><a href="/pages/QKvQ7PxOJVtutBvts03M">EVEN</a></td><td>Rounds a number up to the nearest even integer.</td><td></td><td></td><td></td></tr><tr><td><a href="/pages/emWtv4FFTn04pXfhw6DX">EXP</a></td><td>Returns <em>e</em> raised to the power of a specified number.</td><td>EXP(value)</td><td>EXP(COLUMN1)</td><td>Returns the exponential of COLUMN1</td></tr><tr><td><a href="/pages/m0JQYMdN9r3n5IyAT1dD">FLOOR</a></td><td>Rounds a number down to the nearest specified multiple.</td><td>FLOOR(value, significance)</td><td>FLOOR(COLUMN1)</td><td>Returns the floor of COLUMN1 to the significance of two decimal</td></tr><tr><td><a href="/pages/WqBOIHuaEwVDQqdaauFH">INDEXOF</a></td><td>Returns the index of the first occurrence of a value in a list.</td><td></td><td></td><td></td></tr><tr><td><a href="/pages/Wr4yqb6iXLHD5zRNRU0l">LOG</a></td><td>Returns the logarithm of a number to a specified base.</td><td>LOG(value,base)</td><td>LOG(COLUMN1, 10)</td><td>Returns the Log to the base 10 of COLUMN1</td></tr><tr><td><a href="/pages/3EFiglugR1swOi2FSGHR">MAX</a></td><td>Returns the largest value in a list.</td><td>Max(value1,[value2]....)</td><td>MAX(COLUMN1,COLUMN2,COLUMN3)</td><td>Returns the maximum of COLUMN1, COLUMN2, COLUMN3</td></tr><tr><td><a href="/pages/vhKySa8nxw1HsxzSYfAT">MIN</a></td><td>Returns the smallest value in a list.</td><td>Min(value1,[value2]....)</td><td>MIN(COLUMN1,COLUMN2,COLUMN3)</td><td>Returns the minimum of COLUMN1, COLUMN2, COLUMN3</td></tr><tr><td><a href="/pages/87iRaaIkgF8zQ1bb5dcK">MROUND</a></td><td>Rounds a number to the nearest multiple of a specified value.</td><td></td><td></td><td></td></tr><tr><td><a href="/pages/Ov6akxp3E3xp2zyLaokJ">NORMDIST</a></td><td>Returns the normal distribution for a specified value, mean, and standard deviation.</td><td></td><td></td><td></td></tr><tr><td><a href="/pages/e69eroaS9rah9TYwkTLX">NORMSDIST</a></td><td>Returns the standard normal distribution for a specified value, with a mean of <em>0</em> and a standard deviation of <em>1</em>.</td><td></td><td></td><td></td></tr><tr><td><a href="/pages/EQ7G30lh3LkvvvQNiqnM">NORMINV</a></td><td>Returns the inverse normal distribution for a specified value, mean, and standard deviation.</td><td></td><td></td><td></td></tr><tr><td><a href="/pages/GZixiRkZPBoUhB4ujtw2">NORMSINV</a></td><td>Returns the inverse standard normal distribution for a specified value, with a mean of <em>0</em> and a standard deviation of <em>1</em>.</td><td></td><td></td><td></td></tr><tr><td><a href="/pages/gF0dt7epJsFddE5eH4uz">ODD</a></td><td>Rounds a number up to the nearest odd integer.</td><td></td><td></td><td></td></tr><tr><td><a href="/pages/iDlNEDwAUxgvBKZX0Q1Y">POWER</a></td><td>Returns the result of a number raised to a specified power.</td><td>POW(value,power)</td><td>POW(COLUMN1, 2)</td><td>Returns the COLUMN1 to the power of 2</td></tr><tr><td><a href="/pages/SrnWvW6IO4XBQDo9cWYW">RAND</a></td><td>Returns a random number between 0 and 1.</td><td>RAND()</td><td>RAND(0,1)</td><td>Returns a random number like 0.1,0.2,..</td></tr><tr><td><a href="/pages/cCH0BNIPvuujCbjgWaYU">RANDBETWEEN</a></td><td>Returns a random number between two specified values.</td><td>RANDBETWEEN(value1,value2)</td><td>RANDBETWEEN(0,100)</td><td>Returns a random number between 0 and 100</td></tr><tr><td><a href="/pages/9IftHeKRBsT66Cdtbbi0">ROUND</a></td><td>Rounds a number to the specified number of decimal places.</td><td>ROUND(value, significance)</td><td>ROUND(COLUMN1, 2)</td><td>Returns the round of COLUMN1 to the significance of two decimal</td></tr><tr><td><a href="/pages/6qKbTEJh9m1uiEax06En">ROUNDDOWN</a></td><td>Rounds a number down toward zero.</td><td></td><td></td><td></td></tr><tr><td><a href="/pages/PFEret02HvsFgOhVWdem">ROUNDUP</a></td><td>Rounds a number up away from zero.</td><td></td><td></td><td></td></tr><tr><td><a href="/pages/9NMOWKVDC2stURMGJTeq">SQRT</a></td><td>Returns the square root of a number.</td><td>SQRT(value)</td><td>SQRT(COLUMN1)</td><td>Returns the exponential of COLUMN1</td></tr><tr><td><a href="/pages/9fSeuxMzFkSvivzRB75w">SUM</a></td><td>Returns the sum of the specified values.</td><td>Sum(value1,[value2]....)</td><td>SUM(COLUMN1, COLUMN2)</td><td>Returns the sum of COLUMN1 and COLUMN2</td></tr><tr><td><a href="/pages/OoXC4lVcrncPNsiqQrVC">PCT</a></td><td>Returns the percentage value for a calculation.</td><td>PCT(value:number)</td><td>SALES + PCT(10) = SALES + 10%</td><td>Returns percentage value</td></tr></tbody></table>

## Finance Function

<table><thead><tr><th width="273"></th><th></th></tr></thead><tbody><tr><td><a href="/pages/TdwoA2okNhO3dwU5u9zh">PMT</a></td><td>Calculates the payment amount for a loan based on constant payments and interest rate.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fabricplan.com/planning-sheets/formula-syntax/math-functions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
