conditional formatting

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

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

Conditional Formatting

resolvedResolved · Urgent Priority · Version 2016

Conditional Formatting

Hi,

Could you please tell me how I can conditional format the below scenario.

I have two date columns (Column D & E), and a percentage completed column (Q)

If there is 30 days remaining on either side of the date in column E, and the percentage completed is over 80% I would like that column to be green.
and then less than a month but between 21% to 79% would be amber, and less than a month and below 20% would be red

RE: Conditional Formatting

Hi Manisha

Thanks for your enquiry.

You need to use the Formula option with Conditional formatting. Any formula you the answer must result in a TRUE or FALSE result. You will create 3 separate test.

Using the AND function will allow you to have multiple criteria and the final answer will be either TRUE or FALSE. Because you have multiple tests you will need to select the option to STOP WHEN TRUE on the conditional format so just one rule is applied.

Rule 1
GREEN =AND((Col E - Col D) >= 30 , % Complete >= 80%)

Rule 2
AMBER =AND((Col E - Col D) <= 30 , % Complete >= 21%, % Complete < 80%)

Rule 3
RED =AND((Col E - Col D) <= 30 , % Complete <= 21%)


I hope this helps. Please get in touch if you need any further assistance.

Kind regards

Dennis

Sun 18 Apr 2021: Automatically marked as resolved.

 

Training courses

 

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Create a hyperlink navigation sheet

In large files, it is often useful to have a front sheet with hyperlinks to the key databases and summary calculations in your spreadsheet. Hyperlinks can save you and (more importantly) those less familiar with your spreadsheet a great deal of pointless scrolling between and within sheets.



Hyperlinks appear as underlined text and can jump to any cell or range name in your file. You can also use hyperlinks to jump to other files.



To create a hyperlink to a location in the active workbook: (1) Select the cell that contains the text you want to use as the hyperlink and choose Insert|Hyperlink.(2)Click Place in this document.(3)Choose the sheet you want to link to or the range name from the list of "Defined Names".(4)If necessary, type the cell reference in the Type in the cell reference box. (5) Click OK.

View all Excel hints and tips


Server loaded in 0.08 secs.