+ Reply to Thread
Results 1 to 7 of 7

Conditional Formatting - colour cell depending on date in different call

  1. #1
    Registered User
    Join Date
    08-15-2019
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    2

    Conditional Formatting - colour cell depending on date in different call

    I would like column A (for each row) to change to red when the value of columns E through to Z (in each row) are any date older than today. Also I'd like column A to turn orange if anything in E-Z are coming up within 30 days...if possible. I've looked up many conditional formatting guides and just can't figure it out. Please help!

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Conditional Formatting - colour cell depending on date in different call

    Hello and welcome to the forum.

    I recommend uploading a small representative sample of your data along with the desired results (which you can enter manually) based on that data.

    To upload an Excel workbook, follow these steps:
    1) Click on "Go Advanced"
    2) Click on "Manage Attachments"
    3) Click on "Choose File"
    4) Choose your file and click on "Open"
    5) Click on "Upload"
    6) Click on "Close this window"

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Conditional Formatting - colour cell depending on date in different call

    I'm assuming that you want column A to turn red if any date in E:Z are older than today.
    Similar for orange.

    Try this:

    Highlight A2:A100 (or however far your data goes) > Conditional Formatting > New Rule > Use a formula
    =COUNTIF(E2:Z2,"<"&TODAY()+30)
    Format: Fill orange > OK > OK

    Highlight A2:A100 (or however far your data goes) > Conditional Formatting > New Rule > Use a formula
    =COUNTIF(E2:Z2,"<"&TODAY())
    Format: Fill red > OK > OK
    Last edited by 63falcondude; 08-15-2019 at 09:16 AM.

  4. #4
    Registered User
    Join Date
    08-15-2019
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    2
    Quote Originally Posted by 63falcondude View Post
    I'm assuming that you want column A to turn red if any date in E:Z are older than today.
    Similar for orange.

    Try this:

    Highlight A2:A100 (or however far your data goes) > Conditional Formatting > New Rule > Use a formula
    =COUNTIF(E2:Z2,"<"&TODAY()+30)
    Format: Fill orange > OK > OK

    Highlight A2:A100 (or however far your data goes) > Conditional Formatting > New Rule > Use a formula
    =COUNTIF(E2:Z2,"<"&TODAY())
    Format: Fill red > OK > OK

    Hi there

    Thankyou so much, this worked! How would I place this formula to the whole of column A instead of doing so individually? Would it be $A$2:$A$65 for example?

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,532

    Re: Conditional Formatting - colour cell depending on date in different call

    Yes, if you want the rules to apply to column A, rows 2 through 65, place =$A$2:$A$65 in the applies to window adjacent to the rules for both orange and red.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  6. #6
    Registered User
    Join Date
    12-28-2018
    Location
    Bristol, England
    MS-Off Ver
    Mac 2017
    Posts
    8

    Re: Conditional Formatting - colour cell depending on date in different call

    I have a similar question. How can I do this with a monetary value instead of a date.

    For instance turn text in A1 red if the the value in A2 is a negative value otherwise stay black.

  7. #7
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Conditional Formatting - colour cell depending on date in different call

    You really should be creating your own thread. You could link to this one if you felt it was necessary.

    That being said, this will work according to your description:

    Highlight A1 > Conditional Formatting > New Rule > Use a formula
    =A2<0
    Format: Fill red > OK > OK

+ 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 - Cell colour based on date
    By HiYoJoe in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-08-2017, 05:07 AM
  2. Replies: 3
    Last Post: 03-28-2017, 07:03 AM
  3. Select and colour cell depending on rank of number (macro conditional formatting)
    By mrpwebb in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-14-2014, 03:59 PM
  4. Replies: 1
    Last Post: 11-21-2013, 01:16 PM
  5. [SOLVED] Conditional Formatting to Change Cell Colour Based on Date
    By Kym2101 in forum Excel General
    Replies: 5
    Last Post: 05-01-2012, 11:41 PM
  6. Conditional formatting by date-need to colour a cell
    By duckboy1981 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-08-2009, 06:35 AM
  7. [SOLVED] Conditional formatting - different cell colour for each year following from user input date?
    By StargateFan in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 01-11-2006, 03:15 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