Resolving Dates in Texts to remove #Value errors

CoachJava

New Member
Joined
Nov 25, 2013
Messages
9
I need to do some quality checks for manual entries by staff into a system which generates an export. I receive the export with entered dates in text form. I need to simply determine if the dates were entered correctly (i.e. proper format). I need formulas for future projects.

Column A in table below is the text from the export. Column B simply is =if(A2*1>0,"YES","NO"). I need to figure a way to resolve the #value! errors so if the date is incorrect and cannot display a value, it says "NO".

Any suggestions would be GREATLY appreciated.

7/15/2015YES
77/12/2015#VALUE!
7/14/2015YES
7/11/2015AA#VALUE!
7/17/2015YES

<tbody>
</tbody>
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Try ISNUMBER insted

=IF(ISNUMBER(A2*1),"YES","No")

Or if TRUE/FALSE results is sufficient instead of Yes/No, then simply
=ISNUMBER(A2*1)
 
Upvote 0
can you just not filter on that column where its not equal to YES
 
Upvote 0

Forum statistics

Threads
1,215,759
Messages
6,126,728
Members
449,332
Latest member
nokoloina

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