ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Sorry for the vague question (https://www.excelbanter.com/excel-programming/311531-sorry-vague-question.html)

drewd[_4_]

Sorry for the vague question
 

--------------------------------------------------------------------------------

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

--
drew
-----------------------------------------------------------------------
drewd's Profile: http://www.excelforum.com/member.php...fo&userid=1474
View this thread: http://www.excelforum.com/showthread.php?threadid=26371


Myrna Larson

Sorry for the vague question
 
If you have the actual defect codes in a list with the abbreviation in the 1st
column and the code in the 2nd, and you've named that range CodeTable

=IF(ISNA(VLOOKUP(A1,CodeTable,2,0)),
"Not A Defect Code!",VLOOKUP(A1,CodeTable,2,0))

all on one line, of course.

On Sun, 26 Sep 2004 22:16:16 -0500, drewd
wrote:


--------------------------------------------------------------------------------

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 improperly
entered in such as:
"FC": to "Not A Defect Code!!!"

thank you for the help
Drew




All times are GMT +1. The time now is 07:49 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com