<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>空白儲存格 &#8211; 記下來</title>
	<atom:link href="https://noter.tw/tag/%E7%A9%BA%E7%99%BD%E5%84%B2%E5%AD%98%E6%A0%BC/feed/" rel="self" type="application/rss+xml" />
	<link>https://noter.tw</link>
	<description>一路上踩到的坑、遇到的問題，一點一滴記下來，希望能幫助到需要的人~</description>
	<lastBuildDate>Sun, 04 Jun 2023 13:06:43 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.3</generator>

<image>
	<url>https://noter.tw/wp-content/uploads/cropped-old-1130742_1920-1-32x32.jpg</url>
	<title>空白儲存格 &#8211; 記下來</title>
	<link>https://noter.tw</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>分拆 Excel 成多個檔案 ( Split A Excel to Files)</title>
		<link>https://noter.tw/9061/split-a-excel-to-files/</link>
					<comments>https://noter.tw/9061/split-a-excel-to-files/#respond</comments>
		
		<dc:creator><![CDATA[黃小蛙]]></dc:creator>
		<pubDate>Wed, 04 Aug 2021 12:38:26 +0000</pubDate>
				<category><![CDATA[技巧分享]]></category>
		<category><![CDATA[刪除多餘空白]]></category>
		<category><![CDATA[空白儲存格]]></category>
		<category><![CDATA[快速到末列]]></category>
		<category><![CDATA[excel 快捷鍵]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[刪除空白行]]></category>
		<category><![CDATA[刪除空白列]]></category>
		<category><![CDATA[excel 分拆]]></category>
		<category><![CDATA[資料筆數]]></category>
		<category><![CDATA[excel 切分]]></category>
		<category><![CDATA[Split A Excel to Files]]></category>
		<category><![CDATA[excel 另存檔案]]></category>
		<category><![CDATA[excel肥大]]></category>
		<category><![CDATA[excel拆分檔案]]></category>
		<category><![CDATA[excel減肥]]></category>
		<category><![CDATA[excel 分檔]]></category>
		<guid isPermaLink="false">https://noter.tw/?p=9061</guid>

					<description><![CDATA[<p>相信現在如果要整理一大堆資料，大部份的人都會使用 Excel 來做吧！如果沒有 Microsoft Excel，也會使用類似的試算表工具，如前面提到過幫 Google 表單收資料的 Google 試算&#46;&#46;&#46;</p>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/9061/split-a-excel-to-files/" data-wpel-link="internal">分拆 Excel 成多個檔案 ( Split A Excel to Files)</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></description>
										<content:encoded><![CDATA[
<p>相信現在如果要整理一大堆資料，大部份的人都會使用 Excel 來做吧！如果沒有 Microsoft Excel，也會使用類似的試算表工具，如<a href="https://noter.tw/8604/google-formranger/" target="_blank" rel="noreferrer noopener" data-wpel-link="internal">前面</a>提到過幫 Google 表單收資料的 Google 試算表 ( Sheets )，Excel 可以完成的工作比小蛙想像的還要多，這篇記錄怎麼把一個很大的 Excel 內的資料，分拆到許多個別小檔案 ( Split A Excel to Files )！</p>



<span id="more-9061"></span>



<p>小蛙這邊常常需要處理非常龐大的 Excel 資料，有時候要把資料另存成比較小的子集合，都要手動複製需要的資料，再存到另一個 Excel，上網找了一下發現這篇文章 <a href="https://support.nationbuilder.com/en/articles/2309128-how-to-split-a-csv-or-excel-file" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external" class="wpel-icon-right">How to split a CSV or Excel file<span class="wpel-icon wpel-image wpel-icon-6"></span></a> 提供了很棒的工具！甚至連巨集的程式碼都放上去讓人使用（其實之前是看到另一篇文章提供增益集，但小蛙測試之後沒有反應），這篇文章要介紹這工具怎麼使用！</p>



<script type="application/ld+json">{"@context":"http:\/\/schema.org","@type":"VideoObject","name":"快速分拆 Excel | 超巨大 Excel 也不怕 | 使用巨集輕鬆把 Excel 拆分成多個檔案 | 電腦疑難雜症 | Split a Excel file | 電腦疑難雜症 Ep4 | 記下來","description":"小蛙今天收到一個需求要把 #超大 #Excel 分拆成多檔案\n找了一陣子發現 Jay Godfrey 的文章超清楚\n試了一下真的簡單又快速\n把他做影片留給有需要的朋友～\n\n補充連結：\n1. How to split a CSV or Excel file\nhttps:\/\/s.noter.tw\/-quj3n\n\n===記下來播放清單===\n1. iRent | GoShare | 自助 | 共享 | 記下來\nhttps:\/\/s.noter.tw\/mfx72\n2. 教學 | 分享 | 記錄 | 記下來\nhttps:\/\/s.noter.tw\/rixhv\n3. 投資 | 金融 | 股票 | 好康回饋 | 記下來\nhttps:\/\/s.noter.tw\/gcvl6\n4. 開箱 | 實測 | 東玩西玩 | 記下來\nhttps:\/\/s.noter.tw\/kkw08\n5. Mac 技巧 | 教學 | 記下來\nhttps:\/\/s.noter.tw\/aykwf\n6. 海水缸 | 養魚 | 水族 | 記下來\nhttps:\/\/s.noter.tw\/kkrnm\n\n===製作工具===\nFinal Cut Pro X\n\n===多媒體來源===\n1. 阿咕\n2. Icons made by Freepik from Flaticon\nhttps:\/\/www.freepik.com\nhttps:\/\/www.flaticon.com","thumbnailUrl":"https:\/\/i.ytimg.com\/vi\/T-7WNrelSRk\/maxresdefault.jpg","uploadDate":"2021-08-03T15:15:17Z","duration":"PT1M20S","embedUrl":"https:\/\/www.youtube.com\/watch?v=T-7WNrelSRk"}</script>


<div class="wp-block-image no-lightbox">
<figure class="aligncenter size-large is-resized"><a href="https://www.youtube.com/watch?v=4bzQZpfZ264&amp;list=PL1o1M_rBW-353dggzroc54hx4Edw2_ICa&amp;index=92" target="_blank" rel="noopener nofollow external noreferrer" data-wpel-link="external"><img fetchpriority="high" decoding="async" src="https://img.youtube.com/vi/T-7WNrelSRk/maxresdefault.jpg" alt="Excel 拆分檔案教學" width="640" height="360" title="分拆 Excel 成多個檔案 ( Split A Excel to Files)"></a><figcaption class="wp-element-caption">(點圖開啟 YouTube)</figcaption></figure></div>


<h2 class="wp-block-heading para">下載巨集</h2>



<p>進入文章後於中間部份找到 Click Here 可以下載巨集</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" src="https://lh3.googleusercontent.com/pw/AM-JKLWsEfV5xO6ySQwaIGEiG0oa35FAzcZL_ewIpZAFgSQsVTKAnYAlOjfCwyJJlfziuLS-1ELveYPLG8gbaAPHdqGUxD3Z8IXAhnm1BaqzILExbA4aFT51IOpUw7y4_-fnlsZLe_FsO1EzlsUksZFO5gV1qw=w839-h459-no?authuser=2" alt="How to split a CSV or Excel file 1" title="分拆 Excel 成多個檔案 ( Split A Excel to Files)"></figure></div>


<p>作者也非常好心，把完整巨集的程式碼放在最下面並把教學分享給大家 (可直接到 <a href="https://support.nationbuilder.com/en/articles/2309128-how-to-split-a-csv-or-excel-file" target="_blank" rel="noreferrer noopener nofollow external" data-wpel-link="external" class="wpel-icon-right">How to split a CSV or Excel file<span class="wpel-icon wpel-image wpel-icon-6"></span></a> 去看)，小蛙直接用作者提供的巨集檔來測試。</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" src="https://lh3.googleusercontent.com/pw/AM-JKLX_JN1dlciPggoTx4od_mumaxvHE-8vGVvivXoG1l_iOnpXixNZOGzJz6kloyHOdtAejODUk8-QhkVDHC04PMfvMUQdndAOSDBt29xVFG-jq7zQShY0g9S9s6aGkgRVA2VM_nNCRKlAY4Lab9cHM28DvQ=w832-h365-no?authuser=2" alt="How to split a CSV or Excel file 2" title="分拆 Excel 成多個檔案 ( Split A Excel to Files)"></figure></div>


<h2 class="wp-block-heading para">使用巨集</h2>



<p class="withcode">解壓縮後得到 <code>ExcelFileSplitter.xl</code>sm 點擊滑鼠左鍵兩下執行，第一個黃色框框 (C6) 要填入的是表頭數，第二個黃色框框 (C9) 則是要切成幾個 Excel 檔案，執行完成後最下面會出現過程及處理狀況</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" src="https://lh3.googleusercontent.com/pw/AM-JKLWcPjekC6IL_5_H_rY3habrEfTsswFgV4KB1VZZU7T0XVbtlOCyiMozSi2sbjiaaE3kIB1ezEF9m6VZO1Q-LAjInaC1ee1s6LfuIfK6K-p491joCuWdbjph_ouQABSLHUrGY2JJFJ9jr9_Ilsry_Fj6HQ=w1113-h632-no?authuser=2" alt="How to split a CSV or Excel file 3" title="分拆 Excel 成多個檔案 ( Split A Excel to Files)"></figure></div>


<p>接著開啟要進行分拆的資料，小蛙隨便抓了台新銀行的據點位置資訊，最上面那行就是表頭，因此 C6 填入 1</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" src="https://lh3.googleusercontent.com/pw/AM-JKLWXzZ25WdAtwZCTfK37NcAjGrDniX_qht7fxRMfYnlCrcAvEs_latPwIHY4KWjTZmNP-KHY_HWhphrQwIq8QEppbr5QlQcnyc5wMAFMB5LrVhrdPzyrA0LGsWUOZ-7kh4QFCILeBnIxs_bjHbBOEBwQog=w931-h501-no?authuser=2" alt="How to split a CSV or Excel file 4" title="分拆 Excel 成多個檔案 ( Split A Excel to Files)"></figure></div>


<p class="withcode">確定輸入的資料正確後，按下 <code>Ctrl + Shift + S</code> 進行分拆，完成後下方顯示執行狀況</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" src="https://lh3.googleusercontent.com/pw/AM-JKLXiWMI-IEi4Yd71MTl73dVFQRaU-G5FjLXXNS9Qje7WqBFriGaJVHxZgaxIqhPZfbIG4__QdUw5zXc8YWOLnOau9OvwcUPfnV70fJyEiooSk-L43msldmYrKWRSh8T9t456kyjvoPMMUg7MF-cy7XwgSA=w1122-h688-no?authuser=2" alt="How to split a CSV or Excel file 5" title="分拆 Excel 成多個檔案 ( Split A Excel to Files)"></figure></div>


<p>這樣就完成了！是不是超簡單呢？小蛙也分拆過約二十萬筆資料的 Excel，也是短短十來秒時間內就完成，真的是超強大的！</p>



<h2 class="wp-block-heading para">清理 Excel</h2>



<p>另外同場加映，小蛙第一次用的時候發現資料筆數明明是 21 筆，巨集中卻顯示 144 筆，原因是很多情況下對於 Excel 格式做了變動，或是原本有資料但後來被刪掉了，這些情況都有可能讓 Excel 繼續花費空間去儲存資訊，因此如果遇到這種狀況，可以先把空白儲存格的部份刪除。</p>



<p class="withcode">首先如果資料量很大，可以透過 <code>Ctrl + ↓</code> 移動到最末筆資料</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" src="https://lh3.googleusercontent.com/pw/AM-JKLWhFwXalCNdtnORHb9OFYB87-4fpGuD8YARCnxRMbi0BYdZAdfemgZT0yMO1mSaknZRDegQ-_UuMJa0C6hx-73iAZtrCzB6MYKAmVDKzwyDX76hZABsYaNNOFZ1zOZrXPmNa__c8hnq5rT8s6FM6nM9BA=w1087-h534-no?authuser=2" alt="clean excel 1" title="分拆 Excel 成多個檔案 ( Split A Excel to Files)"></figure></div>


<p>選擇最末筆下面的空白 Row</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" src="https://lh3.googleusercontent.com/pw/AM-JKLXIdKe-2Ropu4vw8-VbSpZUiqc63sRIxx4ddIMLlljVmBEnUiw7t7r0WEVogeDArRBnrr0xqc2AXddLNmvQ_fvI_gG7dC8LA1mEKHJ6wf3Hxkv2xWeA0OXBsXKPp3uMdRIS3Mc0KO2SC19-w5p01yqM9A=w1014-h538-no?authuser=2" alt="clean excel 2" title="分拆 Excel 成多個檔案 ( Split A Excel to Files)"></figure></div>


<p class="withcode">按下 <code>Ctrl + Shift + ↓</code>  即可全選最末行以後所有 Rows，再按滑鼠右鍵刪除它們就行了</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" src="https://lh3.googleusercontent.com/pw/AM-JKLUiu94qMW8SH8VxnJL2Zcf8eiMdbBnt9A7NWz-X03Pczji4i3z_DU8XMPHSwS_mere-H8pq5DiYF74k009amAylrVL0_2t5TnGs7x_kpgMHg1eDSu9O4gmhBrhbSi5x9_zXGTCDML5-BbFP7BGZ-En-jQ=w972-h805-no?authuser=2" alt="clean excel 3" title="分拆 Excel 成多個檔案 ( Split A Excel to Files)"></figure></div>


<p>有時肥大但資料量不多的 Excel，使用上面這招就能輕鬆減肥！文章有幫上忙的話，歡迎分享給身邊有需要的朋友喔～！</p>



<p><strong>Excel 相關文章：</strong></p>



<ul class="my-li bg-darkblue wp-block-list"><li><a href="https://noter.tw/9117/excel-filter-and-validation/" data-wpel-link="internal">加入篩選器及下拉選單 (資料驗證)</a></li><li><a href="https://noter.tw/9063/excel-auto-search-and-fill-data-by-vlookup-index-match/" data-wpel-link="internal">搜尋表格 填入資料 強大的 VLOOKUP, INDEX, MATCH</a></li><li><a href="https://noter.tw/9061/split-a-excel-to-files/" data-wpel-link="internal">分拆 Excel 成多個檔案 ( Split A Excel to Files)</a></li><li><a href="https://noter.tw/6550/excel-%e4%bd%bf%e7%94%a8-poi-%e8%ae%80%e5%8f%96%e6%96%87%e5%ad%97%e6%a0%bc%e5%bc%8f%e6%97%a5%e6%9c%9f%e5%8d%bb%e8%ae%8a%e6%88%90%e6%95%b8%e5%ad%97%e7%9a%84%e5%95%8f%e9%a1%8c/" data-wpel-link="internal">Excel 使用 POI 讀取文字格式日期卻變成數字的問題</a></li><li><a href="https://noter.tw/4300/java-%e8%ae%80%e5%8f%96-excel-%e6%96%87%e4%bb%b6xls-xlsx-%e4%bd%bf%e7%94%a8-apache-poi/" data-wpel-link="internal">Java 讀取 Excel 文件(xls, xlsx) – 使用 Apache POI</a></li><li><a href="https://noter.tw/2711/oracle-%e5%8c%af%e5%85%a5%e5%8c%af%e5%87%ba-excel-%e9%80%8f%e9%81%8e-sql-developer/" data-wpel-link="internal">Oracle 匯入/匯出 Excel (透過 SQL Developer)</a></li><li><a href="https://noter.tw/1732/jsp%e5%b0%87%e8%b3%87%e6%96%99%e5%8c%af%e5%87%ba%e6%88%90excel%e7%9b%b4%e6%8e%a5%e4%b8%8b%e8%bc%89-by-jexcelapi-jxl/" data-wpel-link="internal">JSP將資料匯出成Excel直接下載 by JExcelApi (jxl)</a></li><li><a href="https://noter.tw/1569/java-excel-jxl/" data-wpel-link="internal">Java + Excel = JXL</a></li><li><a href="https://noter.tw/119/ncr-%e8%99%95%e7%90%86%e6%96%b9%e5%bc%8f%ef%bc%9ajava-vba/" data-wpel-link="internal">NCR &amp;#xxxxx; 處理方式：Java &amp; VBA</a></li></ul>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/9061/split-a-excel-to-files/" data-wpel-link="internal">分拆 Excel 成多個檔案 ( Split A Excel to Files)</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://noter.tw/9061/split-a-excel-to-files/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
