Forum Discussion

ajl_ahmed's avatar
ajl_ahmed
Iron Contributor
Nov 22, 2022

Getting the date of each mondays between two dates

Hi

I am using google Sheets and I need a formula or function that returns the date of each Monday between two dates, see the attached file. 

Thx. 

  • ajl_ahmed 

    Format column C as date.

    In C6:

     

    =SEQUENCE(ROUNDUP((J7-J6)/7,0),1,J6+7-WEEKDAY(J6,12),7)

     

    This will automatically spill to the rows below.

  • ajl_ahmed 

    Format column C as date.

    In C6:

     

    =SEQUENCE(ROUNDUP((J7-J6)/7,0),1,J6+7-WEEKDAY(J6,12),7)

     

    This will automatically spill to the rows below.

    • ajl_ahmed's avatar
      ajl_ahmed
      Iron Contributor
      a little bit of modification on my question
      If I want to get the dates of each Sunday, Tuesday, Wednesday, and Thursday between the starting and ending dates. What should be the formula?
    • ajl_ahmed's avatar
      ajl_ahmed
      Iron Contributor

      a little bit of modification on my questionIf I want to get the dates of each Sunday, Tuesday, Wednesday, and Thursday between the starting and ending dates. What should be the formula?HansVogelaar 

Resources