【问题标题】:How do you find matching numbers in column in Excel? [closed]如何在 Excel 的列中找到匹配的数字? [关闭]
【发布时间】:2013-11-11 06:04:04
【问题描述】:

我在 Excel 中有 A 列和 B 列,如果数字在两列中,我想在 C 列中自动写注释“存在”,在值出现在 B 列中的行中。

例子:

A   |  B | C 
1   |  2 | Not Exist
3   |  4 | Not Exist
5   |  1 | Exist
6   |  7 | Not Exist

【问题讨论】:

  • 基于公式的问题不是 OFFTOPIC(针对超级用户),并且根据 Meta 中的 RECENT 帖子属于 StackOverlow。但是,可以使用Questions asking for code must demonstrate... 原因关闭此问题。

标签: excel excel-formula excel-2010 worksheet-function


【解决方案1】:

使用简单的公式COUNTIF

把这个放到C1

=IF(COUNTIF(A:A,B1)>0,"Exists","Doesn't Exist")

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-03-07
    • 1970-01-01
    • 2014-02-04
    • 1970-01-01
    • 2015-05-03
    • 1970-01-01
    • 2022-01-05
    相关资源
    最近更新 更多