自动分组/合并Excel

编程入门 行业动态 更新时间:2024-10-24 20:21:18
本文介绍了自动分组/合并Excel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我认为附加的图像比我可以在文字中更好地描述我正在excel中查找的功能。列内的内容如图所示?这对于所示的示例是可以实现的,但是当最多可以说30个组和多个子组类型时,我想知道excel是否可以自动检测并通过列表进行分组,如图所示。 >

解决方案

你可以使用条件格式化获得类似的结果。选择整个表格并创建一个新的条件格式规则并选择公式并输入= A1 = A2将格式字体设置为白色(我使用非常浅灰色显示数据仍然存在)

要获得边框,请再次执行相同操作,此时输入公式= A1&A2,使顶部边框变黑。

它不完全一样,但是很接近。

I think the image attached describes better than I can in words the functionality I am trying to locate within excel.

Is there a way to auto group based on the contents within the columns as shown? This is achievable for the example shown, but when there are up to say 30 Groups and many sub group types, I am wondering whether excel can auto-detect and work its way through the list, grouping as shown as it goes.

解决方案

You can get a similar result using conditional formatting. select the whole table and create a new conditional format rule and choose formula and enter =A1=A2 set the format font to white (I've used very light grey to show that the data is still there)

To get the borders, do the same again and this time enter the formula =A1<>A2 and make the top border black.

It's not exactly the same as yours but it's close.

更多推荐

自动分组/合并Excel

本文发布于:2023-10-17 10:27:44,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1500646.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Excel

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!