cellref
Convert between cell reference styles (A1
notation & R1C1
notation).
Installation
npm install --save cellref
Usage
Convert A1 to R1C1
const cellref = cellref // will return R59C73
Convert R1C1 to A1
const cellref = cellref // will return BU59
Convert automatically based on the input
const cellref = // will return BU59 // will return R59C73
If an invalid cell reference (not A1
or R1C1
notation) is passed as an argument to any of cellref functions, an Error
will be thrown.