Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions docs/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,14 @@ Check the example in our [snippet tool](https://snippet.dhtmlx.com/wux2b35b).
<td><b>AVERAGEA</b><br>added in v4.3</td>
<td>Calculates the average (arithmetic mean) of the values in the list of arguments. <br>Arguments can be the following: numbers; names, arrays, or references that contain numbers; text representations of numbers; or logical values, such as TRUE and FALSE, in a reference.<br>Empty cells and text values in the array or reference are ignored.</td>
</tr>
<tr>
<td><b>AVERAGEIF</b><br>added in v6.0</td>
<td>Returns the average (arithmetic mean) of all cells in a range that meet a given condition. <br>Takes two required arguments (the range to evaluate and the criterion) and one optional argument (the range of cells to average, if different from the evaluated range).</td>
</tr>
<tr>
<td><b>AVERAGEIFS</b><br>added in v6.0</td>
<td>Returns the average (arithmetic mean) of all cells that meet multiple conditions. <br>Takes a required average range followed by one or more pairs of condition range and criterion arguments.</td>
</tr>
<tr>
<td><b>BASE</b></td>
<td>Converts a number into the supplied base (radix). <br>The number should be an integer and greater than or equal to 0 and less than 2^53.<br>The base radix is what we want to convert the number into. It must be an integer from 2 to 36, inclusive.</td>
Expand Down Expand Up @@ -831,6 +839,14 @@ Check the example in our [snippet tool](https://snippet.dhtmlx.com/wux2b35b).
<td><b>COUNTBLANK</b></td>
<td>Returns the number of empty cells from a specified range. <br>Cells with zero values are not counted.</td>
</tr>
<tr>
<td><b>COUNTIF</b><br>added in v6.0</td>
<td>Counts the number of cells within a range that meet the given condition. <br>Takes two arguments: the range of cells to evaluate and the criterion that defines which cells to count.</td>
</tr>
<tr>
<td><b>COUNTIFS</b><br>added in v6.0</td>
<td>Counts the number of cells that meet multiple conditions. <br>Takes one or more pairs of range and criterion arguments; only cells that satisfy all conditions are counted.</td>
</tr>
<tr>
<td><b>DECIMAL</b></td>
<td>Converts a text representation of a number in a given base (radix) into a decimal number.<br>The base radix must be an integer from 2 to 36, inclusive.</td>
Expand Down Expand Up @@ -903,10 +919,18 @@ Check the example in our [snippet tool](https://snippet.dhtmlx.com/wux2b35b).
<td><b>MAX</b></td>
<td>Returns the largest value in a set of values. <br>The function ignores empty cells, the logical values TRUE and FALSE, and text values. If the arguments contain no numbers, MAX returns 0 (zero).</td>
</tr>
<tr>
<td><b>MAXIFS</b><br>added in v6.0</td>
<td>Returns the maximum value among cells specified by a given set of conditions. <br>Takes a required max range followed by one or more pairs of condition range and criterion arguments.</td>
</tr>
<tr>
<td><b>MIN</b></td>
<td>Returns the smallest number in a set of values. <br>Empty cells, logical values, or text in the array or reference are ignored. If the arguments contain no numbers, MIN returns 0 (zero).</td>
</tr>
<tr>
<td><b>MINIFS</b><br>added in v6.0</td>
<td>Returns the minimum value among cells specified by a given set of conditions. <br>Takes a required min range followed by one or more pairs of condition range and criterion arguments.</td>
</tr>
<tr>
<td><b>MINUS</b></td>
<td>Returns the difference of two numbers.</td>
Expand Down Expand Up @@ -1036,6 +1060,14 @@ Only numbers in the array or reference are multiplied. Empty cells, logical valu
<td><b>SUM</b></td>
<td>Returns the sum of supplied values. <br>Empty cells, logical values like TRUE, or text are ignored.</td>
</tr>
<tr>
<td><b>SUMIF</b><br>added in v6.0</td>
<td>Adds the cells in a range that meet a specified condition. <br>Takes two required arguments (the range to evaluate and the criterion) and one optional argument (the range of cells to sum, if different from the evaluated range).</td>
</tr>
<tr>
<td><b>SUMIFS</b><br>added in v6.0</td>
<td>Adds the cells in a range that meet multiple conditions. <br>Takes a required sum range followed by one or more pairs of condition range and criterion arguments; only cells that satisfy all conditions are included in the sum.</td>
</tr>
<tr>
<td><b>SUMPRODUCT</b></td>
<td>Multiplies range of cells or arrays and returns the sum of products. <br>For valid products only numbers are multiplied. <br>Empty cells, logical values, and text are ignored. <br>Treats array entries that are not numeric as if they were zeros.</td>
Expand Down
2 changes: 1 addition & 1 deletion docs/react/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The React Spreadsheet wrapper is available with the DHTMLX Spreadsheet **Commerc
The React wrapper provides access to the full feature set of DHTMLX Spreadsheet:

- Multi-sheet spreadsheets with sheet tabs (add, remove, rename)
- Cell values, formulas (85+ built-in functions), and number formatting
- Cell values, formulas (90+ built-in functions), and number formatting
- Cell styling, merged cells, frozen panes, data validation
- Sorting, filtering, and search
- Row/column operations (add, delete, hide/show, resize, auto-fit)
Expand Down
2 changes: 1 addition & 1 deletion docs/whats_new.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The new release introduces significant changes in the Spreadsheet API: there is
- The ability to adjust the font size of cell content:
- a built-in toolbar control
- the ability to provide custom font size in the toolbar control
- `COUNTIF` and `SUMIF` functions are added into the formulas engine
- New conditional aggregate functions are added into the formulas engine: `COUNTIF`, `COUNTIFS`, `SUMIF`, `SUMIFS`, `AVERAGEIF`, `AVERAGEIFS`, `MAXIFS`, `MINIFS`
- The `awaitRedraw()` helper is added for Spreadsheet to detect the rendering process and perform the desired code after the component finishes its rendering

### Fixes
Expand Down