Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Big Rick
 
Posts: n/a
Default Colour references in formulas.

Please can you tell me how to put colour references into a formula.
e.g
If
A1=Fred and B1=Smith
then
C1= Fred Smith.
("Fred" in red text, "Smith" in green text)

Thanking you in anticipation.
--
Big Rick
  #2   Report Post  
swatsp0p
 
Posts: n/a
Default


Big Rick Wrote:
Please can you tell me how to put colour references into a formula.
e.g
If
A1=Fred and B1=Smith
then
C1= Fred Smith.
("Fred" in red text, "Smith" in green text)

Thanking you in anticipation.
--
Big Rick


This cannot be done by a *formula* as you ask. This would take VBA
coding to accomplish (via a macro). Is this what you want to do?


--
swatsp0p


------------------------------------------------------------------------
swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101
View this thread: http://www.excelforum.com/showthread...hreadid=473528

  #3   Report Post  
shadestreet
 
Posts: n/a
Default


I am not clear on what your goal is, but have you tried conditional
formatting? (under "Data").

You can add up to three conditions for a cell, the conditions are
logical tests that can change the color depending on the contents of
the cell. It is limited, but it may be the solution if you want to
avoid creating a macro.


--
shadestreet
------------------------------------------------------------------------
shadestreet's Profile: http://www.excelforum.com/member.php...fo&userid=7092
View this thread: http://www.excelforum.com/showthread...hreadid=473528

  #4   Report Post  
swatsp0p
 
Posts: n/a
Default


My understanding is the OP wants to have TWO colors of fonts within ONE
cell via a formula. Excel does not allow for this. Check out this
thread for more details...

http://www.excelforum.com/showthread...nt+colors+cell


--
swatsp0p


------------------------------------------------------------------------
swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101
View this thread: http://www.excelforum.com/showthread...hreadid=473528

  #5   Report Post  
Big Rick
 
Posts: n/a
Default

Many thanks to you anyway.
I thought it was a lohg shot.
--
Big Rick


"shadestreet" wrote:


I am not clear on what your goal is, but have you tried conditional
formatting? (under "Data").

You can add up to three conditions for a cell, the conditions are
logical tests that can change the color depending on the contents of
the cell. It is limited, but it may be the solution if you want to
avoid creating a macro.


--
shadestreet
------------------------------------------------------------------------
shadestreet's Profile: http://www.excelforum.com/member.php...fo&userid=7092
View this thread: http://www.excelforum.com/showthread...hreadid=473528


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
Formulas in chart series references Guackyxxx Charts and Charting in Excel 2 June 12th 05 11:35 PM
Replicating Formulas with Various Worksheet References Cloudburst99 Excel Worksheet Functions 1 January 20th 05 11:15 PM
Replicating Worksheet References in Formulas Cloudburst99 Excel Worksheet Functions 2 January 18th 05 09:27 PM
Changing Cell References in Formulas Pat Excel Worksheet Functions 2 December 15th 04 05:29 PM
References to open/hidden workbooks become hard-coded in formulas - 2003 L Mehl Excel Discussion (Misc queries) 2 November 27th 04 09:28 PM


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