Code:
=IF(OR($B$11=$B$12,$B$12=0),IF($H$10="INTERNET",IF(($H$46*0.25)<300,IF(($H$46*0.25)=0,0,300),($H$46*0.25)),IF(($H$46*0.25)<200,IF(($H$46*0.25)=0,0,200),($H$46*0.25))),(IF($H$10="INTERNET",IF(($H$46*0.25)<300,IF(($H$46*0.25)=0,0,300),($H$46*0.25)),IF(($H$46*0.25)<200,IF(($H$46*0.25)=0,0,200),($H$46*0.25))))/2)
So essentially I use this to determine how much commission someone is supposed to make. Everyone always makes at least $200, but that gets upped to $300 if the sale came from the internet. H46 is the profit of the deal. H10 is the type of deal but "Internet" is the only option that matters. Commission is 25%. B11 & B12 are the sales people because there are occasionally 2 of them so the commission has to be split reducing the minimum to $100 & $150 respectively.
If anyone has any ideas of how to make this a little nicer, I would greatly appreciate it
Thanks in advance to everyone who helps!