excel

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

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

Excel

resolvedResolved · Urgent Priority · Version 2003

Natalie has attended:
Excel Advanced course

Excel

If i put a date in a cell, is there a function to change the cell colour after 4 days has passed?

RE: Excel

Hi Natalie

I got round this problem by inserting a today's date function in say C1 to read =TODAY()
Then I used D1 to read todays date add 4 days : =SUM(C1)+4
I then highlighted Column A which had my dates in. Clicked Format/Conditional Formatting.
In the first drop down I chose Cell value is
In the second drop down I chose 'greater than'
In the third drop down i clicked on cell D4

I then clicked on the Format button and changed the colour to red.
That worked for me.

RE: Excel

Hi,

It makes sense so I'll give it a go. Very simply done too, i think i was just trying to complicate things!

Cheers

RE: Excel

hi,

I managed to sort it but now I've got another issue...can you set the conditional format to ignore blank cells?

Edited on Wed 3 Sep 2008, 10:11

RE: Excel

Hi Natalie I recreated the problem as above and it ignored blank cells by default as they weren't greater than the today + 4 days but if that doesn't work you can add another criteria to the Conditional Format. Say if cell is the same as 'any blank cell' then apply no conditioning.

Try that and let me know.

 

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:

Naming and Using Constants

Constants make calculations easier so worksheets are more easily understood. Constant values also need to be given relevant and memorably names. It is also easier to change the value of a constant.

For example:
Instead of entering 17.5% in each cell when you generate a VAT amount you could name a Constant "VAT" and assigning a "0.175" value to it. To do this:

From the 'Insert' menu select 'Name', then select 'Define'.

Enter the constant

View all Excel hints and tips


Server loaded in 0.09 secs.