比如 2022-4-14 12:10:36 得到 2022-4-14 12:00:00 2022-4-14 12:32:36 得到 2022-4-14 13:00:00
if(MINUTE(a2)<30,CONCATENATE(FORMAT(a2,"yyyy-MM-dd")," ",hour(a2),":00:00"),CONCATENATE(FORMAT(a2,"yyyy-MM-dd")," ",format(hour(a2)+1,"00"),":00:00"))
a1改成你的时间单元格
if(MINUTE($$$)>29,format(todate(DATETONUMBER($$$)+3600000),"yyyy-MM-dd HH:00:00"),format($$$,"yyyy-MM-dd HH:00:00"))