WPS表格引用其他单元格内的日期到当前的单元格?

2025-04-04 05:04:24
推荐回答(1个)
回答1:

在A2中输入或复制粘贴下列公式
="XM-JN"&RIGHT(YEAR(B2),2)&TEXT(MONTH(B2),"00")&TEXT(RANDBETWEEN(80,380),"000")
下拉填充
也可试一下下面两个公式
="XM-JN"&RIGHT(YEAR(B2),2)&TEXT(MONTH(B2),"00")&TEXT(79+COUNT(B$1:B1),"000")

="XM-JN"&RIGHT(YEAR(B3),2)&TEXT(MONTH(B3),"00")&TEXT(80+MOD(ROW(A301),301),"000")