Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default Conditional formatting to a different cell and it contains a formula

This formula in B1 is: =SUBSTITUTE(A1,".","")
returns a number. (It removes a series of "dots" from the cell
contents in A1.)

Is it possible to have another cell C3 in that row become formatted,
if the contents of B1 are displaying the number 3?

So: A1 contains: " ............3" (without the quotes)
B1 displays the number 3
We'd like C3 to be bold, lets say, or purple if a 3 is displayed in
B1.

Thanks,
Rick
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Conditional formatting to a different cell and it contains a formula

http://www.contextures.com/xlCondFormat01.html

--
__________________________________
HTH

Bob

"Rick" wrote in message
...
This formula in B1 is: =SUBSTITUTE(A1,".","")
returns a number. (It removes a series of "dots" from the cell
contents in A1.)

Is it possible to have another cell C3 in that row become formatted,
if the contents of B1 are displaying the number 3?

So: A1 contains: " ............3" (without the quotes)
B1 displays the number 3
We'd like C3 to be bold, lets say, or purple if a 3 is displayed in
B1.

Thanks,
Rick



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Conditional formatting to a different cell and it contains a formula

So: A1 contains: " ............3" (without the quotes)
This formula in B1 is: =SUBSTITUTE(A1,".","")
B1 displays the number 3


The result in B1 is a *text* number not a *numeric* number.

You may want to change the formula to:

=--SUBSTITUTE(A1,".","")

This will coerce the text number to a *numeric* number.

Then, to apply the formatting:
Select cell C3
Goto the menu FormatConditional Formatting
Select the Formula Is option
Enter this formula in the little box to the right:

=B1=3

Click the Format button
Select the desired style(s)
OK out

--
Biff
Microsoft Excel MVP


"Rick" wrote in message
...
This formula in B1 is: =SUBSTITUTE(A1,".","")
returns a number. (It removes a series of "dots" from the cell
contents in A1.)

Is it possible to have another cell C3 in that row become formatted,
if the contents of B1 are displaying the number 3?

So: A1 contains: " ............3" (without the quotes)
B1 displays the number 3
We'd like C3 to be bold, lets say, or purple if a 3 is displayed in
B1.

Thanks,
Rick



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default Conditional formatting to a different cell and it contains aformula

On Jul 15, 4:28*pm, "T. Valko" wrote:
So: A1 contains: " ............3" (without the quotes)
This formula in B1 is: =SUBSTITUTE(A1,".","")
B1 displays the number 3


The result in B1 is a *text* number not a *numeric* number.

You may want to change the formula to:

=--SUBSTITUTE(A1,".","")

This will coerce the text number to a *numeric* number.

Then, to apply the formatting:
Select cell C3
Goto the menu FormatConditional Formatting
Select the Formula Is option
Enter this formula in the little box to the right:

=B1=3

Click the Format button
Select the desired style(s)
OK out

--
Biff
Microsoft Excel MVP

"Rick" wrote in message

...



This formula in B1 is: =SUBSTITUTE(A1,".","")
returns a number. (It removes a series of "dots" from the cell
contents in A1.)


Is it possible to have another cell C3 in that row become formatted,
if the contents of B1 are displaying the number 3?


So: A1 contains: " ............3" (without the quotes)
B1 displays the number 3
We'd like C3 to be bold, lets say, or purple if a 3 is displayed in
B1.


Thanks,
Rick- Hide quoted text -


- Show quoted text -


Thank you Biff and Bob. Will have a run at them in the AM, and report
back.

Rick

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default Conditional formatting to a different cell and it contains a formula

Click in C3, then, from the Menu Bar:
<Format <Conditional Formatting

Change "Cell Value Is" to "Formula Is", and enter this formula:

=B1="3"

Then click on <Format
and choose whatever you like,
Then <OK <OK

The parenthesis around the 3 is necessary because your Substitute formula
returns a Text value, not a true number.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Rick" wrote in message
...
This formula in B1 is: =SUBSTITUTE(A1,".","")
returns a number. (It removes a series of "dots" from the cell
contents in A1.)

Is it possible to have another cell C3 in that row become formatted,
if the contents of B1 are displaying the number 3?

