Google 表格:如何根据另一列中下拉列表的值在一列中执行公式?

Google Sheets: How do I execute a formula in a column based on the value of a dropdown in another column?

上下文: 我有分配Google Sheet.

  1. 第 2 列从 H 到 N:
  2. 我只想对第 2 行 H 到 N 列的总数求和 with/from 第 3-5 行 H-N 列中的数据 if 任何特定行的 E 列是“高”或“非常高”
  3. 举个具体的例子——如果 E5 的下拉菜单是“低”,J2 就是 0.5
  4. 或者,如果 E4 和 E5 为“高”或“非常高”,则 J2 将为 1.0

提前致谢!

H2

=SUMPRODUCT(H3:H5*($E3:$E5="High")+H3:H5*($E3:$E5="Very High"))

向右拖动