Microsoft Excel: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
== 不同試算表方案的工作表或儲存格的大小限制 ==
* {{Gd}} EXCEL 2007, EXCEL 2013:
** (約100萬列) 1,048,576 列 * 16,384 欄 = 17,179,869,184 個儲存格<ref>[http://office.microsoft.com/zh-tw/excel-help/HP010073849.aspx Excel 的規格及限制] 工作表大小</ref><ref>[http://office.microsoft.com/en-us/excel-help/excel-specifications-and-limits-HA103980614.aspx Excel specifications and limits - Excel]</ref>
* [http://www.libreoffice.org/ LibreOffice]([http://portableapps.com/apps/office/libreoffice_portable/ LibreOffice Portable]) Calc 3.3.3版以後 (目前版本 4.3):
** (約100萬列) 1,048,576 列 * 1,024 欄 = 1,073,741,824 個儲存格<ref>[http://ask.libreoffice.org/en/question/8631/upper-limit-to-number-of-rows-in-calc/ upper limit to number of rows in Calc - Ask LibreOffice]</ref><ref>[http://www.libreoffice.org/get-help/documentation/ Documentation » LibreOffice] - [https://wiki.documentfoundation.org/images/b/b7/CG34-CalcGuideLO.pdf Calc Guide 3.4 (spreadsheets)]</ref> {{exclaim}} When I save the CSV as XLS format, I met the 65,536 rows limit & 256 column limit on linux LibreOffice 3.4.5 {{Linux}} /v. 4.2.3.3 {{Win}}
* [http://www.openoffice.org/ Apache OpenOffice] 3.x Calc:
** (約60萬列) 65,536 列 * 1,024 欄 = 67,108,864 個儲存格<ref>[http://wiki.openoffice.org/wiki/Documentation/FAQ/Calc/Miscellaneous/What's_the_maximum_number_of_rows_and_cells_for_a_spreadsheet_file%3F What's the maximum number of rows and cells for a spreadsheet file? - Apache OpenOffice Wiki]</ref>
* EXCEL 2003: 工作表大小
** (約60萬列) 65,536 列 * 256 欄 = 16,777,216 個儲存格<ref>[http://office.microsoft.com/zh-tw/excel-help/HP005199291.aspx Excel 的規格及限制 - Excel - Office.com]</ref>
* Google spreadsheet:
** 約 1000列。 所有工作表共 40 萬個儲存格。如果只使用一個工作表,使用256 欄,則列數限制為 1,562 列<ref>[https://support.google.com/drive/answer/37603?hl=zh-Hant Google 文件、試算表和簡報的檔案大小限制 - 雲端硬碟說明]</ref>
* Office 365: [http://office.microsoft.com/zh-tw/excel-help/HA102837464.aspx 資料模型的規格與限制 - Excel - Office.com] 適用: Excel 2013, Power BI for Office 365 Preview, Power Pivot in Excel 2013


== Export MySQL query to Excel file ==
== Export MySQL query to Excel file ==
Line 70: Line 57:
* 邏輯值 {{kbd | key =TRUE}}、{{kbd | key =FALSE}}、字串、數值、錯誤代碼 {{kbd | key =<nowiki>#NAME?</nowiki>}} 等資料,會被列入計算加 1
* 邏輯值 {{kbd | key =TRUE}}、{{kbd | key =FALSE}}、字串、數值、錯誤代碼 {{kbd | key =<nowiki>#NAME?</nowiki>}} 等資料,會被列入計算加 1
* {{kbd | key =<nowiki>IF</nowiki>}} 回傳的空值,也會被列入計算加 1 {{exclaim}} version: Excel 2013
* {{kbd | key =<nowiki>IF</nowiki>}} 回傳的空值,也會被列入計算加 1 {{exclaim}} version: Excel 2013
== 不同試算表方案的工作表或儲存格的大小限制 ==
* {{Gd}} EXCEL 2007, EXCEL 2013:
** (約100萬列) 1,048,576 列 * 16,384 欄 = 17,179,869,184 個儲存格<ref>[http://office.microsoft.com/zh-tw/excel-help/HP010073849.aspx Excel 的規格及限制] 工作表大小</ref><ref>[http://office.microsoft.com/en-us/excel-help/excel-specifications-and-limits-HA103980614.aspx Excel specifications and limits - Excel]</ref>
* [http://www.libreoffice.org/ LibreOffice]([http://portableapps.com/apps/office/libreoffice_portable/ LibreOffice Portable]) Calc 3.3.3版以後 (目前版本 4.3):
** (約100萬列) 1,048,576 列 * 1,024 欄 = 1,073,741,824 個儲存格<ref>[http://ask.libreoffice.org/en/question/8631/upper-limit-to-number-of-rows-in-calc/ upper limit to number of rows in Calc - Ask LibreOffice]</ref><ref>[http://www.libreoffice.org/get-help/documentation/ Documentation » LibreOffice] - [https://wiki.documentfoundation.org/images/b/b7/CG34-CalcGuideLO.pdf Calc Guide 3.4 (spreadsheets)]</ref> {{exclaim}} When I save the CSV as XLS format, I met the 65,536 rows limit & 256 column limit on linux LibreOffice 3.4.5 {{Linux}} /v. 4.2.3.3 {{Win}}
* [http://www.openoffice.org/ Apache OpenOffice] 3.x Calc:
** (約60萬列) 65,536 列 * 1,024 欄 = 67,108,864 個儲存格<ref>[http://wiki.openoffice.org/wiki/Documentation/FAQ/Calc/Miscellaneous/What's_the_maximum_number_of_rows_and_cells_for_a_spreadsheet_file%3F What's the maximum number of rows and cells for a spreadsheet file? - Apache OpenOffice Wiki]</ref>
* EXCEL 2003: 工作表大小
** (約60萬列) 65,536 列 * 256 欄 = 16,777,216 個儲存格<ref>[http://office.microsoft.com/zh-tw/excel-help/HP005199291.aspx Excel 的規格及限制 - Excel - Office.com]</ref>
* Google spreadsheet:
** 約 1000列。 所有工作表共 40 萬個儲存格。如果只使用一個工作表,使用256 欄,則列數限制為 1,562 列<ref>[https://support.google.com/drive/answer/37603?hl=zh-Hant Google 文件、試算表和簡報的檔案大小限制 - 雲端硬碟說明]</ref>
* Office 365: [http://office.microsoft.com/zh-tw/excel-help/HA102837464.aspx 資料模型的規格與限制 - Excel - Office.com] 適用: Excel 2013, Power BI for Office 365 Preview, Power Pivot in Excel 2013





Revision as of 11:09, 7 August 2015

Export MySQL query to Excel file

EXCEL limit:

  • (1) "Total number of characters that a cell can contain: 32,767 characters" Using MySQL SUBSTRING() function ex: SUBSTRING(string_column, 1, 32767) for EXCEL 97[1]-2007[2] unverified
  • (2) "Worksheet size: 1,048,576 rows": Using LIMIT for EXCEL 2007

相關文章


Export CSV from EXCEL

建議使用 LibreOffice Calc (LibreOffice Portable) 開啟 Excel 檔案,匯出 UTF-8 編碼的 CSV 檔案

  • 雖然 Excel 本身也有提供匯出 「Unicode 文字 (*.txt)」,但是因為無法設定使用雙引號框住欄位值。會造後續匯入檔案容易出問題。
  • Excel 本身提供匯出「CSV (逗號分隔) (*.csv)」是 Big5/ANSI 編碼,遇到 Unicode 文字會變成問號。

Import CSV to EXCEL

Copy & Paste

線上編輯

  • Microsoft Excel --> Google Spreadsheet:
    • columns & rows: Copy & Paste is ok
  • Plain text --> Google Spreadsheet: ok
    • columns: Tab separated columns --> Google Spreadsheet: ok
    • rows: Enter separated rows --> Google Spreadsheet: ok
  • Plain text --> Microsoft Excel: ok
    • columns: Tab separated columns --> Microsoft Excel: ok
    • rows: Enter separated rows --> Microsoft Excel: ok
  • Microsoft Excel --> Table of Google Document:
    • columns & rows: Copy & Paste is ok
  • Plain text --> Table of Google Document: fail Icon_exclaim.gif Suggest you copy to Microsoft Excel first and then copy paste to Google Document from Microsoft Excel.
    • columns: Tab separated columns --> Table of Google Document: fail
    • rows: Enter separated rows --> Table of Google Document: fail
  • Plain text --> Microsoft Excel: ok
    • columns: Tab separated columns --> Microsoft Excel: ok
    • rows: Enter separated rows --> Microsoft Excel: ok
  • How-to Create and Copy a Table in Google Mail (Gmail) from Excel - YouTube

Google spreadsheet

利用Google spreadsheet的函式,分析及統計可複選的問卷題目結果。


Excel 「樞紐分析表(Pivot Tables)」

區塊「Σ 值」的「計數 - 欄位名稱」(該欄位的項目個數),除非是沒有填入任何資料的「空值」,否則都會被計算加 1。包含

  • 邏輯值 TRUEFALSE、字串、數值、錯誤代碼 #NAME? 等資料,會被列入計算加 1
  • IF 回傳的空值,也會被列入計算加 1 Icon_exclaim.gif version: Excel 2013


不同試算表方案的工作表或儲存格的大小限制

  • Good.gif EXCEL 2007, EXCEL 2013:
    • (約100萬列) 1,048,576 列 * 16,384 欄 = 17,179,869,184 個儲存格[3][4]
  • LibreOffice(LibreOffice Portable) Calc 3.3.3版以後 (目前版本 4.3):
    • (約100萬列) 1,048,576 列 * 1,024 欄 = 1,073,741,824 個儲存格[5][6] Icon_exclaim.gif When I save the CSV as XLS format, I met the 65,536 rows limit & 256 column limit on linux LibreOffice 3.4.5 Linux Os linux.png /v. 4.2.3.3 Win Os windows.png
  • Apache OpenOffice 3.x Calc:
    • (約60萬列) 65,536 列 * 1,024 欄 = 67,108,864 個儲存格[7]
  • EXCEL 2003: 工作表大小
    • (約60萬列) 65,536 列 * 256 欄 = 16,777,216 個儲存格[8]
  • Google spreadsheet:
    • 約 1000列。 所有工作表共 40 萬個儲存格。如果只使用一個工作表,使用256 欄,則列數限制為 1,562 列[9]
  • Office 365: 資料模型的規格與限制 - Excel - Office.com 適用: Excel 2013, Power BI for Office 365 Preview, Power Pivot in Excel 2013


references