Cell.BasicFormulas.Average Method (Worksheet, Cell.Range)

PicoXLSX

PicoXLSX

CellBasicFormulasAverage Method (Worksheet, CellRange)

Returns a cell with a average formula

Namespace:  PicoXLSX
Assembly:  PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)
Syntax
C#
public static Cell Average(
	Worksheet target,
	CellRange range
)

Parameters

target
Type: PicoXLSXWorksheet
Target worksheet of the average operation. Can be null if on the same worksheet
range
Type: PicoXLSXCellRange
Cell range to apply the average operation to

Return Value

Type: Cell
Prepared Cell object, ready to added to a worksheet
See Also