highlight dates in Cells, and prevent the use of dates in a Column

drom

Well-known Member
Joined
Mar 20, 2005
Messages
528
Office Version
  1. 2021
  2. 2019
  3. 2016
  4. 2013
  5. 2011
  6. 2010
  7. 2007
Hi and thanks in advance!

I have a column were I have to put PAX, son numbers bigger than 0

I am doing this this with:
  • Data validation/Allow = Whole Number/Data = Grater than/Minimun =0
And I am formatting the cells to highlight in RED cells were the values are:
  • =ISTEXT(A8) 'TEXT
  • =A8<=0 'negative values
  • =A8="" 'Blank cells


Works OK, I guess I could use just 1 formula to highLight those cells anyway...

Some Times Some users are introducing Dates in this Column (Column A)
So, the DataValidation does not Work
and the Conditional Formatting does not work (or Works but OK, because I am missing to avoid Dates)

Any Help to avoid using Dates in this cells ??
and to HighLight if I put dates (eg: using VBA, Activecell="5-5")
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,215,772
Messages
6,126,803
Members
449,337
Latest member
BBV123

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