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.

[TABLE="class: grid, width: 50"]
<tbody>[TR]
[TD]7/15/2015[/TD]
[TD]YES[/TD]
[/TR]
[TR]
[TD]77/12/2015[/TD]
[TD]#VALUE![/TD]
[/TR]
[TR]
[TD]7/14/2015[/TD]
[TD]YES[/TD]
[/TR]
[TR]
[TD]7/11/2015AA[/TD]
[TD]#VALUE![/TD]
[/TR]
[TR]
[TD]7/17/2015[/TD]
[TD]YES[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
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,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

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