Convert between cell reference styles (A1
notation & R1C1
notation).
npm install --save cellref
var cellref = require('cellref')
cellref.toR1C1('BU59') // will return R59C73
var cellref = require('cellref')
cellref.toA1('R59C73') // will return BU59
var cellref = require('cellref')
cellref('R59C73') // will return BU59
cellref('BU59') // will return R59C73
If an invalid cell reference (not A1
or R1C1
notation) is passed as an argument to any of the methods, an Error
will be thrown.