如果值为零Excel,则不显示轴标签
有什么方法可以不显示轴标签,如果值对此为零?
假设如果一张桌子像下面的桌子,
每个品牌售出的车辆 | Jun-21 | Jul-21 | 21日 | ago- 21 9月 |
---|---|---|---|---|
欧宝 | 2 | 4 | 3 | 5 |
Renoult | 6 | 3 | 8 | 1 |
Ferrari | 0 0 0 0 | 0 | 0 0 0 | 0 |
0 0 0 | 0 0 0 0 0 0 0 0 0 0 | 0 | 4 | 4 |
座位 | 2 | 0 | 2 | 其他2 |
其他 | 12 | 11 | 15 | 16 |
如果我不想在轴上获得法拉利的图形,我该怎么办?
我知道,我可以隐藏该列,如果该图是图形是不为此显示。我无法使用它,因为它是一个高度动态的数据,我不想每次都隐藏它。
有人可以帮忙吗?
非常感谢进步
Is there any way to not to show an axis label if value is zero against that?
Suppose if a table is like below
Vehicles Sold per Brand | jun-21 | jul-21 | ago-21 | sept-21 |
---|---|---|---|---|
Opel | 2 | 4 | 3 | 5 |
Renoult | 6 | 3 | 8 | 1 |
Ferrari | 0 | 0 | 0 | 0 |
Mercedes | 1 | 1 | 6 | 4 |
Seat | 2 | 0 | 4 | 2 |
Others | 12 | 11 | 15 | 16 |
If i want to not to get the graph of Ferrari in axis, what should I do?
I know that, I can hide that column if the graph is not to be shown for that. I can not use that since its a highly dynamic data and I dont want to go and hide it everytime.
Could somebody help?
Many thanks an advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
所以,快速而肮脏:
但我会生成数字表,以便删除不包含的任何行,然后仅使用 5 构建图表,并且没有间隙。我会让你去做这件事。
所以,也这样做了,但我会让你弄清楚如何控制传奇:
技巧是使用large(),但是你可能需要用if()包装来更好地控制0...
So, quick and dirty:
But I would then produce the table of numbers so that any row not to be included gets removed and then build the chart with 5 only and not have the gap. I will let you work on that.
So, did that as well, but I will let you figure out how to control the Legend:
The trick is to use large(), but you may need to be wrapping with if() to control 0 better...