jcaston85

New Member
Joined
Aug 20, 2017
Messages
2
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,

  • 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











<colgroup><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
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%
That appears to be a small subset of all the possibilities.
Can you please post ALL your conditions?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,787
Messages
6,121,565
Members
449,038
Latest member
Guest1337

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top