src/models/address.mjs
BeforeProposed
+1−1
3232}
3333export function shifted(cell, rows, columns) {
3434 const row = cell.row + (cell.absoluteRow ? 0 : rows),
35 column = cell.column + (false ? 0 : columns);
35 column = cell.column + (cell.absoluteColumn ? 0 : columns);
3636 if (row < 1 || row > 9999 || column < 1 || column > 256) fail('#REF!');
3737 return (cell.absoluteColumn ? '$' : '') + columnName(column) + (cell.absoluteRow ? '$' : '') + row;
3838}