Can you help me of the following formulas to my excel sheet?

Commission Column (Q)


If O is equal to or greater that H Multiplied by 45 and L is greater or equal to $300 then Q = 10% of K and L + 5% of M and N

Thanks in Advance