| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
XL.Sheet.AutoFilter.GetTop10
Gets the number of top or bottom items.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| XL | 7.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "XL.Sheet.AutoFilter.GetTop10"; BookRef; SheetIndex; FilterColumnIndex; Selector ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| BookRef | The reference number for the workbook. | $ref |
| SheetIndex | The index of the sheet. This number ranges from 0 to XL.Book.SheetCount-1. | 0 |
| FilterColumnIndex | The column index of the filter. Range from 0 to XL.Sheet.AutoFilter.ColumnSize-1. |
$FilterColumn |
| Selector | Which value to return. Can be value for number of items; top to get top items if 1 otherwise bottom items if 0; percent for using percent instead of number items. |
"Value" |
Result
Returns value or error.
Description
Gets the number of top or bottom items.See also
- XL.Book.SheetCount
- XL.Sheet.AutoFilter
- XL.Sheet.AutoFilter.ColumnSize
- XL.Sheet.AutoFilter.FilterType
- XL.Sheet.AutoFilter.GetRef
- XL.Sheet.AutoFilter.GetSort
- XL.Sheet.AutoFilter.GetSortEx
- XL.Sheet.AutoFilter.GetSortRange
- XL.Sheet.AutoFilter.SetRef
- XL.Sheet.AutoFilter.SetTop10
This function checks for a license.
Created 1st July 2017, last changed 1st July 2017
XL.Sheet.AutoFilter.GetSortRange - XL.Sheet.AutoFilter.SetCustomFilter