KutoolsforOffice — One Suite. Five Tools. Get More Done.

How to Find Product Codes with the Wrong Length in Excel?

AuthorSunLast modified

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.

first-show

Excel vs. Kutools Super Find

FeatureExcel (LEN + Filter)Kutools Super Find
Helper columnRequiredNot required
FormulaRequiredNot required
Find by text lengthYesYes
Greater than / Less than / EqualsYesYes
Review resultsFilter the worksheetResults listed in a pane
Jump to matching cellsNoYes
Ease of useMultiple stepsSimple 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:

=LEN(A2)

Press Enter, then drag the formula down.

The helper column now displays the number of characters in each cell.

formula-helper-column

Step 2. Filter the Results

Select your table.

Go to:

Data > Filter

select-filter

Click the filter arrow on the helper column.

Now you can display cells whose length is not equal to 10:

Uncheck 10 only

Click OK.

uncheck-10

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

filtered

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.

filtered-highlight

Step 4 (Optional). Remove the filter and helper column

Select your table.

Go to Data > Filter

Select the helper column, press the Delete key.

method-1-result

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:

Kutools > Find > Super Find

select-super-find

In the Super Find pane:

  1. Choose Selection from the Within drop-down list.
  2. Identify Find in text.
  3. Choose Text as the search type.
  4. Choose the condition you need:
  5. Enter the desired length.
  6. Click Find.

For example:

Find Text Length is not equal to 10 Characters

Choose:

Text length is not

Enter 10

super-find

Only text strings containing fewer than or more than 10 characters appear in the results.

Review Results One by One.

super-find-select

If you want to select all results and highlight them:

Click Select in the bottom-right corner of the pane

super-find

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

highlight-all-select

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.

Tutorial Demo


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

🤖Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |  Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |  Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

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.

ExcelWordOutlookTabsPowerPoint
  • 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



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.