Forum Discussion

Bn_Rg's avatar
Bn_Rg
Copper Contributor
Nov 24, 2021
Solved

formula doesn't work

i would like to calculate the number of days between February 15, 1949, and Febrruary 15, 2019, and i type in a cell the following formula:

="2/15/19"-"2/15/49"

but every time it appear me the message #VALUE (see the screenshot).

What do i have to do for fixing this problem?

  • Bn_Rg 

    =DATE(2019,2,15)-DATE(1949,2,15)

     

    You can try this formula. It works in my spreadsheet.

4 Replies

  • Bn_Rg 

    =DATE(49,2,15)-DATE(19,2,15)

    You can enter above formula. However i would enter the dates in two other cells and calculate the difference as shown in attached file.

    • Bn_Rg's avatar
      Bn_Rg
      Copper Contributor
      hi, thanks for answering me, unfortunately with the formula I wrote in my question, it should find the number of days between February 15, 1949 and February 15, 2019. The result must be 25567 days.
      • OliverScheurich's avatar
        OliverScheurich
        Gold Contributor

        Bn_Rg 

        =DATE(2019,2,15)-DATE(1949,2,15)

         

        You can try this formula. It works in my spreadsheet.

Resources