CF : Check If Data as Real Date

muhammad susanto

Well-known Member
Joined
Jan 8, 2013
Messages
2,077
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
hi all..

how to make conditional formatting with shading Red color for data is NOT a real date
my format date dd/mm/yyyy or dd-mmmm-yyyy
if blank data not highlighted red color too
for this :
Book1
GH
1dateExplanation
231/12/2020true format date
323/03/1989true format date
412/12/2001contains mark (') approstrop
524/13/2002wrong format date
6blank/empty cell
7textwrong format date
801/01/2005true format date
Sheet1


any help, thanks in advance
.sst
 
Wrong, being edited
 
Last edited:
Upvote 0

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Or going by your original post

Book1
GH
1dateExplanation
231/12/2020true format date
323/03/1989true format date
412/12/2001contains mark (') approstrop
524/13/2002wrong format date
6
7textwrong format date
801/01/2005true format date
Sheet3
Cells with Conditional Formatting
CellConditionCell FormatStop If True
G2:G8Expression=AND(OR(NOT(LEFT(CELL("format",G2),1)="D"),ISTEXT(G2)),G2<>"")textNO
 
Upvote 0
Solution

Forum statistics

Threads
1,216,074
Messages
6,128,653
Members
449,462
Latest member
Chislobog

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