Complicated Nested IF function - Question

skathleenr

New Member
Joined
Feb 26, 2016
Messages
2
I'm working on a function (see below) and need to add to the bolded section. I want it to keep that value as the result, unless that value is greater than 20% of T15. What type would you use and how would you write that?

=IF(AND(O15>0,I15<2008,F15=3,S15="A-1"),($B$10-T15),IF(AND(O15>0,I15<2008,F15=2,S15="A-1"),($E$10-T15),0))
 
The first thing to do to make these simpler is to get the same conditions together instead of repeating them over and over. Does this work for you?

=IF(AND(O15>0,I15<2008,S15="A-1"),IF(F15=3,IF($B$10>T15*0.2,T15*0.2,$B$10-T15),IF(F15=2,$E$10-T15,0)),0)
 
Upvote 0
the result of what?
It seems like the result should be true or false, rather than 20% of T15 or something else.
 
Upvote 0
There is math in the original formula. The op wants to return B10-T15, unless B10 > 20% of T15 and then want's return that, in the bolded section of the original formula.
 
Last edited:
Upvote 0

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