Excel公式:其中value等于text,另一个值等于值

时间:2017-07-13 21:39:28

标签: excel indexing match formula vlookup

我正在尝试使用多个值进行查找:
我需要查找汽车的类型,然后检查每个成本支架的值之间的里程数,以便找出车辆行驶距离的成本。

我理解使用Vlookup,Index,Match和其他公式,但我不知道如何结合使用它们来得到我的答案。如果有两个人是相同的我只是需要这一行旅行的费用,我不想加起来。

谢谢,见下图

an example of the data i'm working with

2 个答案:

答案 0 :(得分:0)

=IF(AND([lookup condition 1], [lookup condition 2]), [return value if true], [return value if false])

答案 1 :(得分:0)

将查找更改为仅包含最低阈值并使用以下公式:

=INDEX(G:H,MATCH(B2,F:F,0),MATCH(C2,$G$2:$H$2))

enter image description here

相关问题