Conditional formatting with date

bionicle

Board Regular
Joined
Apr 23, 2009
Messages
186
Office Version
  1. 365
Platform
  1. Windows
hi All,

need a little help please.

in column A I have several different names, in column B I have a list of dates.

what I need to do is change the colour of the cell in column D using conditional formatting when the name (lets say David) appears next to a date that greater than 180 days.

I can get the cell to change based on the name alone however I cant get the date side to change so putting them together is defiantly looking like its going to fail.


any help would be appreciated

steve
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
greater than 180 days old yes?

in the conditional formatting section select new rule, then "Use a formula to determine which cells to format", the enter the below formula

<today()-180)
=AND(A2="David",B2 < TODAY()-180)
then pick your format, then apply it to the area you want.</today()-180)
 
Last edited:
Upvote 0
Select D2 to the last row & use this formula
=AND(B2< TODAY()-180,A2="David")
 
Upvote 0

Forum statistics

Threads
1,214,428
Messages
6,119,420
Members
448,895
Latest member
omarahmed1

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