Excel Find & Replace
Find and replace text across one sheet or an entire workbook
Excel Find & Replace — what it does
Run a find and replace across one worksheet or every worksheet in a workbook at once, with optional case sensitivity, and download the modified copy along with a count of how many replacements were made. The all-sheets scope is the point: renaming a product or a department across a twelve-tab workbook is one operation, not twelve.
Worked example
Replacing the product name Notebook with Notebook A5 across all three worksheets of sales-2026.xlsx (Orders, Returns, Summary), case-insensitive.
| Worksheet | Cells changed | Before → after |
|---|---|---|
| Orders | 3 | Notebook → Notebook A5 (orders 1001, 1003, 1005) |
| Returns | 1 | Notebook → Notebook A5 (return R-02) |
| Summary | 1 | Notebook → Notebook A5 (cell A2) |
| Replacements counter | 5 | download: sales-2026-replaced.xlsx |
Numeric cells such as order ids and the Summary totals are not searched; the formulas on Summary are left in place.
When this tool helps
- Updating a renamed product, client or department across an entire workbook.
- Correcting a systematic misspelling that an export repeated on every sheet.
- Standardising terminology — replacing several variant spellings with the agreed one, pass by pass.
How to use it
- Choose the Excel file.
- Set the scope: one worksheet or all worksheets.
- Enter the find text and the replacement, and set case sensitivity.
- Replace, check the reported count, and download the result.
Accuracy, limits, and good practice
- The replacement count is your sanity check — far more or fewer hits than expected means the pattern needs tightening before you trust the file.
- Short search strings match inside longer words; replacing 'Ltd' also hits 'Ltda' unless you include surrounding spaces.
- Replacements apply to cell text, not to formula logic — a workbook that computes values should be checked after editing.
Frequently asked questions
Is there an undo?
The original file is untouched, so the undo is simply to discard the downloaded copy and start again.
Can I replace with nothing to delete text?
Yes. Leave the replacement empty and every match is removed — the count still tells you how many deletions happened.
Does it search headers too?
Yes, header rows are cells like any other. Make the search string specific if headers must stay unchanged.
Does the counter mean cells or occurrences?
Occurrences. A cell containing the search text twice adds two to the count, so it can exceed the number of cells changed; in the example every cell held the word once, so 5 occurrences were 5 cells.
Are numbers and dates searched?
No. Only cells stored as text are examined; a numeric cell such as 1001 or a real date cell is skipped even when its displayed form contains the search text. Matching ignores case unless 'case sensitive' is ticked.
Related tools on this site
- CSV to Excel — Convert CSV data into a standard XLSX workbook
- Excel Formulas to Values — Replace formulas with their current calculated values throughout an Excel workbook
- Excel to HTML Table — Convert a selected Excel worksheet into a responsive HTML table and downloadable webpage
Further reading: Cleaning a CSV export before you import it anywhere · CSV, JSON, YAML, XML and Markdown Tables: When Each Fits and How to Convert
Everything above runs inside this page. Excel Find & Replace needs no account, no upload, and no server round trip — close the tab and nothing is left behind.
Excel 尋找與取代能做什麼
在單一工作表或整份活頁簿的所有工作表上一次執行尋找取代,可選擇區分大小寫,下載修改後的副本並回報總共取代了幾處。「全工作表」正是重點:在十二個分頁的活頁簿裡改掉一個產品或部門名稱,是一次操作,不是十二次。
實際範例
把 sales-2026.xlsx 三張工作表(Orders、Returns、Summary)裡的產品名 Notebook 全部改成 Notebook A5,不分大小寫。
| 工作表 | 改動的儲存格 | 前 → 後 |
|---|---|---|
| Orders | 3 | Notebook → Notebook A5(訂單 1001、1003、1005) |
| Returns | 1 | Notebook → Notebook A5(退貨 R-02) |
| Summary | 1 | Notebook → Notebook A5(儲存格 A2) |
| Replacements 計數 | 5 | 下載:sales-2026-replaced.xlsx |
訂單編號、Summary 合計這類數值儲存格不會被搜尋;Summary 上的公式原樣保留。
什麼時候用得上
- 把改名後的產品、客戶或部門名稱更新到整份活頁簿。
- 修正匯出時在每個分頁都重複出現的系統性拼寫錯誤。
- 統一用語——分批把多種寫法換成議定的標準寫法。
使用步驟
- 選擇 Excel 檔案。
- 設定範圍:單一工作表或全部工作表。
- 輸入要找的文字與替換文字,並設定大小寫。
- 執行取代,核對回報數量後下載結果。
精確度、限制與實務建議
- 取代數量是你的合理性檢查——命中數遠多或遠少於預期時,先收緊條件再相信結果檔。
- 短字串會命中長字內部;取代「Ltd」也會打到「Ltda」,必要時把前後空格納入條件。
- 取代作用於儲存格文字、不改公式邏輯——有計算的活頁簿改完請驗算。
常見問題
有復原功能嗎?
原始檔完全未動,復原就是丟掉下載的副本重來。
替換欄留空可以刪除文字嗎?
可以。替換文字留空即移除所有命中處,回報數量照樣告訴你刪了幾處。
標題列也會被搜尋嗎?
會,標題列與一般儲存格無異。若標題必須保持不變,請把搜尋字串寫得更精確。
計數算的是儲存格還是比對到的次數?
是次數。一格裡含兩次搜尋文字就算 2,所以計數可能大於改動的格數;範例裡每格只含一次,5 次就是 5 格。
數字和日期也會被搜尋嗎?
不會。只有以文字儲存的格子會被比對,像 1001 這種數值格或真正的日期格,即使顯示文字含有搜尋字串也會被跳過。預設不分大小寫,勾選「區分大小寫」才會逐字比對。
本站相關工具
- CSV 轉 Excel — 將 CSV 資料轉換為標準 XLSX 活頁簿
- Excel 公式轉數值 — 將 Excel 活頁簿中的公式替換為目前計算結果
- Excel 轉 HTML 表格 — 將指定 Excel 工作表轉為響應式 HTML 表格與可下載網頁
延伸閱讀: 匯入之前先把 CSV 匯出檔清乾淨 · CSV、JSON、YAML、XML 與 Markdown 表格:各自適用的場合與轉換方法
以上步驟全部在這個頁面內完成,Excel 尋找與取代 不需要註冊、不上傳檔案、也不經過伺服器,關閉分頁後不會留下任何資料。