I am trying to work out a price list. We work with product discount codes and we have different markups on each discount code. I need to work out the new price on a spreadsheet with thousands of parts. It must look up the discount code and then its markup and then calculate the new sell price for each discount code according to there markups.