字符串 20180613 转为日期 2018-06-13,单元格内输入如下公式
=DATE(LEFT('字符串',4),MID('字符串',5,2),RIGHT('字符串',2))
IF 函数内的或、与
=IF(AND(A=B,C=D),"True时的显示值","False时的显示值")
将日期转为对应的星期几
=TEXT(WEEKDAY("日期",1),"aaaa")