dec 31, 1899

lezawang

Well-known Member
Joined
Mar 27, 2016
Messages
1,805
Office Version
  1. 2016
Platform
  1. Windows
Hi I know I can not enter that date 31/12/1899 in excel because the first day is 1/1/1900. What to do if I have application need to enter date in 1899? excel wont be good choice for that application for example? Thank you.
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
You can try using the 1904 date system in Excel.
File - Options - Advanced - 'When calculating this workbook'

That will allow older dates.
I'm not familiar enough with that option to know what (if any) side effects that may have. I suggest testing on a 'copy' of your original book.
 
Upvote 0
The linked file that Macropod referenced basically substitutes VBA's date processing for the normal worksheet functions.
VBA handles dates differently that the worksheet functions. 1 is still 1 Jan 1900, but in VBA dates before that are allowed and handled correctly.
Also DateValue("2/28/1900")+1 is 3/1/1900 in VBA, but 2/29/1900 on the worksheet.

If I had to use Excel with dates before the 20th century, I'd format the cells to TEXT and use UDF's for date calculations. (Like the Macropod's linked file)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,212
Members
452,618
Latest member
Tam84

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