我测试过,如果使用vlookup在自我表单中搜索“= vlookup(h2,A2:B2000,2,False)”,并从其他表格“= SupplierList!A2”和“= vlookup(SupplierList!H3,A2:B2000,2,False)“也很好。无效的单元格坐标phpExcel
那么为什么只有“= vlookup(h3,SupplierList!A2:B2000,2,False)”会出错?
--------------------------- ERROR MESSAGE ----------------- --------------
Fatal error: Uncaught exception 'Exception' with message 'PO!G2 -> Invalid cell coordinate A' in C:\Program Files\EasyPHP-5.3.6.0\www\ExcelImporter\Classes\PHPExcel\Cell.php:288 Stack trace: #0 C:\Program Files\EasyPHP-5.3.6.0\www\ExcelImporter\Classes\PHPExcel\Cell.php(204): PHPExcel_Cell->getCalculatedValue() #1 C:\Program Files\EasyPHP-5.3.6.0\www\ExcelImporter\Documentation\Examples\index.php(36): PHPExcel_Cell->getFormattedValue() #2 {main} thrown in C:\Program Files\EasyPHP-5.3.6.0\www\ExcelImporter\Classes\PHPExcel\Cell.php on line 288
---------------------------出错信息-------------------------------
所述细胞与式这样 **=IF(ISERROR(VLOOKUP(H2349,'Supplier List'!A:B,2,FALSE)),"-",VLOOKUP(H2349,'Supplier List'!A:B,2,FALSE))**
那么消息表明,在计算树中的某处有一个对单元“PO!G2”的引用,其中包含需要计算的公式......所以,单元格的值是什么“PO!G2 “? – 2012-04-16 06:43:06