Skip to content

Cell

type Cell = {
f?: string | null;
F?: string | null;
href?: string;
id: string;
M?: string | null;
s?: number;
v: CellValue;
};

Represents a cell in a worksheet.

  • The id property is a string identifier for the cell, typically in A1 notation (e.g., “A1”, “B2”).
  • The v property holds the value of the cell, which can be string, number, boolean, null, or a formula error.
  • The optional f property contains the formula associated with the cell, if any.
  • The optional F property can hold additional formula-related information, such as an array formula range.
  • The optional href property is used to store a hyperlink associated with the cell.
  • The optional M property indicates if the cell is part of a merged range and contains the anchor cell’s ID.
  • The optional s property references the style index applied to the cell.
PropertyType
f?string | null
F?string | null
href?string
idstring
M?string | null
s?number
vCellValue