NanoXLSX Library Documentation
![]() | CellBasicFormulasAverage Method (Worksheet, CellRange) |
Returns a cell with a average formula
Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 1.2.3.0 (1.2.3)

C#
public static Cell Average( Worksheet target, CellRange range )
Parameters
- target
- Type: NanoXLSXWorksheet
Target worksheet of the average operation. Can be null if on the same worksheet - range
- Type: NanoXLSXCellRange
Cell range to apply the average operation to
Return Value
Type: CellPrepared Cell object, ready to be added to a worksheet
