excel formula to subtract number of days from a date

前端 未结 5 1580
醉话见心
醉话见心 2021-02-13 19:16

is there a way in Excel to have a formula that does something like this:

= 12/20/2010 - 180

which would take a certain date (12/20/2010 in this case) and subtrac

5条回答
  •  伪装坚强ぢ
    2021-02-13 19:40

    You can paste it like this:

    = "2010-12-20" - 180
    

    And don't forget to format the cell as a Date [CTRL]+[F1] / Number Tab

提交回复
热议问题