+ Reply to Thread
Results 1 to 3 of 3

How do I format cell when date is 10 days from expiring, AND other rows are blank

  1. #1
    Registered User
    Join Date
    01-25-2013
    Location
    Charleston, SC
    MS-Off Ver
    Excel 2010
    Posts
    25

    How do I format cell when date is 10 days from expiring, AND other rows are blank

    I have inherited a spreadsheet with a column that has the expiration date, (column M), and 4 other columns (columns N, O, P, and Q) to enter possible outcomes before the expiration date. I need conditional formatting to highlight all dates in column M that are 10 days from expiring, ONLY when the cells beside it in columns N, O, P AND Q are empty. Thanks in advance!

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: How do I format cell when date is 10 days from expiring, AND other rows are blank

    Select the entire range ( from M1 to Q1000, say ) and apply this CF
    Please Login or Register  to view this content.
    format as needed

  3. #3
    Registered User
    Join Date
    01-25-2013
    Location
    Charleston, SC
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: How do I format cell when date is 10 days from expiring, AND other rows are blank

    Pepe Le Mokko, that almost worked, but was able to edit it for my needs. Thanks for your help. FWIW, here's my edited code:

    Please Login or Register  to view this content.
    Turns out sometimes the date was never filled in the M column, so I needed to add $M1<>"" to not highlight those. And today()<=$M1 from the original code was causing it to highlight only those contracts nearing expiration, instead of including expired and expiring contracts. Thanks again!
    Last edited by auslegung; 02-12-2013 at 12:47 PM. Reason: Found issue in CF

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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