+ Reply to Thread
Results 1 to 3 of 3

formula to change cell colors

  1. #1
    Forum Contributor
    Join Date
    03-12-2014
    Location
    Michigan, USA
    MS-Off Ver
    Excel 2016
    Posts
    146

    formula to change cell colors

    I am creating a training spreadsheet that records training dates and the expiration dates. Is there a way to make a cell (the expiration date cell) turn yellow when it is within 6 months of expiring and red when it is within 1 month of expiring?


    Trained Expiration
    5/1/15 5/1/18
    5/1/15 5/1/18
    5/1/15 5/1/18

    1/9/16 1/9/19
    8/26/15 8/26/18
    7/9/15 7/9/18

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,758

    Re: formula to change cell colors

    Yes, you would use conditional formatting. You need two rules, one for yellow and one for red. An example is attached.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Contributor
    Join Date
    03-12-2014
    Location
    Michigan, USA
    MS-Off Ver
    Excel 2016
    Posts
    146

    Re: formula to change cell colors

    Awesome 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] vba to change tab colors based on a cell value
    By SMITH.CRYSTAL in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-23-2015, 02:42 PM
  2. Replies: 3
    Last Post: 10-21-2015, 03:51 PM
  3. Worksheet On Change Calls Sub to change Cell colors
    By sportsguy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2014, 12:20 PM
  4. Change cell colors
    By Beastwood in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-29-2012, 02:08 AM
  5. Excel 2007 : How Do I Change Cell Colors??
    By Ranger SVO in forum Excel General
    Replies: 2
    Last Post: 05-25-2011, 10:31 PM
  6. Matching Cell to change colors?
    By codyaaron2 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-17-2009, 08:12 AM
  7. Replies: 2
    Last Post: 01-25-2006, 04:00 PM

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