Hello I've been trying to use the following if statement below to locate a intermediate post member for some stair handrails and it looks correct in the equation =33in, but it comes with a syntax error, but then it shows in the sketch as 40.333 not 33in. below is a jpeg and also the if statement being used. The syntax error happens when I try to put the second if statement into the equation. I must have something out of place here, but I just don't see it. Any suggestions would be greatly appreciated.
= if ( "HR-L@Sketch1" < 120 , "HR-L@Sketch1" / 2 , if ( "HR-L@Sketch1" > 240 , "HR-L@Sketch1" / 4 , "HR-L@Sketch1" / 3 ) )
Hi Joe,
Try this:
=iif ( "HR-L@Sketch1" < 120 , "HR-L@Sketch1" / 2 , iif ( "HR-L@Sketch1" > 240 , "HR-L@Sketch1" / 4 , "HR-L@Sketch1" / 3 ) )
you need to use "iif" when nested if statements for some reason, hopefully this works for you.