Calendar date before 1900.

serge

Well-known Member
Joined
Oct 8, 2008
Messages
1,459
Office Version
  1. 2007
Platform
  1. Windows
Hi,
I'm trying to calculate the time between 2 date that are before 1900, I have the first date in B1 and the end date in C1, I'm wondering if someone would have an excel formula that will calculate the year, month, day in cell D1 ?

I have this one but doesn't do the job !!! only after 1900.

=DATEDIF(B1,C1,"Y")&" Ans "&DATEDIF(B1,C1,"YM")&" Mois "&C1-EDATE(B1,DATEDIF(B1,C1,"M"))&" Jours"

123456.png


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)
Excel can't read dates before 1900. The figure in column B is text.

One way round it would be to add 100 years to the dates in column B and C, convert them to date serial numbers, and then subtract one from the other. It's a bit of a hack, but it will work.
 
Upvote 0
Check out my post (#4) here.

 
Upvote 0

Forum statistics

Threads
1,225,626
Messages
6,186,090
Members
453,337
Latest member
fiaz ahmad

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