To convert all of these to date format, go to an empty column to the right of the existing data set and use this formula:
[COLOR=blue white]=IF(ISERROR(DATEVALUE(A2)),DATEVALUE(LEFT(A2,2)&"/"&MID(A2,3,2)&"/"&RIGHT(A2,4)),DATEVALUE(A2))[/color]
(replacing the 'A2' with whatever cell you need, of course). Then format this new column however you want.
FYI, for future reference:
If all you need to do is convert text that looks like numbers to actual numbers (you could use this if all of your data looked like mm/dd/yyy), you could use one of the following....
The 'times 1 fix':
[ul][li]type
1 in an empty cell (to the right of all existing data[/li]
[li]copy that cell[/li]
[li]highlight the section of data that you want to convert[/li]
[li]go to
Edit > Paste Special and select
values and
Multiply[/li][/ul]
VB solution(SkipVought posted this a while back):
Code:
Sub z_ConvertToNumbers()
For Each c In Selection
With c
.Value = .Value
End With
Next
End Sub
Just highlight the desired range before running the macro.
[tt]
-John[/tt]
________________________
To get the best answers fast, please read faq181-2886