Skip to content
Sheetwrite

@sheetwrite/core

SelectionSummaryinterface

Report a problem

On this page

Totals over the selected cells the user can see, like Excel's status bar. Rows a filter hides are left out. Overlapping ranges count once per range, as in Excel.

Members

Properties

readonly count: number;

read-only

Cells that hold any value, including text and errors.

readonly numericCount: number;

read-only

Cells that hold a number (dates are numbers too).

readonly sum: number;

read-only

readonly average: number | null;

read-only

Mean of the numeric cells; null when there are none.

readonly min: number | null;

read-only

readonly max: number | null;

read-only

Declaration

View full TypeScript declaration
export interface SelectionSummary {
readonly count: number;
readonly numericCount: number;
readonly sum: number;
readonly average: number | null;
readonly min: number | null;
readonly max: number | null;
}

Referenced by

Public exports naming SelectionSummary

  • Grid@sheetwrite/core
  • Grid@sheetwrite/react
  • Grid@sheetwrite/svelte
  • Grid@sheetwrite/vue