|
F3=IFERROR(INDEX($C$3:$C$23,SMALL(IF((($A$3:$A$23)>(TODAY()-WEEKDAY(TODAY(),2)))*(($A$3:$A$23)<(TODAY()-WEEKDAY(TODAY(),2)+8))+(($B$3:$B$23)>(TODAY()-WEEKDAY(TODAY(),2)))*(($B$3:$B$23)<(TODAY()-WEEKDAY(TODAY(),2)+8))+(($A$3:$A$23)<=(TODAY()-WEEKDAY(TODAY(),2)))*(($B$3:$B$23)>=(TODAY()-WEEKDAY(TODAY(),2)+8)),ROW($A$1:$A$21),FALSE),ROW(A1))),"")
G3=IFERROR(INDEX($C$3:$C$23,SMALL(IF((($A$3:$A$23)>(TODAY()+7-WEEKDAY(TODAY(),2)))*(($A$3:$A$23)<(TODAY()-WEEKDAY(TODAY(),2)+15))+(($B$3:$B$23)>(TODAY()+7-WEEKDAY(TODAY(),2)))*(($B$3:$B$23)<(TODAY()-WEEKDAY(TODAY(),2)+15))+(($A$3:$A$23)<=(TODAY()+7-WEEKDAY(TODAY(),2)))*(($B$3:$B$23)>=(TODAY()-WEEKDAY(TODAY(),2)+15)),ROW($A$1:$A$21),FALSE),ROW(A1))),"")
数组公式,三键下拉 |
|