Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / October 2007

Tip: Looking for answers? Try searching our database.

Date Expiration and highlight

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
turkyildiz - 31 Oct 2007 18:50 GMT
Here is the problem folks

If Today's date (in cell o2 or Today())  is older than the value date
(10/31/07) in L4 cell P4 shlould display "Still valid" and cells
between A4 thru P4 should  display green

If Today's date (in cell o2 or Today())  is newer than the value date
(10/31/07) in L4 cell P4 shlould display "Quote Expired" and cells
between A4 thru P4 should  display red.

I will donate 20$ to children with leukemia non profit organization.

Regards
Per Erik Midtrød - 31 Oct 2007 19:31 GMT
> Here is the problem folks
>
[quoted text clipped - 9 lines]
>
> Regards

I'm not quite sure I understand; but you could try this formula in P4:
=IF(L4>TODAY();"Still valid";"Quote Expired")

Hopefully it will get you started.

Per Erik
crferguson@gmail.com - 31 Oct 2007 19:34 GMT
Assuming you have dates in O2 and L4, in cell P4 use this formula:

=IF(O2<L4,"Still Valid","Quote Expired")

Then just set the conditional formatting for cells A4 to P4 to a
formula:
Green formula:
=P4="Still Valid"

Red formula
=P4="Quote Expired"

Hope that helps!
Cory

> Here is the problem folks
>
[quoted text clipped - 9 lines]
>
> Regards
Bob Phillips - 31 Oct 2007 19:39 GMT
You don't say what happens when L2 is equal to today, so I assume that it is
still valid.

You need two things.

First you need a formula in P4 of

=IF(O2<=L2),"Still valid","Quote expired")

Then you and conditional formatting

-select P4
- goto CF, format>Conditional Formatting
- change the 2nd dropdown to 'equal to'
- enter Still valid in the textbox
- click the format button
- select the Patterns tab
- choose a shade of green
- click OK
- click the Add >> button
- change the 2nd dropdown to 'equal to'
- enter Expired in the textbox
- click the format button
- select the Patterns tab
- choose a shade of red
- click OK
- click OK

You are done.

Signature

HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

> Here is the problem folks
>
[quoted text clipped - 9 lines]
>
> Regards

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.