|
[广告] Excel易用宝 - 提升Excel的操作效率 · Excel / WPS表格插件 ★ 免费下载 ★ ★ 使用帮助★
本帖最后由 高个子 于 2023-5-15 19:04 编辑
https://club.excelhome.net/thread-1650045-1-1.html
07版就下载这位老师的自定义函数,这个问题不用textjoin公式只能像你那么写,很长并且不方便维护。当然,你也可以去VBA版块问。
- =IF(I3="","",TEXT(I3," 00"))&IF(J3="","",TEXT(J3," 00"))&IF(K3="","",TEXT(K3," 00"))&IF(L3="","",TEXT(L3," 00"))&IF(M3="","",TEXT(M3," 00"))&IF(N3="","",TEXT(N3," 00"))&IF(O3="","",TEXT(O3," 00"))&IF(P3="","",TEXT(P3," 00"))&IF(Q3="","",TEXT(Q3," 00"))&IF(R3="","",TEXT(R3," 00"))&IF(S3="","",TEXT(S3," 00"))&IF(T3="","",TEXT(T3," 00"))&IF(U3="","",TEXT(U3," 00"))&IF(V3="","",TEXT(V3," 00"))&IF(W3="","",TEXT(W3," 00"))&IF(X3="","",TEXT(X3," 00"))&IF(Y3="","",TEXT(Y3," 00"))&IF(Z3="","",TEXT(Z3," 00"))&IF(AA3="","",TEXT(AA3," 00"))&IF(AB3="","",TEXT(AB3," 00"))&IF(AC3="","",TEXT(AC3," 00"))&IF(AD3="","",TEXT(AD3," 00"))&IF(COUNTIF(I3:AD3,">0")<=14,":1,2,3,4;",":2,3,4,5;")
复制代码
|
|