+ Reply to Thread
Results 1 to 2 of 2

How to create conditional formatting based on todays date and a column...

  1. #1
    Registered User
    Join Date
    07-07-2020
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    3

    How to create conditional formatting based on todays date and a column...

    Hello all!

    I have a fairly simple pacing spreadsheet where I track metrics for my company. I'd like to turn a cell green if it's above the daily pacing, yellow if it's exact, and red if it's below the daily pacing. Essentially, I'd like the cell F3 to highlight based on today's pacing number. I'm positive I'm making it more difficult than it needs to be and I can't seem to get the formula correct!

    Many thanks!

    0352ee63582a07528ab29a843e0849ddce765ff311677117fb3dc4b28a4461be8351946da0224940a3b564db52666d04.png
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: How to create conditional formatting based on todays date and a column...

    Is the Pacing % you are comparing in column A
    Not sure i understand the terminology

    So you want to get the value from column A % for todays date and compare to the value in F3

    conditional format rule for Green
    =COUNTIFS(A8:A35,">"&$F$3,B8:B35,TODAY())

    Another rule for yellow
    =COUNTIFS(A8:A35,$F$3,B8:B35,TODAY())

    Another for red
    =COUNTIFS(A8:A35,"<"&$F$3,B8:B35,TODAY())

    however, you have a formula in A and getting an exact match maybe difficult - so you may want to consider a range withing
    say -0% + 0.5% for Yellow
    maybe something like
    =COUNTIFS(A8:A35,">="&$F$3, A8:A35,"<="&$F$3+0.005,B8:B35,TODAY())
    OR maybe if under by 0.5%
    =COUNTIFS(A8:A35,">="&$F$3-0.005, A8:A35,"<="&$F$3,B8:B35,TODAY())



    anyway
    heres the sheet
    with the 3 rules as requested
    Attached Files Attached Files
    Last edited by etaf; 02-04-2021 at 03:13 PM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ 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 where date - 90 days <= todays date
    By Howardc1001 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-07-2020, 03:58 AM
  2. [SOLVED] Create a complex calulated field in a query based off of todays date
    By cmorten82 in forum Access Tables & Databases
    Replies: 2
    Last Post: 04-04-2016, 12:05 PM
  3. [SOLVED] Conditional Formatting NOT BASED ON TODAYS DATE.
    By sovero in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-08-2014, 07:45 AM
  4. Conditional Formula - highlighting month column based on todays date
    By frogboy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-09-2012, 10:49 AM
  5. [SOLVED] Conditional Formatting. Anything 4.5 years old + older from todays date needs Highlight.
    By themanwithnoshoes in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-25-2012, 11:58 AM
  6. [SOLVED] Tricky one-Conditional Formatting from todays date
    By leanne2011 in forum Excel General
    Replies: 3
    Last Post: 09-15-2012, 01:28 PM
  7. [SOLVED] Create new column with todays date and jump to column
    By ping8781 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-19-2010, 06:53 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