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

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