Nesting the SUBSTITUTE formula

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need some help to create a nested "SUBSTITUTE" formula.

So far I was able to accomplish the substitution of only a part of the cell
content as following:
=SUBSTITUTE(A1,"RUS","RUSTICA")

RUS is the content of cell "A1" which is the short code for RUSTICA
RUSTICA is the formula result on B1

RUS RUSTICA

I would like a formula that would change THREE instances and that will give
me the following result:

Content of cell "A1" is now
RUS TOS GIA

The nested SUBSTITUTE FORMULA should give me the

RUSTICA TOSCANA GIADA

which are the full name of the three above codes.

THANK YOU!
 
Hi

=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,"RUS","RUSTICA"),"TOS","TOSCANA"),"GIA"
,"GIADA")


Arvi Laanemets
 
Hi!

Try this:

=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,"RUS","RUSTICA"),"TOS","TOSCANA"),"GIA","GIADA")

Substitute is case sensitive.

Biff
 
THANK YOU!
It works PERFECTLY!


Biff said:
Hi!

Try this:

=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,"RUS","RUSTICA"),"TOS","TOSCANA"),"GIA","GIADA")

Substitute is case sensitive.

Biff
 
THANK YOU!
It works PERFECTLY!


Arvi Laanemets said:
Hi

=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,"RUS","RUSTICA"),"TOS","TOSCANA"),"GIA"
,"GIADA")


Arvi Laanemets
 

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