If functions with Text

K

Karen

How would I do the following in Excel.

I have a column with the following type of text values -
either Y or N comming from a database.

YNNNYYNN
NNYYYNNN
NNNNNNNY
YYYNNNNN
etc.

I need to convert the date as follows for example
if A1 = "YNNNYYNN" then A1 = "ClassA"
elseif A1 = "NNYYYNNN" then A1 = "ClassB"
elseif A1 = "NNNNNNNY" then A1 = "ClassC"
etc.
then repeated for each row

How do I do this in Excel ?

Many thanks
 
F

Frank Kabel

Hi
If you wanr to change A1 directly use 'Find - Replace' and repeat this
opersation three times for your values
 

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

Top