How do I get next Thursday from a random date?

前端 未结 3 1402
一整个雨季
一整个雨季 2021-01-13 08:45

What I want to do is so you have a list of random dates, it will never be the same so it has to be a universal formula, but you get any date, any date of the year and then e

3条回答
  •  北海茫月
    2021-01-13 09:08

    This formula will give you the Thursday following a date in A1

    =A1+7-WEEKDAY(A1+2)

    If A1 is a Thursday it returns that date, if it should be A1+7 if A1 is Thursday then change to this version

    =A1+8-WEEKDAY(A1+3)

提交回复
热议问题