datedynamicgoogle-sheetsauto-populate

Fill a column of every other date between to given dates in Google Sheets


How can I have a column dynamically list every other date between a start date and an end date?


Solution

  • this is pretty much universal solution:

    =ARRAYFORMULA(FILTER(TO_DATE(ROW(INDIRECT("A"&A2):INDIRECT("B"&B2))),
     MOD(ROW(INDIRECT("A1:A"&COUNTA(TO_DATE(ROW(INDIRECT("A"&A2):INDIRECT("B"&B2)))))), 2)))
    

    0