Forum Discussion

cgaechter's avatar
cgaechter
Copper Contributor
Nov 16, 2023
Solved

COUNTIFS with date range within a cell

Hello,   I am trying to build a template for use every month, where the date range would change for each month to the month in question. The same countifs formula would be used in multiple cells wi...
  • OliverScheurich's avatar
    Nov 16, 2023

    cgaechter 

    =COUNTIFS(Sheet1!D:D, ">"&A1,Sheet1!D:D, "<"&A2)

    =SUMPRODUCT((Sheet1!D:D>A1)*(Sheet1!D:D<A2))

     

    These formula return the intended result in my sheet.

Resources