Getting cells by coordinate
问题 foreach ($objPHPExcel->getWorksheetIterator() as $worksheet) { foreach ($worksheet->getRowIterator() as $row) { $cellIterator = $row->getCellIterator(); $cellIterator->setIterateOnlyExistingCells(false); // I wish echo $cellIterator->getCell("A3"); // row: $row, cell: A3 } } I'm looking for a similar method which named getCell above or well-writed PHPExcel documentation. Thanks. 回答1: If you have the $row information from RowIterator, you can just easily call: $rowIndex = $row->getRowIndex ();