/// <summary> /// Given a cell, parses the specified cell to get the zero based column index. /// </summary> /// <param name="cell">Cell with reference (ie. C8)</param> /// <returns>Column index (ie. 2)</returns> public static int GetColumnIndex(this CellType cell) { var number = cell.GetColumnNumber(); return(number - 1); }