How to utilize date add function in Google spreadsheet?

前端 未结 10 744
忘掉有多难
忘掉有多难 2021-02-04 23:46

I believe the issue I am having now should be much easier in MS Excel. However, since my company uses Google Spreadsheet so I have to figure out a way.

Basically, I have

10条回答
  •  温柔的废话
    2021-02-05 00:16

    I like to keep it simple. If A1 holds the date and B1 holds the number of months to add, then

    =date(year(A1),month(A1)+B1,day(A1))
    

    would calculate the required result. The same way could be used for days or years

提交回复
热议问题