Hello, I would like to know how to create an IF query for multiple criteria. Basically I need to calculate commission based on the following criteria,
the answer to all of these will then need to look to know if what kind of sale it was (dealer,new,existing) and apply the criteria again to come up with a final commission % for example
if brand 1 was a new type and had a margin of 6% to a new customer - the commission would be 1.5%
if the type was used and had a sell price of $25k with a margin of 25% to an existing customer - the commission would be 1.5%
any help or advice would be very grateful
i am unsure how to copy my excel table for an example either
thanks
[TABLE="width: 335"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 3"][/TD]
[/TR]
</tbody>[/TABLE]
- brand
- type
- min margin
- if the type is used, then look at the sell price
the answer to all of these will then need to look to know if what kind of sale it was (dealer,new,existing) and apply the criteria again to come up with a final commission % for example
if brand 1 was a new type and had a margin of 6% to a new customer - the commission would be 1.5%
if the type was used and had a sell price of $25k with a margin of 25% to an existing customer - the commission would be 1.5%
any help or advice would be very grateful
i am unsure how to copy my excel table for an example either
thanks
[TABLE="width: 335"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 3"][/TD]
[/TR]
</tbody>[/TABLE]