A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Incorporating Cell color fill in an "if" logical function?



 
 
Thread Tools Display Modes
  #1  
Old May 18th, 2006, 06:02 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default Incorporating Cell color fill in an "if" logical function?

I want to identify a specific cell by highlighting it with a cell fill color
when an "if" statement returns a "ture" response. How do I do this?
  #2  
Old May 18th, 2006, 06:16 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default Incorporating Cell color fill in an "if" logical function?

You can use Format-conditional formating, select "Formula is", and insert
the condition that evaluates to true/false in the text box.

Hope this helps,
Miguel.

"George_Sky" wrote:

I want to identify a specific cell by highlighting it with a cell fill color
when an "if" statement returns a "ture" response. How do I do this?

  #3  
Old May 18th, 2006, 06:21 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default Incorporating Cell color fill in an "if" logical function?

Select the cell(s); use Format | Conditional Formatting
In the dialog box you need: Cell Value is Equal to TRUE
The click the Format button in the dialog and open the Pattern tab
Select the fill colour you want
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"George_Sky" wrote in message
...
I want to identify a specific cell by highlighting it with a cell fill
color
when an "if" statement returns a "ture" response. How do I do this?



  #4  
Old May 18th, 2006, 06:46 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default Incorporating Cell color fill in an "if" logical function?

I guess that my question is unclear. I do not want to change the content of
the cell, just the highlighting of the cell (i.e. If x=A, "B" with cell
highlighted,"B" with cell not highlighted)

"Miguel Zapico" wrote:

You can use Format-conditional formating, select "Formula is", and insert
the condition that evaluates to true/false in the text box.

Hope this helps,
Miguel.

"George_Sky" wrote:

I want to identify a specific cell by highlighting it with a cell fill color
when an "if" statement returns a "ture" response. How do I do this?

  #5  
Old May 18th, 2006, 06:49 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default Incorporating Cell color fill in an "if" logical function?

I guess my question was not clear. I want to change the highliting of the
sell, not the cell content. (e.g. IF X=A, "B" with cell highlighted, "B"
winhout cell highlighted.)

"Bernard Liengme" wrote:

Select the cell(s); use Format | Conditional Formatting
In the dialog box you need: Cell Value is Equal to TRUE
The click the Format button in the dialog and open the Pattern tab
Select the fill colour you want
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"George_Sky" wrote in message
...
I want to identify a specific cell by highlighting it with a cell fill
color
when an "if" statement returns a "ture" response. How do I do this?




  #6  
Old May 18th, 2006, 08:12 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default Incorporating Cell color fill in an "if" logical function?

George_Sky wrote...
I guess my question was not clear. I want to change the highliting of the
sell, not the cell content. (e.g. IF X=A, "B" with cell highlighted, "B"
winhout cell highlighted.)


Your original question *and* the two responses so far were all clear.
What's unclear is your ability or willingness to understand the
responses.

"Bernard Liengme" wrote:
Select the cell(s); use Format | Conditional Formatting
In the dialog box you need: Cell Value is Equal to TRUE
The click the Format button in the dialog and open the Pattern tab
Select the fill colour you want
best wishes


Conditional formatting DOES NOT affect cell values/contents.

Conditional formatting CAN affect the FORMATTING of cells based on the
values either in the cell in question or other cells.

Looks like you want to use Formula Is rather than Cell Value Is
conditions. Select the cell containing "B", run the menu command Format
Conditional Formatting..., use the drop-down list on the left side of the Condition 1 box to change to Formula Is, in the entry field to the right of it enter the formula =X=A, then click on the Format... button and select the particular form of highlighting you want, then click OK in the Format Cells dialog then click OK in the Conditional Formatting dialog. The cell's value/contents will remain as-is but its format will change as the value of X=A changes.


  #7  
Old June 21st, 2008, 12:11 AM posted to microsoft.public.excel.worksheet.functions
John
external usenet poster
 
Posts: 2,649
Default Incorporating Cell color fill in an "if" logical function?

To be honest, I found both the question and the response to be very confusing.

"Harlan Grove" wrote:

George_Sky wrote...
I guess my question was not clear. I want to change the highliting of the
sell, not the cell content. (e.g. IF X=A, "B" with cell highlighted, "B"
winhout cell highlighted.)


Your original question *and* the two responses so far were all clear.
What's unclear is your ability or willingness to understand the
responses.

"Bernard Liengme" wrote:
Select the cell(s); use Format | Conditional Formatting
In the dialog box you need: Cell Value is Equal to TRUE
The click the Format button in the dialog and open the Pattern tab
Select the fill colour you want
best wishes


Conditional formatting DOES NOT affect cell values/contents.

Conditional formatting CAN affect the FORMATTING of cells based on the
values either in the cell in question or other cells.

Looks like you want to use Formula Is rather than Cell Value Is
conditions. Select the cell containing "B", run the menu command Format
Conditional Formatting..., use the drop-down list on the left side of the Condition 1 box to change to Formula Is, in the entry field to the right of it enter the formula =X=A, then click on the Format... button and select the particular form of highlighting you want, then click OK in the Format Cells dialog then click OK in the Conditional Formatting dialog. The cell's value/contents will remain as-is but its format will change as the value of X=A changes.



  #8  
Old June 23rd, 2008, 04:58 PM posted to microsoft.public.excel.worksheet.functions
Spiky
external usenet poster
 
Posts: 619
Default Incorporating Cell color fill in an "if" logical function?

On Jun 20, 6:11 pm, John wrote:
To be honest, I found both the question and the response to be very confusing.


Well, you dredged up a 2 year old thread for an offhand comment.
That's a little confusing, also.

But I'll assume you want to know about this. Maybe you should go open
Conditional Formatting to see what they were talking about. It won't
make sense if you don't look at it. It's in the Format menu in Excel.
Miguel's original response was right on, although Bernard's was more
detailed.
  #9  
Old July 21st, 2008, 08:57 PM posted to microsoft.public.excel.worksheet.functions
Shawn
external usenet poster
 
Posts: 176
Default Incorporating Cell color fill in an "if" logical function?

I have a similar question to this thread...

I have a cell that contains an if statement that returns either I, II, III
or IV depending on criteria. Can I also make the cell turn a different colour
for each of these results? e.g. (Red for I, Orange for II, etc.) I used to
know how to do this in the old excel, but now I am using vista and excel 2007.

Thanks.

Shawn

"Miguel Zapico" wrote:

You can use Format-conditional formating, select "Formula is", and insert
the condition that evaluates to true/false in the text box.

Hope this helps,
Miguel.

"George_Sky" wrote:

I want to identify a specific cell by highlighting it with a cell fill color
when an "if" statement returns a "ture" response. How do I do this?

  #10  
Old July 21st, 2008, 09:33 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default Incorporating Cell color fill in an "if" logical function?

I am using vista and excel 2007.

Try this...

Assume the cell in question is A1
Select cell A1
Goto Home tabStylesConditional FormattingManage Rules
Click New RuleUse a formula to determine.....
Enter this formula in the box: =A1="I"
Click the Format button
Select the desired style(s)
OKOKApply

Now, click New Rule and repeat the process for each of the conditions.

This was much easier in previous versions of Excel!


--
Biff
Microsoft Excel MVP


"Shawn" wrote in message
...
I have a similar question to this thread...

I have a cell that contains an if statement that returns either I, II, III
or IV depending on criteria. Can I also make the cell turn a different
colour
for each of these results? e.g. (Red for I, Orange for II, etc.) I used to
know how to do this in the old excel, but now I am using vista and excel
2007.

Thanks.

Shawn

"Miguel Zapico" wrote:

You can use Format-conditional formating, select "Formula is", and
insert
the condition that evaluates to true/false in the text box.

Hope this helps,
Miguel.

"George_Sky" wrote:

I want to identify a specific cell by highlighting it with a cell fill
color
when an "if" statement returns a "ture" response. How do I do this?



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent date/scheduling calc needed jct Worksheet Functions 3 February 24th, 2006 02:36 AM
Function syntax to compare cell contents ES Worksheet Functions 2 May 18th, 2005 03:53 PM
IF E3 & E10 = TRUE set this cell to "Yes", else set to "No" Timothy L Worksheet Functions 5 August 27th, 2004 02:28 AM
If/And function help Milehigh Worksheet Functions 5 January 30th, 2004 05:15 PM
Convert a Cell Reference to Text Chuck Buker Worksheet Functions 6 September 22nd, 2003 05:04 PM


All times are GMT +1. The time now is 03:49 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.