显示格式 A(B)/C(D)
时间:2023-11-06 13:03:05
实例操作步骤:
前提要求:A1,B1,C1,D1四个格子中有数,用公式来做文本的自动连接,显示格式 A(B)/C(D)。
若A,B,C,D都为0,啥都不显示。
若C,D同为0,不显示/C(D),即/0(0)不显示;
若A,B中有一个为0一个不为0,不显示为0的项;同理,C,D中有一个为0,一个不为0时,不显示为0的。
具体实现(EXCEL公式):
=IF(AND(A1=0,B1=0,C1=0,D1=0),"",IF(AND(A1=0,B1=0,C1=0,D1<>0),"0/("&D1&")",
CONCATENATE(IF(A1=0,"",A1),IF(B1=0,"","("&B1&")"),IF(AND(C1=0,D1=0),"","/"),CONCATENATE(IF(C1=0,"",C1),
IF(D1=0,"","("&D1&")")))))
实现效果:
标签:不为,中有,公式,显示,Excel教程
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Win10 Mobile预览版10536升级更新截图曝光:版本号10.0.10536.1003
2022-02-09 03:14:41
![](https://img.aspxhome.com/file/2023/28/a247577_0s.jpg)
Win10系统电脑C盘有哪些文件是可以删除的?
2023-04-14 11:31:47
![](https://img.aspxhome.com/file/2023/1/a283525_0s.png)
双标题excel表格怎么根据百分比排序?
2023-04-24 04:50:58
![](https://img.aspxhome.com/file/2023/8/41678_0s.jpg)
word检查拼写和修改语法设置
2022-11-06 22:23:47
wps打印图片为什么缺一块?
2022-01-28 19:33:11
![](https://img.aspxhome.com/file/2023/7/a182137_0s.png)
Win10笔记本拔掉电源就断网该怎么办?
2023-09-22 04:29:10
![](https://img.aspxhome.com/file/2023/5/a316306_0s.jpg)
游戏专用XP系统GHOST XP SP3极速优化版
2023-06-06 23:29:22
![](https://img.aspxhome.com/file/2023/0/53330_0s.jpg)
Win11连接WiFi后显示无Internet访问权限怎么办?
2023-12-25 11:49:40
![](https://img.aspxhome.com/file/2023/27/a235796_0s.png)
Excel秒转换为时分秒的三种公式
2023-10-19 06:59:54
微信小程序正式上线,再不看别说你会玩微信
2023-07-19 23:29:42
![](https://img.aspxhome.com/file/2023/4/a307641_0s.jpg)
重装Win7旗舰版系统后开机提示BOOTMGR is missing怎么办?
2023-01-21 23:05:45
![](https://img.aspxhome.com/file/2023/1/a276625_0s.jpg)
电脑怎么使用各种运行命令了解?
2023-11-14 01:05:44
Win10 TH2正式版10586.63更新内容大全
2022-06-09 05:28:28
![](https://img.aspxhome.com/file/2023/5/a316710_0s.png)
WPS查重怎么查_WPS的论文查重在哪里?
2022-04-16 19:22:14
![](https://img.aspxhome.com/file/2023/2/a186162_0s.png)
易媒助手如何发布图文
2023-08-10 04:13:41
![](https://img.aspxhome.com/file/2023/9/a341403_0s.png)
Win10锁屏蓝屏怎么回事?win10锁屏蓝屏的解决办法
2022-03-01 23:37:53
![](https://img.aspxhome.com/file/2023/28/a241599_0s.jpg)
详细分析杰灵主板和华硕主板哪个好
2022-01-16 12:53:25
![](https://img.aspxhome.com/file/2023/2/a290996_0s.png)
如何在MacOS Big Sur上关闭自动蓝牙切换?
2022-05-19 13:16:57
![](https://img.aspxhome.com/file/2023/9/a204729_0s.jpeg)
Win10专业版电脑磁盘占用率100怎么解决?
2023-11-14 16:08:36
![](https://img.aspxhome.com/file/2023/3/49523_0s.png)
wps表格教程如何设置表格自动调整当天日期
2022-03-15 11:00:31