+ Reply to Thread
Results 1 to 2 of 2

Highlight cells if a range does not contain a date within last 7 days

Hybrid View

  1. #1
    Registered User
    Join Date
    03-08-2021
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    1

    Highlight cells if a range does not contain a date within last 7 days

    Hi,

    My department is trying to monitor when students last went for a Covid test. I have a list of student names in column A, followed by the list of dates that they went for tests.

    I have used =C3:Z72<(TODAY()-7) to highlight tests that are within 7 days old, however as we go forward and add more dates, these will expire.

    I really need to be able to highlight the names of the students who do not have any test within 7 days. So in this example, student 4 would not need to be flagged since they have a test within 7 days but student 1 would.

    Testing log example..PNG

    So A3 would be highlighted if B3:G3 did not contain a date within the last 7 days. I have tried a few variations on IF formulas but can't find anything that works.

    Any suggestions would be much appreciated!

    Thanks
    Attached Files Attached Files
    Last edited by RachaelP830; 03-08-2021 at 12:21 PM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,779

    Re: Highlight cells if a range does not contain a date within last 7 days

    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file.

+ 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. Replies: 6
    Last Post: 08-22-2019, 07:18 PM
  2. Using date Pickers to highlight range of cells...
    By TheOddOneOut in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-16-2019, 06:20 AM
  3. Highlight Cells where date is within 30 days
    By jcmckeon in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-24-2016, 08:25 PM
  4. [SOLVED] Highlight a range of cells to match the date
    By cmoore24 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-14-2015, 12:59 PM
  5. [SOLVED] highlight a series of cells based on the number of days in a date range
    By b2lynch in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-09-2014, 10:48 PM
  6. Date Range to highlight Cells
    By Arawwawala in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-12-2014, 02:34 PM
  7. Macro to highlight cells that are 5 business days from trade date
    By Jason via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-09-2005, 04:06 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