Final formula
=IF(B8>B6;((A4*B8^2)/(6*A5*A6))*(3*B8-B6);((A4*B8^2)/(6*A5*A6))*(3*B6-B8))
Explanation
We have variables located this way:
IF formula consists of 3 parts: condition, expression if condition is true, expression if condition is false.
Condition: we would check if x>a
Excel representation: B8>B6
If condition is true:
Formula for x>a is "Y=\\frac{Wx^2}{6Ei}(3x-a)"
Excel representation: ((A4*B8^2)/(6*A5*A6))*(3*B8-B6)
If condition is false:
Formula for x<=a is "Y=\\frac{Wx^2}{6Ei}(3a-x\n)"
Excel representation: ((A4*B8^2)/(6*A5*A6))*(3*B6-B8)
Combining theese 3 parts we would receive final formula
=IF(B8>B6;((A4*B8^2)/(6*A5*A6))*(3*B8-B6);((A4*B8^2)/(6*A5*A6))*(3*B6-B8))
Comments
Dear Israel Robert, you are welcome
You guys are the best Thanks for the answer
Leave a comment