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 · High Priority · Version 2007

replyReply Fri 12 Aug 2011, 16:25Delegate Sandra said...

Sandra has attended:
No courses

Conditional Formatting

Hi

I want to be able to colour code (RAG status) dates so that when we are close to an expiry date it flags it as amber or red.


I have a spread sheet with dates in and want to compare them to the current date ie the date the spreadsheet is looked at. The dates in the sheet are all future dates at the moment but I want to be able to code as follows:

- Red = expiry date due within 2 days or less
- Amber = expiry due within the next month
- Green = expiry due greater than 1 month

I have looked in conditional formatting but cant get 3 rules to apply to each cell. Which is what is required.

Can you help please?

Sandra

For upcoming training course dates see: Pricing & availability

replyReply Wed 17 Aug 2011, 09:11Trainer Mark said...

RE: Conditional Formatting

Hello Sandra,

Thank you for your question regarding Conditional Format.

Your 3 conditions would be as follows:
Select the area you want formatting to be applied. In conditional formatting, select New Rule, select second option, Format Only Cells that Contain..
Choose Cell Value Less than or Equal to... then type in the following, =today()+2
Set the format to Red
Repeat the above for the other 2 conditions, add new etc..
for amber, it would read Less than or Equal to.. =today()+28
for green, Cell value Greater than or equal to... =today()+28

Make sure the 3 conditions are in the correct order from top to bottom, Red condition (top), Amber, Green (bottom).

If you are new to the function of =today() it returns the current day!

I hope this resolves your question. If it has, please mark this question as resolved.

If you require further assistance, please reply to this post. Or perhaps you have another Microsoft Office question?

Have a great day.
Regards,

Mark
Microsoft Office Specialist Trainer

Tue 23 Aug 2011: Automatically marked as resolved.

 

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

Excel tip:

Recently used file list

Under the File menu, you may find a list of files at the bottom of the menu. These files represent the most recently used Excel spreadsheets. This file list provides a quick way for you to access your files.

You can disable the file list feature of Excel. This is done by

1. Choose Tools > Options menu. You will see the Options dialog box.
2. Ensure the General tab is selected.
3. Make sure the Recently Used File List check box is cleared.
4. Click on OK.

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