如何在EXCEL表格中设置时间和星期、自动跳转,具体如下
工具/原料
联想小新
windows7
excel1.2.1
方法/步骤
1、打开EXCEL创建两个单元格标题:
2、设置现在时间可以直接使用excel的=NOW()函数,在A2单元格输入=NOW():
3、输入完=NOW()函数,直接回车就可以看到当前时间:
4、显示星期几需要用到IF函数TO锓旆痖颧DAY函数WEEKDAY函数,在星期下的B2单元格输入公式:=IF(WEEKDAY(TODAY())=2,&鳎溻趄酃quot;星期一",IF(WEEKDAY(TODAY())=3,"星期二",IF(WEEKDAY(TODAY())=4,"星期三",IF(WEEKDAY(TODAY())=5,"星期四",IF(WEEKDAY(TODAY())=6,"星期五",IF(WEEKDAY(TODAY())=7,"星期六","星期日"))))))
5、点击回车就可以看到星期几了。