Strange Formatting Problem

CCHRdept

New Member
Joined
Apr 25, 2002
Messages
6
I have a workbook containing serveral worksheets and there is only a formatting problem with one of the worksheets. I accidentally hit control/something when I was working on this particular worksheet. This action automatically changed the dates to large numbers (i.e. 8/28/02 now reads 37496). The trick is that in the menu bar describing what is contained in the cell next to the = sign appears the date 8/28/02 and not the number? When I enter a new row and new date, the date automatically changes to a large number -- going to the formatting menu does not change the cell format?
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

Damon Ostrander

MrExcel MVP
Joined
Feb 17, 2002
Messages
4,239
Hi Kirsten,

Actually, this is not strange at all. In Excel the underlying value for all dates is simply the number of days elapsed since December 31, 1899. Apparently whatever you did told Excel to display the number as numbers rather than dates. To get them back to being represented as dates simply select all the cells to be formatted as dates, then go to Format > Cells > select Date in the Category list, and select the desired date format in the Type list.
 
Upvote 0

Forum statistics

Threads
1,191,318
Messages
5,985,950
Members
439,991
Latest member
NCWalker

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
Top