excel用公式将1至3月显示为第一季度
1个回答
展开全部
假设A列写入了EXCEL电子表格认可的日期数据,则B1单元格写入公式
=IF(A1="","","第"&IF(OR(--TEXT(A1,"m")={1,2,3}),"第一季度",IF(OR(--TEXT(A1,"m")={4,5,6}),"第二季度",IF(OR(--TEXT(A1,"m")={7,8,9}),"三","四")))&"季度","")
下拉填充公式
=IF(A1="","","第"&IF(OR(--TEXT(A1,"m")={1,2,3}),"第一季度",IF(OR(--TEXT(A1,"m")={4,5,6}),"第二季度",IF(OR(--TEXT(A1,"m")={7,8,9}),"三","四")))&"季度","")
下拉填充公式
追答
假设A列写入了EXCEL电子表格认可的日期数据,则B1单元格写入公式
=IF(A1="","","第"&IF(OR(--TEXT(A1,"m")={1,2,3}),"一",IF(OR(--TEXT(A1,"m")={4,5,6}),"二",IF(OR(--TEXT(A1,"m")={7,8,9}),"三","四")))&"季度","")
下拉填充公式
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询