Formula is misplaced Paraenthesis

cadence

Well-known Member
Joined
Dec 6, 2005
Messages
528
Hello all,

just going a bit mad try to get the expression write, the argument I believe is all correct but I havenot closed it off properly

Any sugesstions

=IF(AND(AG5=$FE$53,AH5=$FE$54,IF(AND(DropList!$B$96=1,AJ5>0),FG5*$L$53,IF(DropList!$B$96=2,(AM5/($B$28+$B$29))*$L$54,IF(AND(DropList!$B$96=3,AJ5>0),FG5*$L$53+(((AM5/($B$28+$B$29)/$L$61))*$L$54),""))))

Thanks Johnny
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
49,449
Office Version
  1. 365
Platform
  1. Windows
Not sure, but try this. You were missing a closing parenthesis at the end of the first AND function.

=IF(AND(AG5=$FE$53,AH5=$FE$54),IF(AND(DropList!$B$96=1,AJ5>0),FG5*$L$53,IF(DropList!$B$96=2,(AM5/($B$28+$B$29))*$L$54,IF(AND(DropList!$B$96=3,AJ5>0),FG5*$L$53+(((AM5/($B$28+$B$29)/$L$61))*$L$54),""))))
 

cadence

Well-known Member
Joined
Dec 6, 2005
Messages
528
Thanks that ogt it to work, now I just have to get it to return a numerical value rather than TRUE/FALSE.

very Speedy reply.
 

Forum statistics

Threads
1,136,700
Messages
5,677,280
Members
419,683
Latest member
MrVBAConfused

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
Top