Hello,
I'm trying to figure out how I can use similar Vlookup function to find the Allowance % based on customer name and Part number
For example:
I want the final result to look like this with column D allowance % populated below:

Based on the input below:

As you can see that because customer AAFES and Amazon have product code "all"-col C, so it means all of their products will take whatever total allowance % available: zero and 0.2% respectively
But customer Mckesson Drug, will have multiple products (see product code column C), so some of it will take different allowance% and the rest (if can't find that product code will be zero%)
Not sure if I explain it clearly, but I really appreciate your help!
Thank you.
Please see the attached input and output