简体   繁体   English

查找多个条件的 Excel 公式

[英]Lookup Excel formula for multiple criteria

I have this problem: get the threshold amount.我有这个问题:获取阈值金额。 please help to get the threshold amount i need to follow the below matrix:请帮助获得我需要遵循以下矩阵的阈值金额:

Tenor           Notional         Threshold
up to 1 yr      up to 500k         .05
up to 1 yr      500k to 1mio       .75
up to 1 yr      1mio above          .8
1-5yr           up to 500k         .1
1-5yr           500k to 1mio       .25
1-5yr           1mio above          .5
5-above          up to 500k         .3
5-above           500k to 1mio       .25
5-above           1mio above          .5   

You can approach it this way, I have assumed you can add a helper column (in blue) where the Tenor and Notional values are concatenated together for the match to work.您可以通过这种方式进行处理,我假设您可以添加一个辅助列(蓝色),其中 Tenor 和 Notional 值连接在一起以使匹配起作用。

Cells A2 and B2 have data validation lists so the target is chosen.单元格 A2 和 B2 具有数据验证列表,因此选择了目标。 The formulae is shown for both the result cell and the concatenation.结果单元格和串联都显示了公式。

See:看: 在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM