【问题标题】:How to compare two columns in Excel如何比较Excel中的两列
【发布时间】:2014-03-16 10:59:17
【问题描述】:

我在excel中有如下数据

columnA                         columnB     columnC 
Saidabad S.O (Hyderabad)        500059      500059
Samskruthi S.O                  500088      
Sanath Nagar Colony S.O         500018      500018

如果 columnB 和 columnC 相等,那么我想要以下结果 然后我有像

这样的输出
columnA                         columnB     columnC   columnD 
Saidabad S.O (Hyderabad)        500059      500059    Saidabad S.O (Hyderabad)
Sanath Nagar Colony S.O         500018      500018    Sanath Nagar Colony S.O

是否可以在 excel 中执行此操作。如果可能的话,请给我查询的公式

提前致谢

【问题讨论】:

  • 很不清楚你想要什么......你的意思是如果columnB和columnC相等......那么columnD=columnA?否则不应该显示?
  • 到底有没有可能?
  • sorry sorry.. 如果 columnB 和 columnC 相等,那么我想要那个结果
  • 问题是更新请发现

标签: excel multiple-columns


【解决方案1】:

=IF(B2=C2,A2,"-") 放入 D2。然后根据需要将其向下拖动。然后选择AUTO FILTER选项并从D列中过滤掉“-”。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-05-27
    • 1970-01-01
    • 2020-04-24
    • 1970-01-01
    相关资源
    最近更新 更多