海月姬是晒猫狂魔
2024-11-17 23:31:31
最佳回答
1 新建一张表格,在表格中输入**号、出生年月、月日、生肖、星座,并输入一些**号码,我们将根据**号码导出生肖和星座。 2 选择b2单元格,在b2中输入=date(mid(a2,7,4),mid(a2,11,2),mid(a2,13,2)),回车,就可以看到出生年月了,用填充手柄把剩余的单元格都填充好。2相关内容非法爬取自百度经验3 选择c2单元格,在c2中输入=text(b2,"m-d"),回车,就可以看到月日了,用填充手柄把剩余的单元格都填充好。4 选择d2单元格,在d2中输入=mid("鼠牛虎兔龙蛇马羊猴鸡狗猪",mod(year(today())-datedif(b2,today(),"y")-4,12)+1,1),回车,就可以看到生肖了,用填充手柄把剩余的单元格都填充好。5 选择e2单元格,在e2中输入=if(and(c2>="3-21",c2<="4-19"),"白羊座",if(and(c2>="4-20",c2<="5-20"),"金牛座",if(and(c2>="5-21",c2<="6-21"),"双子座",if(and(c2>="6-22",c2<="7-22"),"巨蟹座",if(and(c2>="7-23",c2<="8-22"),"狮子座",if(and(c2>="8-23",c2<="9-22"),"处女座",if(and(c2>="9-23",c2<="10-23"),"天秤座",if(and(c2>="10-24",c2<="11-21"),"天蝎座",if(and(c2>"11-22",c2<="12-21"),"射手座",if(and(c2>="12-22",c2<="1-19"),"摩羯座",if(and(c2>="1-20",c2<="2-18"),"水瓶座",if(and(c2>="2-19",c2<="3-20"),"双鱼座")))))))))))),回车,就可以看到星座了,用填充手柄把剩余的单元格都填充好。现在表格就做好了。end 20210311