How to Find Product Codes with the Wrong Length in Excel?
Whether you're checking product codes, employee IDs, order numbers, or phone numbers, finding cells with a specific text length is a common data validation task.
In this article, we'll show you how to find text with a specific length using Excel formulas and filters, as well as a much faster method with Kutools for Excel's Super Find feature.

Method 1: Find product codes with not exactly 10 characters using Excel
Method 2: Find product codes with not exactly 10 characters using Super Find
Excel vs. Kutools Super Find
| Feature | Excel (LEN + Filter) | Kutools Super Find |
|---|---|---|
| Helper column | Required | Not required |
| Formula | Required | Not required |
| Find by text length | Yes | Yes |
| Greater than / Less than / Equals | Yes | Yes |
| Review results | Filter the worksheet | Results listed in a pane |
| Jump to matching cells | No | Yes |
| Ease of use | Multiple steps | Simple and fast |
Common Use Cases
Finding text by length is useful for many business scenarios, including:
- Validating product codes
- Checking employee IDs
- Verifying order numbers
- Reviewing customer account numbers
- Finding invalid phone numbers
- Checking postal codes
- Auditing inventory SKUs
- Cleaning imported data
Method 1: Find Text with a Specific Length Using Excel
Excel doesn't have a built-in command for searching by text length, but you can combine the LEN function with Filter.
Step 1. Add a Helper Column
Assume your text is in column A.
In B2, enter:
Press Enter, then drag the formula down.
The helper column now displays the number of characters in each cell.

Step 2. Filter the Results
Select your table.
Go to:

Click the filter arrow on the helper column.
Now you can display cells whose length is not equal to 10:
Click OK.

Now, all product codes whose length is not equal to 10 have been listed.

Step 3 (Optional). Highlight the wrong product codes
Select the filtered product codes.
Go to Home > Fill Color, select a background color to fill the wrong codes.

Step 4 (Optional). Remove the filter and helper column
Select your table.
Go to Data > Filter
Select the helper column, press the Delete key.

Limitations
Although this method works well, it has several drawbacks.
You need to:
- Insert a helper column.
- Write and copy formulas.
- Apply filters manually.
- Remove the helper column if you no longer need it.
If you only want to locate cells with a certain text length, the process can feel unnecessarily time-consuming.
Method 2: Find Text with a Specific Length Using Super Find
Kutools for Excel's Super Find lets you search for text based on its character length without adding formulas or helper columns.
Download Kutools for Excel today and work smarter, not harder. Enjoy a 30-day free trial with 300+ powerful Excel tools.
Select the product codes.
Go to:

In the Super Find pane:
- Choose Selection from the Within drop-down list.
- Identify Find in text.
- Choose Text as the search type.
- Choose the condition you need:
- Enter the desired length.
- Click Find.
For example:
Find Text Length is not equal to 10 Characters
Choose:
Text length is not
Enter 10

Only text strings containing fewer than or more than 10 characters appear in the results.
Review Results One by One.

If you want to select all results and highlight them:
Click Select in the bottom-right corner of the pane

Then go to Home > Fill Color to select a background color

One of Super Find's biggest advantages is its interactive results list.
Instead of only filtering the worksheet, Super Find displays every matching cell in a results pane.
You can:
- Click any result to jump directly to that cell.
- Review matches one by one.
- Correct errors immediately.
- Continue checking without repeating the search.
This is especially useful when reviewing large worksheets with hundreds or thousands of records.
Conclusion
Checking text length is a simple but important step in maintaining clean and accurate Excel data.
Although Excel can find product codes with the wrong length by combining the LEN function with filters, the process requires helper columns, formulas, and several manual steps.
Kutools for Excel's Super Find provides a much faster solution. You can search by text length directly, quickly locate matching cells, review every result in a dedicated pane, and jump to each match instantly—all without changing your worksheet structure.
Whether you're validating product codes, employee IDs, order numbers, phone numbers, postal codes, or other fixed-length values, Super Find makes data validation faster, easier, and more efficient.
Work Smarter with Kutools for Excel
Super Find is just one of the 300+ powerful features included in Kutools for Excel. Save hours of manual work with tools designed for data cleaning, worksheet management, text processing, and advanced Excel operations.
- ✔ Find and replace with advanced conditions
- ✔ Split, merge, and transform text in seconds
- ✔ Batch process worksheets and workbooks
- ✔ Remove duplicates, blanks, and unwanted characters
- ✔ Convert formulas, formats, dates, and data types
- ✔ Hundreds of time-saving tools for everyday Excel tasks
Download Kutools for Excel today and experience a faster way to work with Excel.
Enjoy a 30-day free trial and explore all 300+ professional Excel tools with no feature limitations.
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
All Kutools add-ins. One installer
Kutools for Office suite bundles add-ins for Excel, Word, Outlook & PowerPoint plus Office Tab Pro, which is ideal for teams working across Office apps.
- All-in-one suite — Excel, Word, Outlook & PowerPoint add-ins + Office Tab Pro
- One installer, one license — set up in minutes (MSI-ready)
- Works better together — streamlined productivity across Office apps
- 30-day full-featured trial — no registration, no credit card
- Best value — save vs buying individual add-in
Table of contents
- Common Use Cases
- Method 1: Find product codes with not exactly 10 characters using Excel
- Method 2: Find product codes with not exactly 10 characters using Super Find
- Tutorial demo
Kutools for Excel
Boosts Excel With 300+
Powerful Features
Boost your Excel productivity with Kutools for Excel—300+ powerful tools, free to try for 30 days.