Skip to main content
2 / 3
本文に 145 文字追加
yn95ny
  • 298
  • 3
  • 8

IF関数とAND関数で、30分単位の条件式を作ればできそうです。

=IF(H1<TIME(8,30,0),"8:30",IF(AND(H1>=TIME(8,31,0),H1<TIME(9,1,0)),"9:00"))

=IF(H2<TIME(18,10,0),"17:40",IF(AND(H2>=TIME(18,10,0)),"18:10"))

yn95ny
  • 298
  • 3
  • 8