在线重复位置

发布于 2025-02-13 17:37:48 字数 391 浏览 0 评论 0 原文

我有一个我正在研究的在线Excel工作簿,我想知道是否有一种方法可以找到文本具有重复位置的确切位置。

我在Excel下载的宏观工作簿中找到了一个解决方案,但我知道Excel Macro无法在线工作,因此我需要找到其他解决方案,以在线Excel Workbook中显示重复位置。

例如,使用条件格式,我将其格式化以向我展示它是重复的,但我希望它显示副本所在的行中的行号。 Excel Online提供任何此类功能吗?

I have an online Excel workbook that I'm working on and I wanted to know if there is a way we could find out the exact location of where the text has duplicates.

I found a solution in the Excel downloaded macro workbook using VBA but I got to know Excel macro does not work online therefore I need to find a different solution to show the duplicates location in the online Excel workbook.

For instance, using conditional formatting I formatted it to show me it is a duplicate but I want it show the row number of where the duplicate is located. Does the Excel online offer any such feature?

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

穿透光 2025-02-20 17:37:48

您可以使用公式检索重复项行=1。辅助列

=IF(COUNTIF($A$2:A2,$A2)>=2,ROW(A2),"")

,然后在2。辅助列中添加此公式:

=IF([@[row of duplicate]]<>"",TEXTJOIN(",",TRUE,FILTER([row of duplicate],([Name of Contact]=[@[Name of Contact]])*([row of duplicate]<>""),""),""),"")

输出以重复的方式写入第一个值。
它首先通过联系人的名称过滤连接行号的结果。

您需要Excel 365。

you can use a formula to retrieve the duplicates row = 1. helper column

=IF(COUNTIF($A$2:A2,$A2)>=2,ROW(A2),"")

then in the 2. helper column you add this formula:

=IF([@[row of duplicate]]<>"",TEXTJOIN(",",TRUE,FILTER([row of duplicate],([Name of Contact]=[@[Name of Contact]])*([row of duplicate]<>""),""),""),"")

Output is written to the first value with duplicates.
It joins the result of the row numbers by first filtering them by the name of the contact.

You need Excel 365 for this.

enter image description here

只为一人 2025-02-20 17:37:48

= if(countif($ a $ 2:$ a5,$ a5)&gt; 1,行(a5),“”)将返回行号为第二列

= concatenate(“重复存在: “,true,b2:b15)))将把这些数字返回为一个看起来像重复的单元格中

:修改将列出所有重复的事件。

资料来源:
&amp; https://www.exceldemy.com/excelcelcelcelcelcelcelcel-celcel-celcel-celcel-celcel-cell-compine-celcel-celcel-cell-compine-celcel-celcel-combine- -Rows-Into-One-cell-2/

=IF(COUNTIF($A$2:$A5, $A5)>1, ROW(A5), "") will return the row number as a second column

=CONCATENATE("Duplicates Exist in: ",TEXTJOIN(", ",TRUE, B2:B15)) will return those numbers back as a single cell that looks like Duplicates Exist in: 7.

Note: the above if identifies only the duplicates after the first, a slight modification would list all duplicate occurrences.

sources:
https://www.ablebits.com/office-addins-blog/2016/03/02/identify-duplicates-excel/ & https://www.exceldemy.com/excel-combine-rows-into-one-cell-2/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文