Adding a 3rd IF statement ??

  • Thread starter Thread starter yh73090
  • Start date Start date
Y

yh73090

Is it possible to add to this function a third "IF" statement?

If it is possible, How do I add "subtract DP11 if DM11 matche
J10:DA10"



=IF(OR(J$10>$I$11,J$10<$H$11),"",IF(J$10=$H$11,$H$11,$H$11+((J$10-$H$11)/$H$4)*$H$4))


Thank you for all your help as always
 
From what you describe, I don't know where it should go in the formula. You
already have 2 IF statements, and for each one you have specified both a TRUE
and FALSE option. One of those options has to be replaced by another IF
statemewnt.
 
My best guess is you wanted to add that feature to the 2nd IF..False
argument.

=IF(OR(J$10>$I$11,J$10<$H$11),"",IF(J$10=$H$11,$H$11,IF(COUNTIF($J$10:$DA$10
,$DM$11)>0,$H$11+((J$10-$H$11)/$H$4)*$H$4-$DP$11,$H$11+((J$10-$H$11)/$H$4)*$
H$4)))

Mike F
 
As a rule you can have up to 7 nested IF statements. The trick is to keep
track of the logic.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top