Conditional formatting help!!

lisaspencer

New Member
Joined
Jul 20, 2020
Messages
21
Office Version
  1. 365
Platform
  1. MacOS
I have a table with a "DATE" column that I generally update daily with the current date, so my current conditional formatting for that column is - Cell Value < TODAY() - (with a green colour), so if the date is from yesterday or beyond then it will highlight green until I change it. But I have 2 other columns in the table; "REJECTIONS" and "GHOSTED", and if there's data or ("Y") I want the data to override the "DATE" formatting. So I want the "DATE" column to still have the highlighted green formats when the date is older than today, unless there is a 'Y' in the "REJECTIONS" and/or "GHOSTED" columns corresponding with the same row. If there is a 'Y' in the "REJECTIONS" column, then I want the date in the "DATE" column to be a different colour again. Is there a way to do an IF double formatting equation? I've attached some images to show what I mean, the second picture of the table with the dates highlighted dark pink is what I'm going for (obviously formatted manually just to show what I want through an equation).
 

Attachments

  • Screenshot 2020-07-20 at 22.04.19.png
    Screenshot 2020-07-20 at 22.04.19.png
    164.3 KB · Views: 11
  • Screenshot 2020-07-20 at 22.05.02.png
    Screenshot 2020-07-20 at 22.05.02.png
    97.2 KB · Views: 11
  • Screenshot 2020-07-20 at 22.07.18.png
    Screenshot 2020-07-20 at 22.07.18.png
    183.3 KB · Views: 9

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Hi LisaSpencer,

So you have three rules and their priority is:
  1. If Y in Rejection then red.
  2. If Y in Ghosted then no format
  3. If Date before today then green

You can select "Stop if true" on each conditional format check so if you have them in the above sequence it will work.

LisaSpencer.xlsx
DEFGHIJKL
1Last MessageWBASTNGR
215-Jul-20Y
316-Jul-20Y
417-Jul-20YY
518-Jul-20Y
619-Jul-20Y
718-Jul-20
818-Jul-20YY
918-Jul-20
1023-Jul-20Y
1124-Jul-20Y
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D2:D11Expression=L2="Y"textYES
D2:D11Expression=K2="Y"textYES
D2:D11Expression=D2<TODAY()textYES
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top