本帖最后由 高个子 于 2023-8-15 16:56 编辑
lpl625 发表于 2023-8-15 16:31
提示错误,请提供原文件。
https://club.excelhome.net/thread-1650045-1-1.html
你截图这个版本没有textjoin函数,需要加辅助列解决。如果不愿意加辅助列,要么下载这个链接的插件,要么用VBA解决,因为VBA更通用。不会VBA就去VBA版块问。
当然,15楼的第一条公式也可以用
=TEXTJOIN("/",1,TEXT(SUBSTITUTE(TEXT(TRIM(MID(SUBSTITUTE(B3,"/",REPT(" ",99)),ROW($1:$16)*99-98,99)),),{"R","uH","uF","V","nH"},,1)&"e0","[>=]G/通用格式"""&{"R","uH","uF","V","nH"}&""";;;"))
如果需要增加单位,仅仅需要在所有{"R","uH","uF","V","nH"}的后面加逗号和对应的符号。举例:如果后面还有uA,你可以把所有的{"R","uH","uF","V","nH"}改成{"R","uH","uF","V","nH","uA"} |