What are the values for A and B?
Value A is the product price. and B number of products
What are some actual numbers though. For all I know one or both of them could be zero.
Is A, the lookup column, a number column?