我需要一个解决方案以从产品表中选择正确的汇率,然后将过滤后的汇率粘贴到预期汇率结果表中

时间:2018-11-19 07:21:34

标签: excel

public bool CheckAccess<T>(int operation) where T : Enum 
{ 
    bool hasAccess = false; 
    T bitmask = (T)_permission.PermissionBitMask; 
    hasAccess = bitmask & (T)operation == (T)operation; 
    return hasAccess; 
} 

Sheet 1 (Products) contains different rate combinations.

[2]。

Sheet 2 (ExpectedResult) contain one combination which should pull the rate from products sheet based on boundary conditions check

1 个答案:

答案 0 :(得分:1)

感谢您的提问。您应该更改输入表的格式,以使具有最小值和最大值的每个数量或值分开显示,而不是一起显示。完成此操作后(如下面的屏幕截图所示),只需使用SUMPRODUCT公式即可。

enter image description here