3 Easy Ways to Filter Cells with Strikethrough in Excel
Strikethrough formatting in Excel can be useful for marking completed tasks or highlighting specific data. However, filtering cells with strikethrough isn’t as straightforward as filtering by text or numbers.
Fortunately, there are three effective methods to achieve this: using VBA (Visual Basic for Applications), employing Find & Replace, or utilizing the Kutools Add-in.
In this comprehensive guide, we will explain all three approaches step-by-step to help you filter strikethrough cells efficiently and confidently.
Method 1: Using VBA to Filter Strikethrough Cells
If you’re comfortable using VBA, this is a powerful and automated method to filter cells with strikethrough formatting. By creating a User Defined Function (UDF), you can identify which cells have strikethrough applied and then filter them accordingly.
Step 1: Open the VBA Editor
- Press ALT + F11 to open the Visual Basic for Applications editor.
- In the editor, click Insert > Module to create a new module.
Step 2: Add the VBA Code
Copy and paste the following code into the module window:
Function CheckStrikethrough(rng As Range) As Boolean
CheckStrikethrough = rng.Font.Strikethrough
End Function
This function checks whether the text in the specified range has the strikethrough format applied. It returns TRUE for cells with strikethrough and FALSE for others.
Step 3: Use the Function in Excel
- Close the VBA editor and return to your Excel worksheet by pressing ALT + Q.
- In a new column (e.g., Column B), enter the formula:
=CheckStrikethrough(A2)
ReplaceA2
with the reference to the first cell in your dataset. - Drag the fill handle down to apply the formula to all rows. This will return TRUE for cells with strikethrough formatting and FALSE for others.
Step 4: Filter the Results
- Select your dataset along with the new helper column.
- Go to the Data tab and click Filter.
- Use the dropdown in the helper column to filter rows where the value is TRUE. This will display only the cells with strikethrough formatting.
Example of Using VBA to filter cells with Strikethrough
Original Data | Strikethrough Check |
---|---|
Task 1 | TRUE |
Task 2 | FALSE |
Task 3 | TRUE |
Task 4 | FALSE |
By applying the filter, you can isolate and manage the rows that contain strikethrough formatting, making it easier to review or modify your data.
Method 2: Using Find & Replace to Filter Strikethrough Cells
If you’re not familiar with VBA or prefer a manual approach, you can use Excel’s Find & Replace feature. This method temporarily highlights strikethrough cells, allowing you to filter them by color.
Step 1: Select Your Data Range
- Highlight the range of cells where you want to check for strikethrough formatting.
- If your data includes multiple columns, ensure the selection covers all relevant cells to avoid missing any strikethrough entries.
Step 2: Open Find & Replace
- Press CTRL + F to open the Find and Replace dialog box.
- Click Options to expand the dialog.
- Click the Format… button and navigate to the Font tab.
- Check the box for Strikethrough and click OK.
Step 3: Find All Strikethrough Cells
- Click Find All to display all cells with strikethrough formatting.
- Press CTRL + A to select all found cells.
- Close the dialog box.
Step 4: Highlight the Selected Cells
With the selected cells still selected, apply a fill color (e.g., blue) from the Home tab to mark them visually. This step makes it easier to identify and filter the cells later.
Step 5: Filter by Color
- Click on any cell in your dataset and go to the Data tab.
- Click Filter to enable filtering.
- Use the filter dropdown on your column header and choose Filter by Color to display only the cells with the fill color applied.
Example of Using Find & Replace Method
Original Data | Highlight Color |
---|---|
Task 1 | Blue |
Task 2 | |
Task 3 | Blue |
Task 4 |
By filtering by color, you can quickly isolate cells with strikethrough formatting and perform further actions as needed.
Method 3: Using Kutools Add-In to Filter Strikethrough Cells
Kutools for Excel is a powerful third-party add-in that simplifies complex tasks in Excel, including filtering cells with strikethrough formatting. This method is perfect for users who want a straightforward solution without using VBA or manual processes.
Prerequisites: Make sure you have Kutools for Excel installed. You can download it from the official website if you don’t have it already.
Steps:
- Open your Excel worksheet and locate the column containing the cells with strikethrough that you want to filter.
- Select the entire column by clicking on the column header (e.g., A, B, C).
- Access the Kutools Filter Strikethrough utility:
- Go to the Kutools Plus tab in the Excel ribbon.
- In the Special Filter group, click on Filter Strikethrough.
- Confirmation:
- A dialog box will pop up, indicating the number of cells found with strikethrough.
- Click OK to confirm and proceed with the filtering.
- View the filtered results:
- Excel will now display only the rows containing cells with strikethrough in the selected column. All other rows will be hidden.
Additional Tips:
- You can clear the filter and show all rows again by clicking the Filter icon in the Data tab and selecting Clear.
- Kutools also offers other special filters, such as filtering by font color, background color, or bold/italic formatting. You can explore these options in the Kutools Plus > Special Filter menu.
Example of Using Kutools to Filter Strikethrough Cells
Original Data | Highlighted Cells |
---|---|
Task 1 | Highlighted |
Task 2 | |
Task 3 | Highlighted |
Task 4 |
By using Kutools, you can simplify the process and save time, especially when working with large datasets.
Comparison of Methods to Filter by Strikethrough in Excel
Feature | VBA Method | Find & Replace Method | Kutools Add-In Method |
---|---|---|---|
Ease of Use | Requires VBA knowledge | Easy for beginners | Extremely user-friendly |
Automation | Dynamic and reusable | Manual process | Fully automated |
Customization | Highly customizable | Limited to basic filtering | Versatile and flexible |
Execution Time | Faster for large datasets | Slower for large datasets | Fastest for any dataset size |
Suitable For | Frequent and automated tasks | One-time or occasional tasks | Both frequent and occasional tasks |
When to Use Each Method
- Use VBA if you frequently work with strikethrough formatting and need an automated, repeatable solution.
- Use Find & Replace if you’re working on a one-time task or prefer not to use VBA. This method is straightforward and accessible for all users.
- Use Kutools if you want a fast, hassle-free solution with minimal manual effort, especially for large or complex datasets.
Key Tips for Managing Strikethrough Data
- Backup Your Data: Before applying any changes, ensure your data is backed up to avoid accidental loss or formatting errors.
- Combine with Conditional Formatting: Use conditional formatting to highlight or manage strikethrough cells dynamically. This can be especially helpful for large datasets.
- Organize Your Workflow: Clearly label helper columns or filtered results to avoid confusion during analysis or reporting.
- Review Your Results: After filtering, double-check the highlighted cells or filtered rows to ensure no data is missed or incorrectly categorized.
Whether you prefer the automated VBA approach, the manual Find & Replace method, or the comprehensive Kutools solution, all three options provide reliable solutions for working with strikethrough data.
FAQs
What is the easiest way to filter cells with strikethrough formatting in Excel?
The easiest way is to use the Find & Replace method, which allows you to locate cells with strikethrough formatting and apply a color for filtering. Alternatively, the Kutools Add-In provides an even simpler, automated solution.
Can I filter cells with strikethrough without using VBA?
Yes, you can use Excel’s Find & Replace feature to locate cells with strikethrough formatting and then filter them by color. Additionally, third-party tools like Kutools for Excel can help you filter such cells without using VBA.
How do I create a VBA function to check for strikethrough formatting?
You can create a User Defined Function (UDF) in VBA by opening the VBA editor, inserting a module, and pasting the following code:
Function CheckStrikethrough(rng As Range) As Boolean CheckStrikethrough = rng.Font.Strikethrough End Function
. Use this function in your Excel worksheet to identify cells with strikethrough formatting.
Is the Kutools Add-In free to use?
Kutools for Excel is a paid add-in, but it typically offers a free trial period. You can use the trial to test its features, including filtering cells with strikethrough formatting, before purchasing a license.
Can I use conditional formatting to filter strikethrough cells?
No, Excel’s conditional formatting does not include an option to detect strikethrough formatting. You will need to use VBA, Find & Replace, or a third-party tool like Kutools for this purpose.
Which method is best for large datasets?
For large datasets, the VBA method is ideal as it is automated and processes data quickly. Alternatively, Kutools for Excel is also a great option as it simplifies the task with minimal manual effort.

Vaishvi Desai is the founder of Excelsamurai and a passionate Excel enthusiast with years of experience in data analysis and spreadsheet management. With a mission to help others harness the power of Excel, Vaishvi shares her expertise through concise, easy-to-follow tutorials on shortcuts, formulas, Pivot Tables, and VBA.