centralcal
New Member
- Joined
- Feb 23, 2018
- Messages
- 1
Hi:
I need to verify whether the dates in my Excel table in the correct format, which is "yyyy/mm/dd", so any other formats like "mm/dd/yyyy" would be incorrect.
I am using this formula:
=IF(NOT(ISERROR(DATEVALUE(<wbr style="font-family: Calibri; font-size: 14.6667px;">TEXT(W2,"yyyy/mm/dd")))),"<wbr style="font-family: Calibri; font-size: 14.6667px;">valid date","invalid date")
While the formula did pick up cells that did not contain date, it failed to pick up cells that had dates in the wrong format like "mm/dd/yyyy". What am I missing from my formula? Please help.
Thank you in advance.
Kev
I need to verify whether the dates in my Excel table in the correct format, which is "yyyy/mm/dd", so any other formats like "mm/dd/yyyy" would be incorrect.
I am using this formula:
=IF(NOT(ISERROR(DATEVALUE(<wbr style="font-family: Calibri; font-size: 14.6667px;">TEXT(W2,"yyyy/mm/dd")))),"<wbr style="font-family: Calibri; font-size: 14.6667px;">valid date","invalid date")
While the formula did pick up cells that did not contain date, it failed to pick up cells that had dates in the wrong format like "mm/dd/yyyy". What am I missing from my formula? Please help.
Thank you in advance.
Kev