python操作Excel的库openpyxl

http://openpyxl.readthedocs.io/en/default/tutorial.html

这里先上该库的文档镇文。

1,遇到合并后的单元格信息读取的问题,通过使用cell中offset函数定位到上面单元格,直至有值为止。

2,通过遍历所有sheet中的所有行进行搜索匹配找到相应的行。

原文地址:https://www.cnblogs.com/lirunzhou/p/7687509.html