If Formula Error

Mangesharalkar

New Member
Joined
Apr 27, 2016
Messages
10
Hi All,

I am entering the below formula but it says missing parenthesis

=IF(AND(C10>0%,C10<80%),0,IF(AND(C10>=80%,C10<=100%),C7*C10,IF(AND(C10>=100%,C10<=120%),(C5*0.5%+(C7-C5)*1.5%,IF(C10>120%,(C5*0.75%+C5*120%*1.5%+(C7-C5*120%)*2%

Can any one help

C5 is Domain Target
C7 is Achievement


Range is below
[TABLE="width: 173"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Range[/TD]
[TD]Incentive %[/TD]
[/TR]
[TR]
[TD]0-80%[/TD]
[TD]Nil[/TD]
[/TR]
[TR]
[TD]80-100%[/TD]
[TD="align: right"]0.75%[/TD]
[/TR]
[TR]
[TD]100 -120 %[/TD]
[TD="align: right"]1.50%[/TD]
[/TR]
[TR]
[TD]120 & above%[/TD]
[TD="align: right"]2.00%[/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Hi All,

I am entering the below formula but it says missing parenthesis

=IF(AND(C10>0%,C10<80%),0,IF(AND(C10>=80%,C10<=100%),C7*C10,IF(AND(C10>=100%,C10<=120%),(C5*0.5%+(C7-C5)*1.5%,IF(C10>120%,(C5*0.75%+C5*120%*1.5%+(C7-C5*120%)*2%

Can any one help

C5 is Domain Target
C7 is Achievement


Range is below
[TABLE="width: 173"]
<tbody>[TR]
[TD]Range[/TD]
[TD]Incentive %[/TD]
[/TR]
[TR]
[TD]0-80%[/TD]
[TD]Nil[/TD]
[/TR]
[TR]
[TD]80-100%[/TD]
[TD="align: right"]0.75%[/TD]
[/TR]
[TR]
[TD]100 -120 %[/TD]
[TD="align: right"]1.50%[/TD]
[/TR]
[TR]
[TD]120 & above%[/TD]
[TD="align: right"]2.00%[/TD]
[/TR]
</tbody>[/TABLE]


Hey,

You need to close your IFS:

=IF(AND(C10>0%,C10<80%),0,IF(AND(C10>=80%,C10<=100%),C7*C10,IF(AND(C10>=100%,C10<=120%),(C5*0.5%+(C7-C5)*1.5%,IF(C10>120%,(C5*0.75%+C5*120%*1.5%+(C7-C5*120%)*2%))))))
 
Upvote 0
Brackets also need to be closed inside the formula not just on the end.

=IF(AND(C10>0%,C10<80%),0,IF(AND(C10>=80%,C10<=100%),C7*C10,IF(AND(C10>=100%,C10<=120%),(C5*0.5%+(C7-C5)*1.5%),IF(C10>120%,(C5*0.75%+C5*120%*1.5%+(C7-C5*120%)*2%),FALSE))))
 
Upvote 0
You may find it easier to spot problems by splitting the formula onto separate lines in the cell with {Alt}{Enter}
- Excel's colour coding help match opening and closing parentheses on each line
- count opening IF parentheses and match with closing ones

=IF(AND(C10>0%,C10<80%),0,
IF(AND(C10>=80%,C10<=100%),C7*C10,
IF(AND(C10>=100%,C10<=120%),(C5*0.5%+(C7-C5)*1.5%),
IF(C10>120%,(C5*0.75%+C5*120%*1.5%+(C7-C5)*120%*2%),"something missing here"))))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,170
Members
453,021
Latest member
Justyna P

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