conditional formatting
Microsoft Office Training McAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams add this page to your favourites/bookmarksAdd to favourites
view a printable version of this pagePrintable version
email this page to somebodyEmail this page
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

The UK's most regular instructor-led training courses.
Training information: excel-training-advanced courses · Excel training courses · Microsoft Excel Training London
See also · excel-courses-london · excel courses in london · excel microsoft training

resolvedResolved · Low Priority · Version Standard

Conditional Formatting

Anthony has attended:
Excel Advanced course

by - delegate Anthony [5 posts] (2008 Feb 20 Wed, 20:09) replyReply

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

Excel VBA 2 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2007 2009 Jan 8 Thu + 9 Fri Bloomsbury 4 book now £485 £490
2003 2009 Jan 22 Thu + 23 Fri Southwark 1 book now £495 £495
2003 2009 Jan 29 Thu + 30 Fri Bayswater 4 book now £475 £485
2007 2009 Feb 5 Thu + 6 Fri Bloomsbury 5 book now £485 £490
2003 2009 Feb 19 Thu + 20 Fri Southwark 6 book now £450 £485
2003 2009 Feb 26 Thu + 27 Fri Bayswater 8 book now £335 £365
Full Schedule: See all 44 Excel VBA course dates.
Bookings currently available until 18th March 2010.

RE: Conditional Formatting

by - trainer Carlos gold contributer[494 posts] (2008 Feb 29 Fri, 16:32) Edited on 2008 Feb 29 Fri, 16:33 replyReply

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

RE: Conditional Formatting

by - trainer Amanda diamond contributer[1286 posts] (2008 Feb 29 Fri, 16:42) replyReply

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


Related articles

· How to Create Better Excel Spreadsheets: Part One
· How to Create Better Excel Spreadsheets: Part Four
· Excel Course Tips and Tricks to Liven Up Your Excel Spreadsheets
· VBA Excel 2007
· Why Should I Learn Visual Basic in Excel?

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

Excel tip:

Generate randon numbers

Some types of analysis require you to use randomly generated numbers. You can also use randomly generated numbers to quickly populate an Excel spreadsheet. There's an easy function you can use to do this automatically. Here are a few of the ways you can use it:

Type =RAND() in a cell to generate a number between 0 and 1.
Type =RAND()*100 to generate a number between 1 and 100.

View all Excel hints and tips

Rate this page:
3.0/5 (5 votes cast)
Institute of IT Training - Accredited Training Provider Microsoft Certified Partner
microsoft office
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider Association of Computer Trainers Valid HTML 4.01 Transitional
Valid CSS Markup

secure online payments - visa - mastercard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Training by application Main information pages See also

Access courses
DreamWeaver courses
Excel courses
MS Project courses
Outlook courses
PowerPoint courses
VBA courses
Word courses
(more...)

Public scheduled courses
On-site training
Closed company courses

Training venues
Client list
FAQ
Pricing and availability
Course details / Syllabus

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London
Microsoft Office training

Microsoft Access training
Microsoft Excel training
Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training

Time Management Course London

Interested in Access training? Please see the following pages:
Microsoft access courses · Microsoft training access course
Microsoft+access+training · Access courses in london

Training Information
Training Articles

AddThis Social Bookmark Button What's this?
Add to: Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo