Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 181
Default Colouring text in VLOOKUP formula

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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Colouring text in VLOOKUP formula

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

On Wed, 10 Sep 2008 14:56:03 -0700, Trevor Williams
wrote:

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


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 181
Default Colouring text in VLOOKUP formula

Thanks Gord, just as I suspected...

"Gord Dibben" wrote:

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

On Wed, 10 Sep 2008 14:56:03 -0700, Trevor Williams
wrote:

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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
vlookup formula editing based on numbers treated as text JASelep Excel Worksheet Functions 1 August 30th 07 04:48 PM
How do I replace my vlookup FORMULA with just the TEXT of results J Lew Excel Worksheet Functions 1 May 26th 07 01:41 AM
How do I set up a cell colouring formula in Excell 2003? Fonzy Excel Worksheet Functions 2 March 13th 07 09:46 PM
Return a text string when the result of VLOOKUP formula is #N/A jeremy nickels Excel Worksheet Functions 2 August 4th 06 05:26 PM
VLOOKUP formula to text carrera Excel Discussion (Misc queries) 1 July 18th 05 06:46 PM


All times are GMT +1. The time now is 11:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"