Forum Discussion
cgaechter
Nov 16, 2023Copper Contributor
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...
- Nov 16, 2023
=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.
OliverScheurich
Nov 16, 2023Gold Contributor
=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.
cgaechter
Nov 16, 2023Copper Contributor
amazing !! thank you the first one worked with the &
Thanks 🙂
Thanks 🙂