Want to simultaneously delete specified text or numbers from multiple Excel files by converting the deletion operation into find and replace with empty. This article combines before-and-after processing effects and software interface to explain how to use HeSoft Doc Batch Tool to batch import Excel files, set cell text range, exact search method, and keyword list, quickly delete content such as Mandatory, 46060, suitable for report cleaning, data masking, and batch organization scenarios.
In data organization tasks, batch searching and deleting specified text in Excel files is a high-frequency need. For example, system-exported tables may contain fixed English words, multiple reports might include a certain outdated number, or some internal identifiers need to be removed before sharing. If you open Excel files one by one to process them, it is not only time-consuming but also repetitive at every step: open the file, find the content, delete it, save, close, and then move on to the next file.
A more efficient way is to use the batch processing capabilities of office software, letting the tools handle these repetitive actions. HeSoft Doc Batch Tool provides a "Find and Replace Keywords in Excel" feature, allowing you to process multiple Excel workbooks at once. This article uses deleting "Mandatory" and "46060" as examples to explain how to batch replace specified text and numbers with empty content, achieving batch deletion of Excel keywords.
Application Scenarios: Report Cleanup, Number Deletion, and Batch Desensitization
This method is suitable for all cleanup tasks with clear target content. For instance, if certain xlsx files repeatedly contain the same status text that needs to be removed before external distribution; a region code or classification code that shouldn't appear in the final version needs to be cleared from multiple files; Excel templates submitted by different departments contain uniform placeholder words that need to be removed in batch.
Compared to manual processing file by file, batch processing offers two advantages. First, consistent rules. As long as the keyword list is set up correctly, all imported files are processed following the same logic. Second, higher efficiency. The more files there are, the more obvious the time savings. For office workers who frequently handle Excel, xlsx, and xls files, such tools can reduce a lot of repetitive labor.
It should be emphasized that the method in this article does not delete entire worksheets or entire rows containing the keywords, but rather removes the specified keyword content from the cells. After processing, the table structure and unmatched data are preserved, making it more suitable for office scenarios that require maintaining the original table format.
Result Preview: Before Processing, Specified Text and Numbers Are Still in the Table
In the pre-processing Excel screenshot, column A has multiple cells showing "Mandatory," and column D has multiple cells showing "46060." These are the target contents to be batch deleted this time. Since this content appears in different columns, manually processing them across multiple files would require frequent use of the find function and individual confirmation.

For large tables, what is visible on the screen is only part of the data. Keywords might appear in later rows or across multiple worksheets. Batch find-and-replace can reduce the possibility of manual oversight, making it particularly suitable for processing structurally identical, high-volume Excel files.
Result Preview: After Processing, Keyword Positions Become Blank
The post-processing screenshot shows that the content originally needing removal has disappeared from the corresponding cells. The positions originally showing "Mandatory" in column A are now empty, and the positions originally showing "46060" in column D no longer display that number. Other unmatched data, such as hospital names, region names, and other numbers, are kept intact.

This result indicates that batch deleting keywords can perform targeted content cleanup without destroying the entire table. This is very important for reports where the original row-and-column relationships need to be maintained.
Operation Steps: Batch Deleting Specified Text and Numbers in Excel Files
Step 1: Select the Find and Replace Feature in Excel Tools
After opening HeSoft Doc Batch Tool , enter "Excel Tools" from the left navigation. In the feature cards, select "Find and Replace Keywords in Excel". This function is for batch finding and replacing keywords in Excel file content, so it can be used for both replacing text and deleting text. The way to delete is to leave the replacement content empty.

The expected outcome of this step is to enter the batch find-and-replace task page. After entering the correct function, subsequent steps will follow the process of file selection, processing options, save location, and starting the task.
Step 2: Add or Import Excel Files from a Folder
In step 1, "Select records to be processed," on the task page, clicking "Add Files" allows you to select single or multiple Excel files; clicking "Import Files from Folder" allows you to batch import files from the same folder. In the example, 3 xlsx files have been imported, with the list showing file names, paths, extensions, and time information.

The purpose of this step is to determine which files will be batch processed. After import, please carefully verify the file list, especially the paths and file names. If files not intended for processing are imported by mistake, the subsequent rules will also apply to them. Once the file list is confirmed correct, click "Next" to enter the options settings.
Step 3: Check "Cell Text" in the Processing Scope
After arriving at step 2, "Set processing options," first check "Set Excel Options". In the example, "Cell Text" is checked under "Processing scope". This means the target of this find-and-replace operation is the content within the worksheet cells. Since what we want to delete are "Mandatory" and "46060" displayed in table cells, this scope should be selected.

