Hi I wonder if anybody can help with this I'm trying to get the correct price from the table from the data entered in AB2 and AB3. The function used is in cell AB7.

Any help would be greatly appreciated.

Book1.xlsx