IF Formula with Exception

Dandelion3

New Member
Joined
Dec 6, 2023
Messages
23
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
  3. Web
Hi everyone.

I have an IF formula in place for a file that i'm working on. Final value is based on a percentage, but there is one person whose final value should be based on a dollar value instead. The current formula conditions apply no matter what the user name is, but there is one person who is an exception, so I need to make adjustments to basically say "All else applies, but for this particular user, it should be something different" while keeping everything else in place. I still want everything on the same tab. Hopefully that makes sense. Do i just add a comma & put that IF statement on the end? Will that change everything else?
 
Can you provide some sample values and what you expect the result to be in AA?


With the values I used, what is the result you expect?
It should be a $ value and not a percentage.

So with the last picture I sent you (attached again) of the commission pay structure, $1,318.75 should've been the final actual value in AA for John Doe, and below is the break down.

OPP MRR: $275
MRR Renewal: $0
MRR Achievement Bracket: 25%

so 25% of $275 = $68.75 + New Logo $500 + 3 year contract $750

1703005181452.png
 
Upvote 0

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Does this produce expected results for both rows?

Book1 12-18-2023.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAA
1ClassificationOwnerOpp MRROpp aMRROpp NRRCOMP MRRInitial TermCase CommissionRenewal CommissionContract (Years)Accelerator BaseAccelerator RenewalBase - Total CommissionRenewal - Total CommissionClassification ModifierTotal Commission
2New LogoJohn Doe275362750300275011318.75
3
4Channel Driven2750242750241.250316.2500.7221.375
Sheet1
Cell Formulas
RangeFormula
S2,S4S2=IF(N2>0,N2,0)
T2,T4T2=Q2
U2,U4U2=R2/12
V2,V4V2=IF(E2<>"John Doe",IF(U2=1,0,IF(U2=2,S2*15%,IF(U2=3,S2*35%,IF(U2>=4,S2*50%,0)))),0)
W2,W4W2=IF(U2=1,0,IF(U2=2,T2*15%,IF(U2=3,T2*30%,IF(U2>=4,T2*50%,0))))
X2,X4X2=S2+V2
Y2,Y4Y2=W2+T2
Z2,Z4Z2=IF(E2<>"John Doe",IF(B2="Channel Driven/New Logo",80%,IF(B2="New",100%,IF(B2="New Logo",150%,IF(B2="Channel Driven",70%,IF(B2="Resale",80%,0))))),1)
AA2,AA4AA2=IF(E2="John Doe",SUM(N2*LOOKUP(N2,{0,5001,7501,10001},{0.25,0.5,0.75,1}),IF(B2="New Logo",500,0),MIN(U2*250,750)),SUM(X2:Y2)*Z2)
 
Upvote 0
Solution
Does this produce expected results for both rows?

Book1 12-18-2023.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAA
1ClassificationOwnerOpp MRROpp aMRROpp NRRCOMP MRRInitial TermCase CommissionRenewal CommissionContract (Years)Accelerator BaseAccelerator RenewalBase - Total CommissionRenewal - Total CommissionClassification ModifierTotal Commission
2New LogoJohn Doe275362750300275011318.75
3
4Channel Driven2750242750241.250316.2500.7221.375
Sheet1
Cell Formulas
RangeFormula
S2,S4S2=IF(N2>0,N2,0)
T2,T4T2=Q2
U2,U4U2=R2/12
V2,V4V2=IF(E2<>"John Doe",IF(U2=1,0,IF(U2=2,S2*15%,IF(U2=3,S2*35%,IF(U2>=4,S2*50%,0)))),0)
W2,W4W2=IF(U2=1,0,IF(U2=2,T2*15%,IF(U2=3,T2*30%,IF(U2>=4,T2*50%,0))))
X2,X4X2=S2+V2
Y2,Y4Y2=W2+T2
Z2,Z4Z2=IF(E2<>"John Doe",IF(B2="Channel Driven/New Logo",80%,IF(B2="New",100%,IF(B2="New Logo",150%,IF(B2="Channel Driven",70%,IF(B2="Resale",80%,0))))),1)
AA2,AA4AA2=IF(E2="John Doe",SUM(N2*LOOKUP(N2,{0,5001,7501,10001},{0.25,0.5,0.75,1}),IF(B2="New Logo",500,0),MIN(U2*250,750)),SUM(X2:Y2)*Z2)
I apologize for the delay. Let me give this a try, and I will let you know if it worked.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,184
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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