+ Reply to Thread
Results 1 to 2 of 2

Conditional formatting with two variables not working

  1. #1
    Registered User
    Join Date
    11-16-2017
    Location
    Ohio, United states
    MS-Off Ver
    2013
    Posts
    41

    Conditional formatting with two variables not working

    Afternoon every one!



    I am trying to get a conditional formatting rule that formats a cell based on two conditions. Condition one is that the cell has a value greater than 0. Condition 2 is that the cell is in a column that has a date that occurred before today. For example, cell B4 should be formatted red, based on the fact that it is greater than 0, and its in a Tuesday column, and today is Wednesday. I have tried and i have also tried putting today's date and 0 in a separate cell to make them absolute references, and still it wont work. I know im on the right track but im sure there is something simple i have done wrong.



    Thank you all for your help,

    Codemancode
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Conditional formatting with two variables not working

    Select A2:F4 and use this
    =AND(A2 > 0,A$1 < TODAY())
    (Remove the spaces)

+ 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. [SOLVED] Conditional Formatting with two variables
    By rhett7660 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-31-2017, 05:49 PM
  2. Conditional Formatting Variables
    By h.noor in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-09-2015, 04:15 PM
  3. [SOLVED] Conditional Formatting with variables
    By Aussie1 in forum Excel General
    Replies: 1
    Last Post: 06-04-2014, 05:38 PM
  4. VBA conditional formatting variables
    By charles1239 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-01-2012, 10:22 PM
  5. Conditional Formatting with 2 variables (or 3?)
    By Big1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-08-2012, 04:07 PM
  6. Conditional Formatting - more than 3 variables
    By mc515 in forum Excel General
    Replies: 2
    Last Post: 03-20-2008, 07:36 AM
  7. Conditional formatting for more than 3 variables
    By Emile in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-07-2006, 12:30 PM

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