So: A1 contains: " ............3" (without the quotes)
B1 displays the number 3
We'd like C3 to be bold, lets say, or purple if a 3 is displayed in
B1.

Thanks,
Rick





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default Conditional formatting to a different cell and it contains a formula

I just gotta refresh my OE more often!<bg
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"RagDyer" wrote in message
...
Click in C3, then, from the Menu Bar:
<Format <Conditional Formatting

Change "Cell Value Is" to "Formula Is", and enter this formula:

=B1="3"

Then click on <Format
and choose whatever you like,
Then <OK <OK

The parenthesis around the 3 is necessary because your Substitute formula
returns a Text value, not a true number.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Rick" wrote in message
...
This formula in B1 is: =SUBSTITUTE(A1,".","")
returns a number. (It removes a series of "dots" from the cell
contents in A1.)

Is it possible to have another cell C3 in that row become formatted,
if the contents of B1 are displaying the number 3?

So: A1 contains: " ............3" (without the quotes)
B1 displays the number 3
We'd like C3 to be bold, lets say, or purple if a 3 is displayed in
B1.

Thanks,
Rick





  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default Conditional formatting to a different cell and it contains aformula

On Jul 15, 5:22*pm, "RagDyer" wrote:
I just gotta refresh my OE more often!<bg
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------"RagDyer" wrote in message

...



Click in C3, then, from the Menu Bar:
<Format <Conditional Formatting


Change "Cell Value Is" to "Formula Is", and enter this formula:


=B1="3"


Then click on <Format
and choose whatever you like,
Then <OK <OK


The parenthesis around the 3 is necessary because your Substitute formula
returns a Text value, not a true number.
--
HTH,


RD


---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Rick" wrote in message
...
This formula in B1 is: =SUBSTITUTE(A1,".","")
returns a number. (It removes a series of "dots" from the cell
contents in A1.)


Is it possible to have another cell C3 in that row become formatted,
if the contents of B1 are displaying the number 3?


So: A1 contains: " ............3" (without the quotes)
B1 displays the number 3
We'd like C3 to be bold, lets say, or purple if a 3 is displayed in
B1.


Thanks,
Rick- Hide quoted text -


- Show quoted text -


They all worked fine. You folks are great.
Rick.

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Conditional formatting to a different cell and it contains a formula

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Rick" wrote in message
...
On Jul 15, 5:22 pm, "RagDyer" wrote:
I just gotta refresh my OE more often!<bg
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------"RagDyer"
wrote in message

...



Click in C3, then, from the Menu Bar:
<Format <Conditional Formatting


Change "Cell Value Is" to "Formula Is", and enter this formula:


=B1="3"


Then click on <Format
and choose whatever you like,
Then <OK <OK


The parenthesis around the 3 is necessary because your Substitute
formula
returns a Text value, not a true number.
--
HTH,


RD


---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit
!
---------------------------------------------------------------------------
"Rick" wrote in message
...
This formula in B1 is: =SUBSTITUTE(A1,".","")
returns a number. (It removes a series of "dots" from the cell
contents in A1.)


Is it possible to have another cell C3 in that row become formatted,
if the contents of B1 are displaying the number 3?


So: A1 contains: " ............3" (without the quotes)
B1 displays the number 3
We'd like C3 to be bold, lets say, or purple if a 3 is displayed in
B1.


Thanks,
Rick- Hide quoted text -


- Show quoted text -


They all worked fine. You folks are great.
Rick.


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
conditional formatting - problem with text cell value from formula PBcorn Excel Worksheet Functions 2 April 18th 08 11:39 AM
Conditional Formatting on cell with a formula Kass Excel Worksheet Functions 5 September 30th 07 08:30 AM
Is conditional formatting or formula possible by cell color? J Billy Excel Worksheet Functions 2 June 30th 07 04:43 AM
Recognizing Cell Formatting To Use In A Formula Or Conditional For Jim J. Excel Worksheet Functions 0 September 20th 06 08:28 PM
Conditional Formatting if cell content is a formula oldsambvca Excel Worksheet Functions 2 June 6th 06 10:24 PM


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