Hi,
I want to find and match customer with certain products. And when they match it will return either a normal % or a special % or nothing at all. There is a formula in col I, but that matches only customers that have transport. In col E I can select if it is general terms or special terms. So if it the customer and product match in columns I:M it will return either general terms or special terms.
I want to find and match customer with certain products. And when they match it will return either a normal % or a special % or nothing at all. There is a formula in col I, but that matches only customers that have transport. In col E I can select if it is general terms or special terms. So if it the customer and product match in columns I:M it will return either general terms or special terms.
IfIndexMatch.xlsx | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | |||
2 | General terms | % | Special terms | Customer | Transport | D&O | Cyber | Crime | Art | ||||||
3 | Transport | 4,50% | 5,00% | Yes | Example 1 | 5,00% | |||||||||
4 | D&O | 3,50% | 5,00% | Example 2 | |||||||||||
5 | Cyber | 3,50% | 5,00% | Yes | Example 3 | 5,00% | |||||||||
6 | Crime | 3,50% | 5,00% | Example 4 | |||||||||||
7 | Art | 3,50% | 5,00% | Example 5 | |||||||||||
8 | Example 6 | ||||||||||||||
9 | Yes | No | Example 7 | 4,50% | |||||||||||
10 | No | Example 8 | |||||||||||||
11 | Example 9 | ||||||||||||||
12 | Example 10 | ||||||||||||||
All products |
Cell Formulas | ||
---|---|---|
Range | Formula | |
I3:I12 | I3 | =IFERROR(IF(INDEX(Sheet1!A:A,MATCH($F3,Sheet1!A:A,0))="","",IF($E3="Yes",$C$3,IF($E3="No",$B$3,""))),"") |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
E3:E12 | List | =$A$9:$A$11 |
IfIndexMatch.xlsx | ||||
---|---|---|---|---|
A | B | |||
1 | Transport customers | Type of Insurance | ||
2 | Example 1 | Art | ||
3 | Example 2 | Crime | ||
4 | Example 3 | Transport | ||
5 | Example 4 | Transport | ||
6 | Example 5 | Crime | ||
7 | Example 6 | D&O | ||
8 | Example 7 | D&O | ||
9 | Example 8 | Art | ||
10 | Example 9 | Transport | ||
11 | Example 10 | Transport | ||
Sheet1 |