conditional formatting colour
Microsoft Office Training verified by visa - mastercard securecode about microsoft training company london ukadd 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 with Colour

Conditional formatting with Colour

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

resolvedResolved · Medium Priority · Version 2007

Conditional formatting with Colour

Anni has attended:
Excel Intermediate course
Excel Advanced course

by - delegate Anni [2 posts] (2008 May 19 Mon, 17:00) replyReply

I would like to know what the format would beif I want to format and calculate percentages. I.e. one square is 20%, I have 5 diff colours and can have any combination of colours to make up 100%

Excel VBA 2 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2003 2008 Sep 8 Mon + 9 Tue Bayswater 2 book now £495 £495
2003 2008 Sep 18 Thu + 19 Fri Bloomsbury 1 book now £495 £495
2003 2008 Sep 25 Thu + 26 Fri Southwark 3 book now £475 £495
2003 2008 Oct 6 Mon + 7 Tue Bayswater 4 book now £475 £485
2007 2008 Oct 13 Mon + 14 Tue Bayswater 3 book now £475 £495
2003 2008 Oct 23 Thu + 24 Fri Southwark 4 book now £475 £485
Full Schedule: See all 44 Excel VBA course dates.
Bookings currently available until 26th November 2009.

RE: Conditional formatting with Colour

by - trainer Amanda platinum contributer[968 posts] (2008 May 27 Tue, 13:22) replyReply

Hi Anni

Thank you for your question; and welcome to the forum.

You can create conditional formats for a group of cells that contain percentages by going to the Home Ribbon and selecting the Conditional Formatting button from within the Styles group. If you go to the Highlight Cell Rules option and select the Value between option, this will allow you to set different colours for different ranges, e.g. 0-20% is red; 21-40% is orange - so on and so forth. You will need to set these rules one at a time.

I hope this helps.
Amanda

RE: Conditional formatting with Colour

by - delegate Anni [2 posts] (2008 Jun 2 Mon, 12:31) replyReply

Thanks for that Amanda, that's very useful, however not quite what I'm after - I think I didn't express myself correctly enough :-)

What I work on is a weekly planner, so five squares = 5 days of the week (20% per day).

Someone might work 3 days on a billable project, so 3 squares are coloured green (horizontally) and then have 2 days where they are available, say red.

I need to do weekly forecasts of how many days people are working or free or on training etc.

Can that be done - that I count coloured squares basically

(the answer for the above example would then say 60% green and 40% red)

Thanks!!

RE: Conditional formatting with Colour

by - trainer Amanda platinum contributer[968 posts] (2008 Jun 2 Mon, 16:34) replyReply

Hi Anni

Thanks for clarifying.

I think you could only count based on the formatting of a cell if you did some VBA coding.

You can however count the number of times a word appears within a range, so if you had unavailable and available (or even U and A for short), you can use COUNTIF to count how many times each appears; then you could divide this by the total number of days to get a percentage.

Then you could apply conditional formatting to colour in addition if you wanted (e.g. if cell contains U, formatting is green; if cell contains A, formatting is red).

I have attached an example for you of how this could work. I hope this helps.

Amanda

Attached files...

Anni Excel example.xls


Related articles

· Crazy Things People Have Done With Excel
· Microsoft Excel Features and Functions for Accountants
· How to Create Better Excel Spreadsheets: Part Two
· Prepare for your MOS Certification with MS Excel Courses
· Benefits of learning about Excel charts

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

Excel tip:

Use Paint Brush to Format More than one Cell

To copy a format to many cells or ranges

1. Select the cell with the format that you want to copy

2. Double-click on the paint brush

When you move to the cell where you want to paste the format you will notice that a paint brush follows the cursor.

Paste the format to all the cells or ranges you need to format.

When finished go back to the paint brush on the tool bar and single click on it to deactivate the function.

View all Excel hints and tips

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

Microsoft Office training
Pricing and availability
Training schedule
Training venues

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London

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
AddThis Social Bookmark Button What's this?
Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo Add to Diigo Add to Mr. Wong Add to Linkarena Add to Power Oldie Add to Folkd Add to Jumptags Add to Upchuckr Add to Simpy Add to StumbleUpon Add to Slashdot Add to Netscape Add to Furl Add to Spurl Add to Blinklist Add to Blogmarks Add to Technorati Add to Newsvine Add to Blinkbits Add to Ma.Gnolia Add to Smarking Add to Netvouz