【问题标题】:Looking for Formula for excel寻找excel的公式
【发布时间】:2022-11-20 16:40:31
【问题描述】:
ProductName | display | final value
Lewis           No
Lewis           No
Lewis           No
Sood            No
Henny           Yes
Henny           No
Henny           No

1.在 excel 中寻找一个公式,如果产品的显示值为 yes 且产品名称相同,则最终值应为 yes,其他应为变体。 2.否则,如果该产品对于所有具有相同名称的产品都没有显示值,那么它应该不会显示。

最终输出应该是

ProductName | display | final value

Lewis           No.     Not display
Lewis           No.     Not display
Lewis           No.     Not display
Sood            No.     Not display
Henny           Yes.    Yes
Henny           No.     Variant
Henny           No.     Variant

尝试使用 if 和 count if 但无法找到未显示的逻辑

【问题讨论】:

    标签: excel excel-formula


    【解决方案1】:

    试试下面的公式-

    =LET(x,CONCAT(UNIQUE(FILTER($B$2:$B2,$A$2:$A2=A2))),IF(x="No","Not Display",IF(x="Yes","Yes","Variant")))
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-02-22
      • 2011-01-26
      • 1970-01-01
      • 2021-01-10
      • 1970-01-01
      • 2021-10-14
      • 1970-01-01
      相关资源
      最近更新 更多