+ Reply to Thread
Results 1 to 4 of 4

Want to highlight cells with expiry dates

  1. #1
    Forum Contributor
    Join Date
    07-26-2017
    Location
    west midlands
    MS-Off Ver
    365
    Posts
    182

    Want to highlight cells with expiry dates

    Hi,
    Can someone please give me a formula that will highlight cells that have passed an expiry date?
    Please see example attached.
    I think it might be done using conditional formatting but not sure.

    Thanks guys.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: Want to highlight cells with expiry dates

    You need three rules set up and applied as I have done for you in the attached:

    =TODAY()-B3>=30

    =TODAY()-B3>=120

    =TODAY()-B3>=365

    Select just cell B3 when setting up the rules and use the Applies To ... field to set the range.
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

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

    Re: Want to highlight cells with expiry dates

    Textbook case. It can be done with "cells that contain" and specifiying "less than" and =TODAY()

    It could also be done with "use a formula"

    =B3<TODAY()


    Sorry, I only read your post, not the text in the file. Stick with AliGW's solution
    Attached Files Attached Files
    Last edited by 6StringJazzer; 05-25-2018 at 10:25 AM. Reason: whoops
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Forum Contributor
    Join Date
    07-26-2017
    Location
    west midlands
    MS-Off Ver
    365
    Posts
    182

    Re: Want to highlight cells with expiry dates

    Hi Both,
    Thanks for helping sort this. Thanks for being so quick with the replies. Much appreciated.

    Tony0731

+ 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. Highlight cells between 2 dates
    By mikehk in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 10-05-2017, 12:20 AM
  2. Automatic colour change of cells when reaching expiry dates
    By Adzfreight75 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 05-17-2017, 03:50 AM
  3. USing VBA to highlight cells between dates
    By cthamas222 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-16-2016, 08:25 AM
  4. [SOLVED] How do I highlight cells that do not contain valid dates.
    By AndyRoo119 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-09-2015, 09:04 AM
  5. [SOLVED] Highlight cells between two dates
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-25-2015, 05:05 AM
  6. Workday Formula-Notice dates and Expiry dates
    By lamjoey in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 07-24-2011, 06:52 AM
  7. Replies: 7
    Last Post: 09-04-2009, 10:17 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