Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update font color and another field based on formula

Status
Not open for further replies.

ba4crm

Technical User
Joined
Dec 19, 2003
Messages
92
Location
US
In an Excel sheet, I have Columns Date Due, Date Paid, Status. What I want to do is:
If Date Paid = "" and Date Due > current date, change row font to red and insert "Over Due" under status.
If Date Paid <>"" and Date Due > Date Paid, change row font to yellow and insert "Late Pmt" under status.
To acheive the first part (changing font), I used conditional format formula [=(AND($E4="", $D4>TODAY()))]
and [=(AND($E4="*", $D4>$E4))]. However, I cannot do the updating another field or adding more criteria
with conditional formatting. Is it possible to do this in VBA? Any help would be appreciated.
 

Hi,

Check out Format/Conditional Formatting. You can specify up to 3 criteria for 3 different formats.

Skip,

[glasses] [red]Be Advised![/red]
The band of elderly oriental musicians, known as Ground Cover, is, in reality...
Asian Jasmine![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top