Conditional formatting based on condition of one cell and value of another

jstevens_RBI

New Member
Joined
Oct 22, 2019
Messages
1
I have a column of dates in a table that has a conditional formula applied that turns the cell color red if the date is >= today()-30. I have another column with names of weekdays in the same table. I have another column that I want to turn green if the date cell is red and the weekday is Monday. How can I accomplish this???
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Welcome to the Board!

You cannot base Conditional Formatting off of the formatting applied by other Conditional Formatting, but you can apply the same logic.

Let's say that your date is in cell A1. Assuming that your "Day of Week" is the day of week for the date in cell A1, you can just use this Conditional Formatting formula:
Code:
=AND(A1>=(TODAY()=30),WEEKDAY(A1)=2)
then apply your green color formatting.
 
Upvote 0

Forum statistics

Threads
1,214,583
Messages
6,120,380
Members
448,955
Latest member
BatCoder

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