In a previous question that can be find here, the following formula to find overlaps in date ranges was kindly provided by Mr Shane:
=ARRAYFORMULA(TEXTJOIN(", ",TRUE,IF(($A1<=$B$1:$B$5)*($B1>=$A$1:$A$5)*($C1=$C$1:$C$5),IF(ROW($A$1:$A$5)=ROW(),"","Row"&ROW($A$1:$A$5)),"")))
When dragged down, it's result is (column D):
| # | A | B | C | D |
|---|---|---|---|---|
| 1 | 01/01/2022 | 02/01/2022 | Task1 | Row3 |
| 2 | 01/15/2022 | 02/15/2022 | Task2 | |
| 3 | 01/29/2022 | 02/03/2022 | Task1 | Row1, Row3 |
| 4 | 01/18/2022 | 02/22/2022 | Task3 | |
| 5 | 02/02/2022 | 02/15/2022 | Task1 | Row3 |
The question is: could it be replaced by an arrayformula?
