Calendar date before 1900.

serge

Well-known Member
Joined
Oct 8, 2008
Messages
1,446
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

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
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,224,522
Messages
6,179,299
Members
452,904
Latest member
CodeMasterX

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