+ Reply to Thread
Results 1 to 4 of 4

Date Change color the text of field

  1. #1
    Forum Contributor
    Join Date
    04-04-2016
    Location
    chicago
    MS-Off Ver
    2013
    Posts
    103

    Date Change color the text of field

    I created a file to help me manage number of days between dates. It works well. I need help to identify when the dates changes and it adds days maybe one color or when dates are reduced make it another color. In the attached file has a sample it contains column A and B and the dates are calculated on column D. When the a Date is added in the Actual date I need to recalculate the dates in column D and if the date increase highlight one color and if the date decreases make it a different color.
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,106

    Re: Date Change color the text of field

    just to clarify
    if the calculation of B-A is less than C-A you want Colour1
    if the calculation of B-A is greater than C-A you want Colour2

    two conditional format rules

    one using
    =AND(C2<>"",(B2-A2)>(C2-A2))

    and second using

    =AND(C2<>"",(B2-A2)<(C2-A2))

    if it equals theres no colour
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,936

    Re: Date Change color the text of field

    Calculate col D:
    Please Login or Register  to view this content.
    conditional format Col D
    Early: =D2<0
    Late/pending:
    =D2>0
    Attached Files Attached Files
    Last edited by protonLeah; 04-21-2017 at 03:15 PM.
    Ben Van Johnson

  4. #4
    Forum Contributor
    Join Date
    04-04-2016
    Location
    chicago
    MS-Off Ver
    2013
    Posts
    103

    Re: Date Change color the text of field

    Thanks this works perfect Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Change color of a field when passed todays date
    By sealpino in forum Excel General
    Replies: 3
    Last Post: 02-18-2017, 03:34 PM
  2. Have a field change color based on date of another field
    By Ian Frost in forum Excel General
    Replies: 2
    Last Post: 07-05-2016, 03:22 PM
  3. Replies: 4
    Last Post: 05-15-2015, 11:29 AM
  4. [SOLVED] How to change find formula from single text field to more than one text field
    By cmwilbur in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-11-2015, 04:13 PM
  5. Change color in text according the current date.
    By iffy100 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-04-2013, 06:25 AM
  6. Replies: 1
    Last Post: 05-10-2012, 11:51 PM
  7. [SOLVED] Function to change text color based on date?
    By Ahroo in forum Excel General
    Replies: 2
    Last Post: 08-09-2006, 10:49 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1