conditional formatting
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Conditional Formatting

Conditional Formatting

resolvedResolved · Low Priority · Version Standard

replyReply Wed 20 Feb 2008, 20:09Delegate Anthony said...

Anthony has attended:
Excel Advanced course

Conditional Formatting

Hi

In Column "A" on an Excel Workbook I have the formula =IF(OR(G6="Pass",OR(I6="Pass")),"Pass","Pending"). I now also want to apply a conditional format to column "A" to change the background colour of a cell depending on the result of the formula. If the word Pass is returned i want the cell background to be Green. If the word Pending is returned i would like the cell background to be Orange.

If this possible? I have been scouring the Internet but not found anything that will make it work.

Your help would be greatly appreciated.

Kind Regards

Tony Duggin

For upcoming training course dates see: Pricing & availability

replyReply Fri 29 Feb 2008, 16:32 Edited on Fri 29 Feb 2008, 16:33Trainer Carlos said...

RE: Conditional Formatting

Anthony

All you need to do is Highlight "Column A" and apply Conditional Formatting to it. To do this:

1. Highlight "Column A"

2. Select the Format menu and click Conditional Formatting

3. In the Conditional Formatting dialog box set the condition for when the cell says Pass and when it says Pending as per your colour criteria by clicking Format.

NB The cell interior is formatted on the Patterns tab.

I have attached a spreadsheet to show you how it looks.

Hope this helps

Regards

Carlos

Attached files...

Pass Pending Conditional Format.xls

replyReply Fri 29 Feb 2008, 16:42Trainer Amanda said...

RE: Conditional Formatting

Hi Tony

Thank you for your question.

Try the following:

1. Select the cells in column A you wish to apply the conditional formatting to.

2. For Condition 1, select Cell Value is Equal to Pass (no need to include quotation marks) and then use the Format button to set the format for the cells (background colours are included under the Pattern tab).

3. Click the Add button, then for Condition 2 select Cell Value is Equal to Pending and then use the Format button to set the fomat for the cells.

I hope this helps.
Amanda

 

Please browse our web site to find out more about
excel-training-advanced courses and other Microsoft training courses.

Excel tip:

Convert Text to Columns in Excel 2010

If you have a cell in your Excel spreadsheet that contains a lot of text and you want to divide it into separate columns, this can only be done if there is a logical character which separates the text, for example, a comma.

Select the cells you would like to convert. On the Data tab, click Text to Columns. Choose the format of your current data.

Select Delimited if the text contains a logical character otherwise select Fixed Width if there are a certain number of spaces between each field.

Click Next when a preview of the data appears. Then select the type of character that separates the various fields. If the character is not listed, select Other and enter the character.

Click Next again and then choose the format for each of the columns. Select the column heading in the Data preview and then select a data type from the Column data format options.

Click Finish and the text will appear in several columns.

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard