{"id":137618,"date":"2024-04-28T12:56:07","date_gmt":"2024-04-28T04:56:07","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/137618.html"},"modified":"2024-04-28T12:56:12","modified_gmt":"2024-04-28T04:56:12","slug":"excel%e8%a1%a8%e6%a0%bc%e6%80%8e%e4%b9%88%e8%bd%ac","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/137618.html","title":{"rendered":"excel\u8868\u683c\u600e\u4e48\u8f6c"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24133726\/3abda090-83eb-4e47-95ea-e26593aba009.webp\" alt=\"excel\u8868\u683c\u600e\u4e48\u8f6c\" \/><\/p>\n<p><p>\u5c06Excel\u8868\u683c\u8f6c\u6362\u4e3a\u5176\u4ed6\u683c\u5f0f\uff0c\u5982PDF\u3001CSV\u3001XML\u6216Word\uff0c\u53ef\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u5b8c\u6210\uff0c\u6700\u76f4\u63a5\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528Microsoft Excel\u8f6f\u4ef6\u7684&quot;\u53e6\u5b58\u4e3a&quot;\u529f\u80fd\u3001\u5229\u7528\u5728\u7ebf\u8f6c\u6362\u5668\u3001\u53ca\u4f7f\u7528\u7f16\u7a0b\u8bed\u8a00\u5982Python\u8fdb\u884c\u81ea\u52a8\u5316\u8f6c\u6362\u3002<strong>\u8fd9\u4e9b\u65b9\u6cd5\u5404\u6709\u4f18\u52a3\u3001\u9002\u7528\u573a\u666f\u4e0d\u540c\u3001\u64cd\u4f5c\u7b80\u4fbf<\/strong>\u3002\u4f8b\u5982\uff0c\u5229\u7528Microsoft Excel\u7684&quot;\u53e6\u5b58\u4e3a&quot;\u529f\u80fd\u4e0d\u4ec5\u7b80\u4fbf\u5feb\u6377\uff0c\u800c\u4e14\u80fd\u4fdd\u6301\u5927\u90e8\u5206\u683c\u5f0f\u548c\u5e03\u5c40\uff0c\u662f\u6700\u5e38\u7528\u7684\u8f6c\u6362\u65b9\u5f0f\u4e4b\u4e00\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528MICROSOFT EXCEL\u7684&quot;\u53e6\u5b58\u4e3a&quot;\u529f\u80fd<\/h3>\n<\/p>\n<p><p>Microsoft Excel\u8f6f\u4ef6\u7684&quot;\u53e6\u5b58\u4e3a&quot;\u529f\u80fd\u662f\u6700\u76f4\u63a5\u3001\u6700\u7b80\u4fbf\u7684\u8f6c\u6362\u65b9\u6cd5\u3002\u5b83\u652f\u6301\u591a\u79cd\u683c\u5f0f\u7684\u8f6c\u6362\uff0c\u5982PDF\u3001CSV\u7b49\uff0c\u4e14\u64cd\u4f5c\u975e\u5e38\u7b80\u5355\u3002\u7528\u6237\u53ea\u9700\u6253\u5f00Excel\u6587\u4ef6\uff0c\u70b9\u51fb\u6587\u4ef6\u83dc\u5355\u4e2d\u7684\u201c\u53e6\u5b58\u4e3a\u201d\uff0c\u7136\u540e\u9009\u62e9\u60f3\u8981\u8f6c\u6362\u6210\u7684\u683c\u5f0f\u5373\u53ef\u3002\u8fd9\u79cd\u65b9\u6cd5\u4e0d\u9700\u8981\u4efb\u4f55\u7b2c\u4e09\u65b9\u8f6f\u4ef6\u6216\u590d\u6742\u7684\u6b65\u9aa4\uff0c\u975e\u5e38\u9002\u5408\u65e5\u5e38\u5de5\u4f5c\u4e2d\u5feb\u901f\u8f6c\u6362\u6587\u4ef6\u683c\u5f0f\u7684\u9700\u8981\u3002<\/p>\n<\/p>\n<p><h4>\u4f7f\u7528\u6b65\u9aa4\uff1a<\/h4>\n<\/p>\n<ol>\n<li>\u6253\u5f00Excel\u8868\u683c\uff0c\u70b9\u51fb\u5de6\u4e0a\u89d2\u7684\u201c\u6587\u4ef6\u201d\u83dc\u5355\u3002<\/li>\n<li>\u9009\u62e9\u201c\u53e6\u5b58\u4e3a\u201d\uff0c\u7136\u540e\u70b9\u51fb\u201c\u6d4f\u89c8\u201d\u627e\u5230\u5b58\u50a8\u4f4d\u7f6e\u3002<\/li>\n<li>\u5728\u201c\u53e6\u5b58\u4e3a\u7c7b\u578b\u201d\u4e0b\u62c9\u83dc\u5355\u4e2d\uff0c\u9009\u62e9\u4f60\u9700\u8981\u8f6c\u6362\u7684\u6587\u4ef6\u683c\u5f0f\u3002<\/li>\n<li>\u6839\u636e\u9700\u8981\u66f4\u6539\u6587\u4ef6\u540d\u79f0\uff0c\u786e\u8ba4\u65e0\u8bef\u540e\u70b9\u51fb\u201c\u4fdd\u5b58\u201d\u3002<\/li>\n<\/ol>\n<p><p>\u6b64\u64cd\u4f5c\u5728\u4fdd\u6301\u539f\u6709\u5e03\u5c40\u7684\u540c\u65f6\uff0c\u6709\u6548\u5730\u5c06\u6570\u636e\u8f6c\u6362\u5230\u65b0\u7684\u683c\u5f0f\u4e2d\uff0c\u9002\u7528\u4e8e\u5927\u90e8\u5206\u8f6c\u6362\u9700\u6c42\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u5229\u7528\u5728\u7ebf\u8f6c\u6362\u5668<\/h3>\n<\/p>\n<p><p>\u5bf9\u4e8e\u65e0\u6cd5\u5b89\u88c5\u989d\u5916\u8f6f\u4ef6\u7684\u7528\u6237\u6765\u8bf4\uff0c<strong>\u5728\u7ebf\u8f6c\u6362\u5668\u63d0\u4f9b\u4e86\u4e00\u79cd\u65b9\u4fbf\u5feb\u6377\u7684\u8f6c\u6362\u65b9\u5f0f<\/strong>\u3002\u7f51\u7edc\u4e0a\u5b58\u5728\u8bb8\u591a\u514d\u8d39\u7684\u5728\u7ebf\u670d\u52a1\uff0c\u5b83\u4eec\u80fd\u591f\u5c06Excel\u6587\u4ef6\u8f6c\u6362\u6210\u5404\u79cd\u683c\u5f0f\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8ePDF\u3001Word\u3001CSV\u7b49\u3002\u7528\u6237\u53ea\u9700\u4e0a\u4f20Excel\u6587\u4ef6\uff0c\u9009\u62e9\u76ee\u6807\u683c\u5f0f\uff0c\u7136\u540e\u7b49\u5f85\u7f51\u7ad9\u5904\u7406\u548c\u4e0b\u8f7d\u8f6c\u6362\u540e\u7684\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><h4>\u9009\u62e9\u5728\u7ebf\u8f6c\u6362\u5668\u7684\u8981\u70b9\uff1a<\/h4>\n<\/p>\n<ul>\n<li><strong>\u5b89\u5168\u6027<\/strong>\uff1a\u9009\u62e9\u4fe1\u8a89\u597d\u3001\u63d0\u4f9b\u52a0\u5bc6\u4e0a\u4f20\u7684\u7f51\u7ad9\uff0c\u4ee5\u4fdd\u969c\u6587\u4ef6\u6570\u636e\u7684\u5b89\u5168\u3002<\/li>\n<li><strong>\u8f6c\u6362\u901f\u5ea6<\/strong>\uff1a\u90e8\u5206\u7f51\u7ad9\u53ef\u80fd\u56e0\u670d\u52a1\u5668\u6027\u80fd\u4e0d\u4f73\u800c\u8f6c\u6362\u8f83\u6162\uff0c\u7528\u6237\u9700\u6839\u636e\u9700\u6c42\u9009\u62e9\u3002<\/li>\n<li><strong>\u652f\u6301\u683c\u5f0f<\/strong>\uff1a\u786e\u4fdd\u6240\u9009\u7684\u5728\u7ebf\u670d\u52a1\u80fd\u591f\u652f\u6301\u9700\u8981\u8f6c\u6362\u6210\u7684\u76ee\u6807\u683c\u5f0f\u3002<\/li>\n<\/ul>\n<p><h3>\u4e09\u3001\u4f7f\u7528\u7f16\u7a0b\u8bed\u8a00\u8fdb\u884c\u8f6c\u6362<\/h3>\n<\/p>\n<p><p>\u5bf9\u4e8e\u6709\u4e00\u5b9a\u7f16\u7a0b\u57fa\u7840\u7684\u7528\u6237\uff0c<strong>\u901a\u8fc7\u7f16\u7a0b\u8bed\u8a00\u5982Python\u8fdb\u884cExcel\u6587\u4ef6\u7684\u8f6c\u6362\u53ef\u4ee5\u5b9e\u73b0\u66f4\u9ad8\u5ea6\u7684\u81ea\u52a8\u5316\u548c\u5b9a\u5236\u5316\u9700\u6c42<\/strong>\u3002\u4f7f\u7528Python\u7684Pandas\u5e93\u3001openpyxl\u6a21\u5757\u6216\u5176\u4ed6\u76f8\u5173\u5e93\uff0c\u53ef\u4ee5\u8f7b\u677e\u8bfb\u53d6Excel\u6587\u4ef6\uff0c\u7136\u540e\u6839\u636e\u9700\u8981\u8f6c\u6362\u4e3aCSV\u3001JSON\u3001HTML\u7b49\u683c\u5f0f\uff0c\u751a\u81f3\u53ef\u4ee5\u76f4\u63a5\u64cd\u4f5c\u6570\u636e\u540e\u518d\u8fdb\u884c\u4fdd\u5b58\u3002<\/p>\n<\/p>\n<p><h4>\u5b9e\u73b0\u6b65\u9aa4\uff1a<\/h4>\n<\/p>\n<ol>\n<li>\u5b89\u88c5Python\u53ca\u5fc5\u8981\u7684\u5e93\u5982Pandas\u3002<\/li>\n<li>\u4f7f\u7528Pandas\u8bfb\u53d6Excel\u6587\u4ef6\uff1a<code>df = pandas.read_excel(&#039;filename.xlsx&#039;)<\/code><\/li>\n<li>\u6839\u636e\u9700\u8981\u8f6c\u6362\u683c\u5f0f\uff0c\u5982\u8f6c\u6362\u4e3aCSV\uff1a<code>df.to_csv(&#039;filename.csv&#039;)<\/code><\/li>\n<\/ol>\n<p><h3>\u56db\u3001\u5b9e\u9645\u6848\u4f8b<\/h3>\n<\/p>\n<p><p>\u5728\u5546\u4e1a\u62a5\u544a\u3001\u6570\u636e\u5206\u6790\u7b49\u573a\u666f\u4e2d\uff0c\u7ecf\u5e38\u9700\u8981\u5c06Excel\u6570\u636e\u8f6c\u6362\u4e3aPDF\u6216Word\u683c\u5f0f\u4ee5\u65b9\u4fbf\u5206\u4eab\u548c\u6253\u5370\u3002<strong>\u901a\u8fc7\u4f7f\u7528Microsoft Excel\u7684\u201c\u53e6\u5b58\u4e3a\u201d\u529f\u80fd\uff0c\u53ef\u4ee5\u5feb\u901f\u5b8c\u6210\u8fd9\u4e00\u9700\u6c42\uff0c\u5e76\u4e14\u5927\u90e8\u5206\u683c\u5f0f\u548c\u5e03\u5c40\u5f97\u4ee5\u4fdd\u7559<\/strong>\u3002\u6848\u4f8b\u4e2d\uff0c\u6570\u636e\u5206\u6790\u5e08\u5728\u5b8c\u6210\u5e74\u5ea6\u9500\u552e\u62a5\u544a\u7684\u5206\u6790\u540e\uff0c\u9700\u8981\u5c06\u62a5\u544a\u8f6c\u6362\u4e3aPDF\u683c\u5f0f\u4ee5\u4fbf\u5728\u4f1a\u8bae\u4e2d\u5206\u4eab\u7ed9\u975e\u6280\u672f\u80cc\u666f\u7684\u7ba1\u7406\u5c42\u3002\u901a\u8fc7Excel\u7684\u201c\u53e6\u5b58\u4e3a\u201d\u529f\u80fd\uff0c\u4ec5\u9700\u51e0\u4e2a\u70b9\u51fb\u5c31\u5b8c\u6210\u4e86\u683c\u5f0f\u8f6c\u6362\uff0c\u6781\u5927\u5730\u63d0\u9ad8\u4e86\u5de5\u4f5c\u6548\u7387\u3002<\/p>\n<\/p>\n<p><p>\u7efc\u5408\u4e0a\u8ff0\uff0c\u4e0d\u540c\u7684\u8f6c\u6362\u9700\u6c42\u548c\u573a\u666f\u4e0b\uff0c\u53ef\u4ee5\u9009\u62e9\u6700\u5408\u9002\u7684\u65b9\u6cd5\u6765\u5c06Excel\u8868\u683c\u8f6c\u6362\u4e3a\u5176\u4ed6\u683c\u5f0f\u3002\u65e0\u8bba\u662f\u76f4\u63a5\u4f7f\u7528Excel\u7684\u5185\u7f6e\u529f\u80fd\uff0c\u8fd8\u662f\u901a\u8fc7\u5728\u7ebf\u5de5\u5177\u6216\u7f16\u7a0b\u8bed\u8a00\u6765\u5b9e\u73b0\u66f4\u9ad8\u7ea7\u7684\u8f6c\u6362\u548c\u5904\u7406\uff0c\u5173\u952e\u662f\u8981\u627e\u5230\u6700\u7b26\u5408\u4e2a\u4eba\u9700\u6c42\u3001\u6548\u7387\u6700\u9ad8\u7684\u8f6c\u6362\u8def\u5f84\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u5982\u4f55\u5c06Excel\u8868\u683c\u8f6c\u6362\u6210PDF\u6587\u4ef6\uff1f<\/strong><\/p>\n<p>\u8981\u5c06Excel\u8868\u683c\u8f6c\u6362\u4e3aPDF\u6587\u4ef6\uff0c\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u64cd\u4f5c\uff1a<\/p>\n<ul>\n<li>\u6253\u5f00Excel\u8868\u683c\uff0c\u5e76\u9009\u62e9\u4f60\u60f3\u8981\u8f6c\u6362\u6210PDF\u7684\u5de5\u4f5c\u8868\u3002<\/li>\n<li>\u70b9\u51fb\u201c\u6587\u4ef6\u201d\u9009\u9879\u5361\uff0c\u7136\u540e\u9009\u62e9\u201c\u53e6\u5b58\u4e3a\u201d\u3002<\/li>\n<li>\u5728\u201c\u6587\u4ef6\u7c7b\u578b\u201d\u4e0b\u62c9\u83dc\u5355\u4e2d\u9009\u62e9\u201cPDF (*.pdf)\u201d\uff0c\u5e76\u6307\u5b9a\u4fdd\u5b58\u7684\u6587\u4ef6\u8def\u5f84\u3002<\/li>\n<li>\u70b9\u51fb\u201c\u4fdd\u5b58\u201d\u6309\u94ae\u5373\u53ef\u5c06Excel\u8868\u683c\u8f6c\u6362\u4e3aPDF\u6587\u4ef6\u3002<\/li>\n<\/ul>\n<p><strong>2. \u600e\u6837\u5c06Excel\u8868\u683c\u8f6c\u6362\u6210Word\u6587\u6863\uff1f<\/strong><\/p>\n<p>\u8981\u5c06Excel\u8868\u683c\u8f6c\u6362\u4e3aWord\u6587\u6863\uff0c\u4f60\u53ef\u4ee5\u5c1d\u8bd5\u4ee5\u4e0b\u65b9\u6cd5\uff1a<\/p>\n<ul>\n<li>\u6253\u5f00Excel\u8868\u683c\uff0c\u5e76\u9009\u62e9\u4f60\u60f3\u8981\u8f6c\u6362\u6210Word\u6587\u6863\u7684\u5de5\u4f5c\u8868\u3002<\/li>\n<li>\u5c06\u8868\u683c\u590d\u5236\u5230\u526a\u8d34\u677f\u3002\u4f60\u53ef\u4ee5\u6309Ctrl+C\u8fdb\u884c\u590d\u5236\u64cd\u4f5c\u3002<\/li>\n<li>\u6253\u5f00Word\u6587\u6863\uff0c\u5728\u4f60\u5e0c\u671b\u63d2\u5165Excel\u8868\u683c\u7684\u4f4d\u7f6e\uff0c\u70b9\u51fb\u9f20\u6807\u53f3\u952e\uff0c\u5e76\u9009\u62e9\u201c\u4fdd\u7559\u6e90\u683c\u5f0f\u7c98\u8d34\u201d\u6216\u201c\u5408\u5e76\u7c98\u8d34\u201d\u9009\u9879\u3002<\/li>\n<li>Excel\u8868\u683c\u5c06\u88ab\u7c98\u8d34\u5230Word\u6587\u6863\u4e2d\u3002<\/li>\n<\/ul>\n<p><strong>3. \u5982\u4f55\u5c06Excel\u8868\u683c\u8f6c\u6362\u4e3a\u56fe\u7247\u683c\u5f0f\uff1f<\/strong><\/p>\n<p>\u5982\u679c\u4f60\u60f3\u5c06Excel\u8868\u683c\u8f6c\u6362\u6210\u56fe\u7247\u683c\u5f0f\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u4ee5\u4e0b\u65b9\u6cd5\uff1a<\/p>\n<ul>\n<li>\u6253\u5f00Excel\u8868\u683c\uff0c\u5e76\u9009\u62e9\u4f60\u60f3\u8981\u8f6c\u6362\u4e3a\u56fe\u7247\u7684\u5de5\u4f5c\u8868\u3002<\/li>\n<li>\u6309\u4f4fShift\u952e\uff0c\u70b9\u51fb\u9f20\u6807\u53f3\u952e\uff0c\u5728\u5f39\u51fa\u7684\u83dc\u5355\u4e2d\u9009\u62e9\u201c\u590d\u5236\u4e3a\u56fe\u7247\u201d\u9009\u9879\u3002<\/li>\n<li>\u5728\u5f39\u51fa\u7684\u5bf9\u8bdd\u6846\u4e2d\uff0c\u9009\u62e9\u4f60\u5e0c\u671b\u56fe\u7247\u7c98\u8d34\u5230\u7684\u4f4d\u7f6e\u548c\u683c\u5f0f\uff0c\u7136\u540e\u70b9\u51fb\u201c\u786e\u5b9a\u201d\u6309\u94ae\u3002<\/li>\n<li>\u7c98\u8d34\u7684\u56fe\u7247\u5c06\u4f1a\u6309\u7167\u4f60\u6307\u5b9a\u7684\u683c\u5f0f\u51fa\u73b0\u5728\u6307\u5b9a\u4f4d\u7f6e\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"\u5c06Excel\u8868\u683c\u8f6c\u6362\u4e3a\u5176\u4ed6\u683c\u5f0f\uff0c\u5982PDF\u3001CSV\u3001XML\u6216Word\uff0c\u53ef\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u5b8c\u6210\uff0c\u6700\u76f4\u63a5\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528M [&hellip;]","protected":false},"author":3,"featured_media":137625,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/137618"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=137618"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/137618\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/137625"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=137618"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=137618"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=137618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}