Replacing cells that have 2-3 letters

  • Thread starter Thread starter drewd
  • Start date Start date
D

drewd

What I need to replace the cells that have 2-3 letters is:
"Not A Defect Code!!!"
I have a sheet that has many different defect codes such as:
MC
WP
MPI,ect,ect
All of these will be change to the defect code they represent.
I could not figure out how to change a defect code that was improperl
entered in such as:
"FC": to "Not A Defect Code!!!"

thank you for the help
Dre
 
Assuming there are no single letters, in another column, say G1

=IF(LEN(A1)<42,"Not a Defect Code!!!",A1)

Copy this down as far as needed. Then Edit/Copy the column of formulas, select
the column with the erroneous codes and Edit/Paste Special and select the
Values option.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top