Date format error in Excel

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a spreadsheet that has about 8000 records. It was working fine until I
started using some functions like (=trim) and (=clean). Now all my date
colums will not change from displaying the dates as numbers back to the
proper date format. The cell displays 38908 but the function field shows it
as 10/07/2006. I have formatted the cell every which way possible but it does
not change. Any suggestions?
 
Richy,

Format the cells as date, then in a blank cell, enter a 1, copy it, select all your date cells,
choose Edit / Pastespecial.... Check "Values" and "Multiply" and click OK.

HTH,
Bernie
MS Excel MVP
 
Thanks it probably would have worked but I ended up creating a new worksheet
and formatting all my date and time fields then copyig the columns over and
selecting "keep destination format". That seems to do the trick. Hope it
stays that way, I now concerned with what caused the change
 
Thanks for your help but I couldn't get this one to work it gave me an error
due to the +0 at the end.
 
Richy,

TRIM returns a string. Use =VALUE(TRIM(....)) in the future, and then your formatting will work.

HTH,
Bernie
MS Excel MVP
 
Back
Top