SOLVED

Excel Conditional formatting

Copper Contributor

I want a date which less than another date to be highlighted.   Each date neither of which is todays date,  will change with the passage of time.

Do I  use formatting or Conditional formatting

11 Replies
Conditional formatting should do it. Otherwise you're talking of manually keeping it up-to-date. If you're looking for help in establishing the rule for conditional formatting, come back and ask that, ideally with a sample workbook.
Mathetes thanks for yor response
I have tried Condition Formatting using Highlíght Cell Rules, Less than without success.

I have a data base of building material costs I want to keep tract on
those out of date by moving todays date back by various time periods.

Todays Date 3.11.21

Move todays backwords by months 2 = 60 Days 4.9.21
Backward movement may change with market conditions

If Enqiry date is more than red date above, Show no background colour
If Enqiry date is less than red date above, Show it with red background

Enquiry date which will change as it is backward looking 3.10.21

I am a rookie wíth computers, so am not sure how to attached a typical spread sheet.
Use the full Text editor option (down below the dialog box that opens when you click on "Reply") and drag and drop your file to the area set aside for that purpose.
best response confirmed by John_P381475 (Copper Contributor)
Solution

@John_P381475 

"The whole file is to large to attach" - we don't need the file with actual data, we need the file which illustrates how data is structured. Conditional formatting applied to only one cell that could be one rule, applied to entire range - another rule.

@John_P381475 

 

It works in this version. For what it's worth, I've always found the conditional formatting rules with dates to be tricky. It takes me multiple tries to get them to work as desired.

Brief file previously attached shows the enquiry date which will apply to more than a hun dred rows on a sheet

@John_P381475 

 

Not sure what your point is. I gave you a conditional formatting rule that worked. You don't acknowledge it in your post, which was over an hour after mine....strange. Was it not working when you downloaded my version?

@mathetes 

Sorry for delay in response

Tried what you said on attached file with no success

I noted someone said workíng with dates is a problem.

As I think I said previously I am a rookie at computing, trying to lean at over 70.

Are you able to provide líne by line what to do?

 

@John_P381475  wrote: 

Tried what you said on attached file with no success

 

But I didn't "say" anything.  I gave you a Conditional Formatting rule that worked, didn't it?

 

I noted someone said workíng with dates is a problem.

 

That was me. I said that I've always found them tricky or elusive, so I need to experiment.

 

As I think I said previously I am a rookie at computing, trying to lean at over 70.

 

I turned 80 myself, very recently. I appreciate the difficulty you may be experiencing, especially if you're learning Excel for the first time.

 

Are you able to provide líne by line what to do?

 

First, I'd like to know whether or not the file I sent back to you worked. That file is attached again, at the bottom of this window. If it works, you should be able to open the Conditional  Formatting dialog box and copy the rule (or the syntax of the rule) to your own situation.

 

And here, to help you, is the rule written in that Conditional Formatting dialog box.

mathetes_0-1636076710249.png

 

@John_P381475 

 

Hey, John...here's a resource that you might find helpful. This website in general is a good one to bookmark, because the owners of the site give good examples of how to use many of the functions and features of Excel. I've linked you here to a page on Conditional Formatting with dates.

https://exceljet.net/formula/conditional-formatting-date-past-due

 

1 best response

Accepted Solutions
best response confirmed by John_P381475 (Copper Contributor)
Solution