The interface also shows options like worksheet names and shape text, but the example's focus is cell text. In actual use, it's recommended to follow the principle of least scope: only check the objects that truly need processing to avoid unnecessary modifications by expanding the processing scope.
Step 4: Set Data Types and Formula-Related Options
Looking further down, you can set "Cell formula types to process" and "Cell data types to process". In the example, the cell data type chosen is "Text". For English words, Chinese words, text-based numbers, and similar content, this is a common selection.
If the table contains formula cells, the interface provides settings for how to handle formula cells, such as processing by the formula's calculated value or by the formula expression text. This article's example mainly focuses on cleaning up plain text cells. For uncertain files, it is advisable to first test on a copied sample to confirm that formula results aren't affected before batch processing.
Step 5: Use Exact Find and Fill in the Keyword List
In the "Set Keyword Options" area, set the find method to "Exact Text Find". Exact find is more suitable for deleting fixed content. For instance, if you only want to delete the complete word "Mandatory," you wouldn't want to accidentally delete other content containing similar characters; if you only want to delete the number 46060, you wouldn't want to affect other numbers or descriptive text.
Then, enter the text and number to be deleted in the "Keyword list to find". In the example, two lines are entered: the first line is Mandatory, the second line is 46060. Multiple keywords should be filled line by line, making it easier for the batch processing tool to match them item by item.
Step 6: Leave the Replacement Keyword List Empty to Achieve Deletion
The "Replacement keyword list" on the right is used to set the replacement result. To replace an old word with a new one, fill in the new content on the right; to delete, leave it empty. In the example, the replacement list on the right has no content, indicating that after finding "Mandatory" and "46060," they should be directly cleared.
This is one of the most easily overlooked steps in the entire operation. Batch deletion does not involve starting a separate, complex process but is accomplished through the empty replacement result of the find-and-replace function. After configuration, click "Next".
Step 7: Set the Save Location and Start Processing
The progress bar shows that subsequent steps are "Set save location" and "Start processing". It is recommended to save the processing results to a new directory to easily distinguish them from the original files. Especially for operations like batch deleting keywords, keeping the original files allows for a quick rollback if the results do not meet expectations.
After setting the save location, proceed to the start processing step to execute the task. Once processing is complete, open the output file and focus on checking the areas where the original keywords were. If "Mandatory" and "46060" have been cleared and other content shows no anomalies, the batch deletion was successful.
Common Issues and Precautions
1. Can numeric codes be deleted as keywords?
Yes, but note that codes might be number or text types in Excel. In the example, 46060 was processed as a text keyword. In actual use, if no matches are found, check the cell format or data type settings, and test using a sample file.
2. Will an entire row containing the keyword be deleted?
No. This article's method clears the matched keyword content, not the entire row. After processing, the original row and column positions remain, and other cell content continues to be preserved.
3. How to check the results of processing multiple files?
It's advisable to first spot-check a smaller batch of files to confirm the rules are correct before processing all files. After processing, you can open a few representative output files and use Excel's find function to search for the original keywords, verifying if any uncleaned content still exists.
4. Does the keyword list need a one-to-one correspondence with the replacement content?
If replacing with a new word, you typically need to provide the corresponding content on the right; if deleting, the replacement keyword list can simply be left empty. The screenshot also shows that the right side has no content, which aligns with the deletion goal.
5. Why is it recommended to back up the original Excel files first?
The scope of impact for batch operations is large. Once a rule is set incorrectly, multiple files can be affected. Saving to a new folder and retaining the original files is the most prudent office habit.
Summary: Turn Repetitive Find-and-Delete into a Single Batch Task
The key to batch searching and deleting specified text and numbers in Excel files lies in converting the deletion action into "finding keywords and replacing them with empty content." HeSoft Doc Batch Tool , as a batch processing software aimed at office efficiency, can help users import multiple xlsx or xls files at once, uniformly set a keyword list and processing scope, thus reducing time spent on repeated opening, finding, and saving.
If you are processing a large number of Excel reports and need to delete fixed text, numbers, status words, or internal marks, it is recommended to follow the process in this article: first prepare a keyword list, then import files, set cell text and exact find, leave the replacement content empty, and output to a new directory. This can both improve efficiency and make the batch cleanup process more controllable and easier to review.