Excel: calculate dates difference

New Contributor

Dear All,

I have this problem with my Excel being part of Office 2019 Professional Plus. When using the formula for calculating difference in days between dates (in the Italian version the formula is =GIORNI, in the English one it seems to be =DATE.DIF), the formula works with years after 1900, but does not work with years before 1900. Just have a look at this:


Here the formula used in the third column is =GIORNI(A1;B1). Other formulas (DATA.DIF or DATADIF or DATE.DIF or DATEDIF) are not accepted.

I have already tried with the Support chat to verify the account and to repair my Office 2019 Professional Plus; and I tried to digitize the data and formula in an entirely new worksheet.

Thanks for your help,


1 Reply

@Guido_Abbat1505 Excel dates are held as integers with 1 being 01/01/1900 using dates before this in excel is tricky and not native to excel.  Could you offset all your date with the same value to bring them after 01/01/1900, i.e add 2000 years to each date, this would then allow you to use the datedif function.