From your post, it looks like you want a formula that returns a higher rate of commission if activation occurs within 30 days of the sold date, a lower rate if activation is between 31 and 60 days and no commission if the interval is longer.
If that is what you are looking for, then try this
Place Sold date in cell A6
Place Activated date in cell B6
and in C6 place this formula:
As you didn't say what the commissions are, I just used 10%, 5% 0%
To protect against an erroneous result when one or other date is empty add a test for empty cells, and the formula becomes: