Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,069
Default Conditional formatting using If

Hello All,

I am trying to keep track of peoples' email addresses that are not receiving
my messages. Currently, the cell range A1:L1 contains my headings, Cells
A2:A126 contain the Contact ID numbers. Currently I have 126 Contacts. Column
K is my status Column. I want to create aconditional format that will format
the entire row as follows:
__________________________________________________ __________________
If K1="n" (n meaning not functioning properl.)
then formatting of A2:K2 should be font= bold and fill= red
else
If K1="f" (f meaning funtioning properly)
then formatting of A2:K2 should be font= bold and fill= bright green
__________________________________________________ __________________
Once I have the proper formula do do this I should be able to copy the
formula into each row.
There is one other problem though. Column L contains a Description of the
problem the email account is experiencing. Therefore I have already tried to
set up a conditional format so that if the value in K2="n" the formatting for
L2 would be font color=red. However, it wouldn't work. So how do I get L2
formatted so that the font type will be Arial and so that the font color will
be red without changing the result of the conditional formatting for the cell
range of A2:K2?

Any suggestions would be greatly appreciated.

Thank you,

John R. L.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Conditional formatting using If

I'm not sure why K1 should affect the formatting of row 2 - I presume
you mean that if K2="n" then set the format of A2:K2 appropriately.
Also, conditional formatting in L2 should not change that in A2:K2.

With that in mind, highlight the cells A2:K2 and click on Format |
Conditional Formatting. In the first box of the pop-up you should
select Formula Is rather than Cell Value Is, and then in the formula
box you should enter:

=$K2="n"

Click on the Format button, select the Font tab, and choose Bold, then
select the Patterns tab (for background colour) and choose Red, then
OK to return to the CF dialogue. Click on Add to set up your second
condition, choose Formula Is with the formula:

=$K2="f"

and then the Format button again to set your format of Bold and Bright
Green fill colour as before. Click OK twice to exit the CF dialogue
box. Then select cell L2 to set up the CF for that cell - click on
Format | Conditional Formatting, select Formula Is, enter this
formula:

=$K2="n"

and select Red from the Colour box of the Font tab, then OK twice. (Or
you might want to have a second condition here to have a bright green
font colour if K2="f", though you didn't specify this).

Now you can highlight all the cells A2:L2, click <copy, move cursor
to A3 and highlight A3:A126, then click on Edit | Paste Special |
Formats | OK | <Esc to apply those formats to your other cells.

Hope this helps.

Pete

On May 28, 11:56*pm, John wrote:
Hello All,

I am trying to keep track of peoples' email addresses that are not receiving
my messages. Currently, the cell range A1:L1 contains my headings, Cells
A2:A126 contain the Contact ID numbers. Currently I have 126 Contacts. Column
K is my status Column. I want to create aconditional format that will format
the entire row as follows:
__________________________________________________ __________________
If K1="n" (n meaning not functioning properl.)
* *then formatting of A2:K2 should be font= bold and fill= red
else
* * *If K1="f" (f meaning funtioning properly)
* * * * then formatting of A2:K2 should be font= bold and fill= bright green
__________________________________________________ __________________
Once I have the proper formula do do this I should be able to copy the
formula into each row.
There is one other problem though. Column *L contains a Description of the
problem the email account is experiencing. Therefore I have already tried to
set up a conditional format so that if the value in K2="n" the formatting for
L2 would be font color=red. However, it wouldn't work. So how do I get L2
formatted so that the font type will be Arial and so that the font color will
be red without changing the result of the conditional formatting for the cell
range of A2:K2?

Any suggestions would be greatly appreciated.

Thank you,

John R. L.


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
Formatting cells in a column with conditional formatting? shamor Excel Discussion (Misc queries) 8 May 19th 08 10:11 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


All times are GMT +1. The time now is 01:25 AM.

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"