Nubers changed format of cell and i am unable to change it back

I opened a Numbers file and found that the date column had been changed to a 5 digit numeric. It was originally dd/mm/yyyy format. I recognise the format from my excel days as a numeric date format perhaps. Regardless I can find no way to change the format back to a readable date which makes the file unusable. Anyone know how i can restore the date information?

MacBook Air 13″, macOS 11.2

Posted on Jun 6, 2021 3:37 AM

Reply
Question marked as Top-ranking reply

Posted on Jun 6, 2021 4:23 AM

What you are saying happened is not possible. Numbers does not use 5 digit numbers for dates. There is no cell format to turn a 5 digit number into a date nor one to turn a date into a 5 digit number. Numbers will import Excel's 5-digit numeric dates by turning them into actual dates but that's the end of it, they become dates and the numbers are gone.


It is much more likely that you opened an Excel file using Numbers (i.e., imported an Excel file) and it did not turn the numbers into dates like it was supposed. This happens sometimes with older Excel files for reasons unknown. Some people open then re-save their file using LibreOffice before importing to Numbers, which seems to fix whatever is wrong with the file. Others change the dates after exporting by creating a temporary column and using a formula. It is also possible you opened an older version of your Numbers file (which had to have been imported from Excel) and this version was prior to you changing the numbers into dates.


For example, if your dates are in column A,

  1. Insert a new column B in your table.
  2. In all cells of column B put the formula =DATE(1899,12,30)+A
  3. Double check to make sure these are the correct dates, not off by a few days or 4 years (Excel also used a date format based on the year 1904)
  4. Select the dates in column B and Copy
  5. Paste Formula Results to column A (it is in the Edit menu).
  6. Delete column B
2 replies
Question marked as Top-ranking reply

Jun 6, 2021 4:23 AM in response to genius@thebar

What you are saying happened is not possible. Numbers does not use 5 digit numbers for dates. There is no cell format to turn a 5 digit number into a date nor one to turn a date into a 5 digit number. Numbers will import Excel's 5-digit numeric dates by turning them into actual dates but that's the end of it, they become dates and the numbers are gone.


It is much more likely that you opened an Excel file using Numbers (i.e., imported an Excel file) and it did not turn the numbers into dates like it was supposed. This happens sometimes with older Excel files for reasons unknown. Some people open then re-save their file using LibreOffice before importing to Numbers, which seems to fix whatever is wrong with the file. Others change the dates after exporting by creating a temporary column and using a formula. It is also possible you opened an older version of your Numbers file (which had to have been imported from Excel) and this version was prior to you changing the numbers into dates.


For example, if your dates are in column A,

  1. Insert a new column B in your table.
  2. In all cells of column B put the formula =DATE(1899,12,30)+A
  3. Double check to make sure these are the correct dates, not off by a few days or 4 years (Excel also used a date format based on the year 1904)
  4. Select the dates in column B and Copy
  5. Paste Formula Results to column A (it is in the Edit menu).
  6. Delete column B

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Nubers changed format of cell and i am unable to change it back

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.