#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 396
Default Font Color

Nice solution Shane.

yclhk

why can't you use 2 cells next to each other?


--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"ShaneDevenshire" wrote:

Hi,

You can't really do that with a formula, but you can fake it.

If your formula is in cell B6 then enter =LEFT(B6,3) in cell E6 and
=RIGHT(B6,6) in F6. Format E6 to red and F6 to blue. Resize the columns so
they "appear" directly next to each other. Turn of gridlines or change the
cell borders to white.

If that isn't good enough you can select E6:F6 and clicking the Camera tool,
then clicking a cell where you want to see the result. With the picture
selected choose Format, Picture, Colors and Lines, Line Color, No Line.
Resize the cell where picture is so the cell is identical in size to the
picture.


--
Cheers,
Shane Devenshire


"yclhk" wrote:

How to set the font color returned by lookup in a cell ?

The formula in a cell is :
=IF(B2=0,"","Tel : "&VLOOKUP(B8, A23:B41, 2,FALSE))

What I expect is, the word "Tel:" is red and the number returned by lookup
is blue and the cell remaining blank if no data in cell B2.

Thanks,

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
fill color and font color icons do not work in excel huer59 Excel Discussion (Misc queries) 0 November 29th 07 01:06 PM
Sort or sub-total by Fill color or font color Excel_seek_help Excel Discussion (Misc queries) 1 April 27th 06 09:01 PM
How to change the default Border, Font Color, and Cell Color Elijah Excel Discussion (Misc queries) 3 November 2nd 05 11:52 PM
Default Border, Font Color, and Cell Background Color Elijah Excel Discussion (Misc queries) 1 October 28th 05 04:10 PM
My fill color and font color do not work in Excel Std Edition 2003 chapstick Excel Discussion (Misc queries) 1 September 11th 05 08:48 PM


All times are GMT +1. The time now is 04:00 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"