+ Reply to Thread
Results 1 to 7 of 7

Conditional Formatting Based on Content of Another Cell

  1. #1
    Registered User
    Join Date
    11-17-2015
    Location
    Chester, England
    MS-Off Ver
    2007
    Posts
    10

    Conditional Formatting Based on Content of Another Cell

    I'm looking for a way to use conditional formatting to highlight when an invoice is overdue payment. In the attached sample spreadsheet, I would enter the date an invoice when it is received from a supplier (in column A) and then enter the date when it is paid (in column E). Is there a way to highlight the row if an invoice is over 2 weeks old according to column A, but ONLY if it has not been paid according to column E? Once a "paid date" has been entered I no longer want it highlighted to avoid confusion.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Conditional Formatting Based on Content of Another Cell

    Select the table from top left of the data (A2) down to the bottom right, then apply the conditional formatting using the formula below.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    See attached.

    BSB
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-17-2015
    Location
    Chester, England
    MS-Off Ver
    2007
    Posts
    10

    Re: Conditional Formatting Based on Content of Another Cell

    Thank you so much for your reply! This works brilliantly! The only minor issue I have with this formula is it will highlight rows that are empty, is there anyway to avoid this?

  4. #4
    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,931

    Re: Conditional Formatting Based on Content of Another Cell

    Like this:

    =AND($A2<>"",$A2<=TODAY()-14,$E2="")
    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.

  5. #5
    Registered User
    Join Date
    11-17-2015
    Location
    Chester, England
    MS-Off Ver
    2007
    Posts
    10

    Re: Conditional Formatting Based on Content of Another Cell

    Thanks so much for your help! That is exactly what I needed.

  6. #6
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Conditional Formatting Based on Content of Another Cell

    Glad we could help

    BSB

  7. #7
    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,931

    Re: Conditional Formatting Based on Content of Another Cell

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. conditional formatting based on cell content and date
    By r9thomas in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-10-2023, 04:39 AM
  2. How to properly apply conditional formatting to a cell based on content
    By axtryo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-01-2018, 09:10 AM
  3. Conditional formatting based on cell content
    By meinthai in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-15-2016, 11:41 PM
  4. [SOLVED] Conditional formatting one cell based on another's content
    By Top12Gun in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-20-2012, 08:59 PM
  5. [SOLVED] Conditional Formatting, current cell color follows to diff cell based on content
    By iallenwood in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-08-2012, 04:13 PM
  6. Conditional Formatting based on part content of a cell
    By Paul Sheppard in forum Excel General
    Replies: 2
    Last Post: 09-10-2009, 01:06 PM
  7. Replies: 2
    Last Post: 08-03-2006, 05:45 AM

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