PHPExcel $cell->getColumn() returns 'A', 'B', 'C', ...
which is the best way to get the integer (0, 1, 2, ...) from the cell.
This function doesn't exist.
$colIndex = $cell->getColumnIndex();
So what is the alternative withoput converting chr to ascii ?
$colIndex = PHPExcel_Cell::columnIndexFromString($cell->getColumn());
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With