Skip to content

a1ToRowColumnOrNull

a1ToRowColumnOrNull(a1Address): null | [number, number]

Convert an A1 cell address into zero-based row and column indices, if possible. Like a1ToRowColumn but returns null instead of throwing an error, if a1Address is not an A1 cell address.

string

a cell address in A1 format

null | [number, number]

zero-based row and column indices, or null if a1Address is not a cell address in A1 format.