Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi All,
I need a conditional format to make a cell change red if the date within it has passed. The only drawback is that the date in the cell is at the end of some text, so the cell content would be "Target date: 12/10/06" or "Target date: 10/10/06" So really I need a formula that either does a mid or right to get the date which will be the last 6 digits in the cell, compare it to todays date, and if greater than or equal to then needs to turn that cell red. I am useless at conditional formatting so any help would be greatly appreciated. Many thanks Duncan |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
=DATEVALUE(RIGHT(C2,8))=TODAY()
Regards, Stefi €žDuncan€ť ezt Ă*rta: Hi All, I need a conditional format to make a cell change red if the date within it has passed. The only drawback is that the date in the cell is at the end of some text, so the cell content would be "Target date: 12/10/06" or "Target date: 10/10/06" So really I need a formula that either does a mid or right to get the date which will be the last 6 digits in the cell, compare it to todays date, and if greater than or equal to then needs to turn that cell red. I am useless at conditional formatting so any help would be greatly appreciated. Many thanks Duncan |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Stefi,
That works perfectly, many thanks Duncan Stefi wrote: =DATEVALUE(RIGHT(C2,8))=TODAY() Regards, Stefi ,,Duncan" ezt írta: Hi All, I need a conditional format to make a cell change red if the date within it has passed. The only drawback is that the date in the cell is at the end of some text, so the cell content would be "Target date: 12/10/06" or "Target date: 10/10/06" So really I need a formula that either does a mid or right to get the date which will be the last 6 digits in the cell, compare it to todays date, and if greater than or equal to then needs to turn that cell red. I am useless at conditional formatting so any help would be greatly appreciated. Many thanks Duncan |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You are welcome! Thanks for the feedback!
Stefi €žDuncan€ť ezt Ă*rta: Hi Stefi, That works perfectly, many thanks Duncan Stefi wrote: =DATEVALUE(RIGHT(C2,8))=TODAY() Regards, Stefi ,,Duncan" ezt Ă*rta: Hi All, I need a conditional format to make a cell change red if the date within it has passed. The only drawback is that the date in the cell is at the end of some text, so the cell content would be "Target date: 12/10/06" or "Target date: 10/10/06" So really I need a formula that either does a mid or right to get the date which will be the last 6 digits in the cell, compare it to todays date, and if greater than or equal to then needs to turn that cell red. I am useless at conditional formatting so any help would be greatly appreciated. Many thanks Duncan |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Conditional formatting--different formatting depending on cell con | Excel Discussion (Misc queries) | |||
Protect Cell Formatting including Conditional Formatting | Excel Discussion (Misc queries) | |||
conditional Formatting based on cell formatting | Excel Worksheet Functions | |||
conditional Formatting based on cell formatting | Excel Worksheet Functions | |||
Conditional Formatting that will display conditional data | Excel Worksheet Functions |