Formula Question

Atalkez

New Member
Joined
Jun 29, 2018
Messages
6
Hello!

So, I have a spreadsheet with several columns that contain various information. I am trying to work out a formula that will check if a flag is set in two separate columns, then depending on a range of values in another column, determine a calculation for a final result.

So, in normal coding, it would be something like this:
if(C3 == "N") && (F3 == "Y") {
if (D3 > 200)
calculate and post
else
calculate and post
}
if (C3 == "N") && (F3 == "N") {
if (D3 > 200)
calculate and post
else
calculate and post
}

To make it a bit more clear, this is a commission calculation spreadsheet. The flag options are N/U for New/Used, and Y/N for Yes/No in regards to if the deal was split (which makes me divide by 2 obviously). The calculation is different for New/Used, and the split determines if the calculation needs to be divided or not.

This is what I have right now:

=IF(MATCH(N, C3, 1)), =IF(MATCH(Y, F3, 1)), =IF((D3*0.25)<200,"$190"), =IF((D3*0.25)>200, SUM(D3*0.25)))

This doesn't work, however, so if anyone can help clear up my mistakes in regards to the calculation, that would be very helpful

Thanks!
 
The formula you posted there didn't take into account the U/N to determine if I should divide by 2 - how should I incorporate that?
 
Upvote 0

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,224,827
Messages
6,181,197
Members
453,021
Latest member
pingpong7117

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