我在Excel中获得1-0(月和日)空白日期。我该如何解决这个问题?我用了
=CONCATENATE(MONTH([@[Date]]),"-",DAY([@[Date]]))
Date Month Month-Day
12/1/2017 0:01 12 12-1
12/1/2017 0:01 12 12-1
12/1/2017 0:07 12 12-1
12/1/2017 0:07 12 12-1
1 1-0
1 1-0
12/1/2017 0:10 12 12-1
12/1/2017 1:08 12 12-1
12/1/2017 1:16 12 12-1
答案 0 :(得分:1)
尝试,
=IF([@date], CONCATENATE(MONTH([@date]),"-",DAY([@date])), TEXT(,))