Colouring text in VLOOKUP formula

T

Trevor Williams

Hi all, simple question (I think)...

I have a text cell made up of a vlookup and some other text. What I want to
do is colour the 'non-looked up' text a different colour.

Here's my formula:
=VLOOKUP(AcctNo,AcctList,2,FALSE) & " | some other text"

Any ideas gratefully received.

Trevor Williams
 
G

Gord Dibben

Cannot be done with a formula.

Formulas return values and parts of those values cannot be formatted within
the formula.


Gord Dibben MS Excel MVP
 
T

Trevor Williams

Thanks Gord, just as I suspected...

Gord Dibben said:
Cannot be done with a formula.

Formulas return values and parts of those values cannot be formatted within
the formula.


Gord Dibben MS Excel MVP
 

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