在Excel2010中,假定一个工作表中的单元格B2的内容为2011/12/20,则函数=month(B2)的值为()。
(A)20
(B)12
(C)2011
(D)2012 解析:在Excel 2010中,日期的默认格式为2008/12/20,表示“年/月旧”。month(B2)函数能够返回自变量参数B2所表示日期中的月份值,因B2的日期为“2011/12/20”所以两数值为其中的月份值12。
参考答案
继续答题:下一题


(A)20
(B)12
(C)2011
(D)2012 解析:在Excel 2010中,日期的默认格式为2008/12/20,表示“年/月旧”。month(B2)函数能够返回自变量参数B2所表示日期中的月份值,因B2的日期为“2011/12/20”所以两数值为其中的月份值12。