Looking for help with a formula

bverrett

New Member
Joined
Aug 10, 2017
Messages
6
I currently have a spreadsheet that figures commissions based on one of two factors.

1. Mono-line commissions
2. Multi-line commissions

I want to add, if possible, a way to divide the commission by 2 if it is a shared commission.

This is the formula that I am using.

=IF(F5="NO",VLOOKUP(C5,monolinecommission,2,FALSE)*D5,IF(F5="YES",VLOOKUP(C5,HHBundlecommission,2,FALSE))*D5)

Cell D5 is the premium, F5 is where we choose if it is multi-line (yes or no option), G5 is where the above formula is to figure the commissions, H7 is where we choose if the commissions are split with someone else (dropdown list).

I am new at this (posting in forums & building formulas) so let me know if more information is needed.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
I currently have a spreadsheet that figures commissions based on one of two factors.

1. Mono-line commissions
2. Multi-line commissions

I want to add, if possible, a way to divide the commission by 2 if it is a shared commission.

This is the formula that I am using.

=IF(F5="NO",VLOOKUP(C5,monolinecommission,2,FALSE)*D5,IF(F5="YES",VLOOKUP(C5,HHBundlecommission,2,FALSE))*D5)

Cell D5 is the premium, F5 is where we choose if it is multi-line (yes or no option), G5 is where the above formula is to figure the commissions, H7 is where we choose if the commissions are split with someone else (dropdown list).

I am new at this (posting in forums & building formulas) so let me know if more information is needed.

assuming H7 is left blank if the commission would not be split:

G5=(IF(F5="NO",VLOOKUP(C5,monolinecommission,2,FALSE),VLOOKUP(C5,HHBundlecommission,2,FALSE))*D5)/IF(H7="",1,2)
 
Last edited:
Upvote 0
Thank you, I was getting an error still, so instead of using /IF(H7='',1,2) I used /(IF(H5="",1,2)) it worked perfect!
 
Upvote 0

Forum statistics

Threads
1,223,162
Messages
6,170,432
Members
452,326
Latest member
johnshaji

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