Solved

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

Posted on 2014-07-25
4
163 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

635 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