Cell newCell = Context.getsmlObjectFactory().createCell();
newRow.getC().add(newCell);
newCell.setParent(newRow);
CellReference newRef = new CellReference(templateRange.getSheet(), templateRange.getFirstColumn(), templateRange.getFirstRow());
newRef.move(newRow.getR().intValue(), newRef.getColumn());
if (bandData.getOrientation() == BandOrientation.VERTICAL) {
newRef.shift(0, previousRangesRightOffset);
}