Solved

Checking for a date > 05/31/2014 in conditional formatting in Excel 2010

Posted on 2014-07-25
4
161 Views
Last Modified: 2014-07-30
Experts,

I have a date in column AF on a report.  I would like to highlight the row when the date in AF is > 05/31/2014.  What is the syntax to test for a date in conditional formatting?
0
Comment
Question by:morinia
4 Comments
 
LVL 23

Assisted Solution

by:NBVC
NBVC earned 150 total points
ID: 40220026
Try:

=$AF2>DATE(2014,5,31)

where AF2 is top most cell in AF that you selected to highlight.
0
 
LVL 40

Assisted Solution

by:als315
als315 earned 150 total points
ID: 40220029
Rule should be (if rows start from 1, otherwise change $AF1 to first cell):
=$AF1>DATEVALUE("5/31/2014")
0
 
LVL 33

Accepted Solution

by:
Rob Henson earned 200 total points
ID: 40223869
If you were to put the required comparison date (31 May 2014) in a cell, you can then use CF formula to compare with the cell.

For example, enter date in AG1 and formula would be:

=$AF2>$AG$1

You can then change the date as and when required without changing the Conditional Formatting.

Thanks
Rob H
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question