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:

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
So it doesn't turn yellow: here's the modified formula
=AND(C2=Sheet1!$A$2,E2-TODAY()=305)

Sheet 1A2 is just N
 
Upvote 0
So it doesn't turn yellow: here's the modified formula
=AND(C2=Sheet1!$A$2,E2-TODAY()=305)
Looks like you dropped/missed the greater than sign in your formula.
Take a closer look at Weazel's formula.
 
Upvote 0
Should that not be > = 350 at the end? The > is missing - maybe that's the problem?
 
Upvote 0
heres the formula it still doesn't work, i might be a little dense. Is there a way I can post my workbook?

=AND(C2=Sheet1!$A$2,E2-TODAY()>305)
 
Upvote 0
isn't the hire date in column B ?

maybe i misunderstood something
 
Last edited:
Upvote 0
Yep, the hire date is in Column B. updated formula still doesn't work. Am I using todays date right?

=AND(C3=Sheet1!$A$3,B3-TODAY()>305)
 
Upvote 0
But it should be this:

=AND(C3=Sheet1!$A$3,B3-TODAY() > = 305)

Please explain in detail what you mean by "doesn't work". Wrong result? Error message?
 
Upvote 0

Forum statistics

Threads
1,214,591
Messages
6,120,431
Members
448,961
Latest member
nzskater

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