Conditional Format: IF formula with AND

tennisbuck

New Member
Joined
Apr 29, 2013
Messages
23
Hi Board,

On the attached spreadsheet, what would be the formula I can use to conditionally format cell E2 to yellow based on the following criteria:

1.) Cell C2=N
2.) Cell E2 is 305 days or greater then the hire date


Mike
DirectorHire DateMedia Fill Y/NDate Required60 DaysComments
Mike8/23/2016N2/21/20176/21/2017

<tbody>
</tbody>
 
Last edited:
It doesn't turn yellow, with this formula =AND(C3=Sheet1!$A$3,B3-TODAY() > = 305).

I have Column E date 7/24/18. This means Hire Date-Todays date is greater then 305 days
 
Upvote 0

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
When I use the formula =AND(C3=Sheet1!$A$3,B3-TODAY() > = 305) it doesn't turn yellow

Column C=NO and I moved the hire date back to 8/13/2014 which -Todays date is greater then 305 days
 
Last edited:
Upvote 0
When I use the formula =AND(C3=Sheet1!$A$3,B3-TODAY() > = 305) it doesn't turn yellow

Column C=NO and I moved the hire date back to 8/13/2014 which -Todays date is greater then 305 days
 
Upvote 0
If B3 is a date in the past, flip it around so that it is:
Code:
=AND(C3=Sheet1!$A$3,(TODAY()-B3)>=305)
 
Upvote 0
Also, it appears that you have Cross-Posted here: Conditional Formatting using IF/AND

While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule #13 here along with the explanation: Forum Rules). This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0

Forum statistics

Threads
1,215,334
Messages
6,124,325
Members
449,154
Latest member
pollardxlsm

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