Skip to main content
August 25, 2025
Solved

If Then Else Statement to return Annotation in UD8

  • August 25, 2025
  • 1 reply
  • 0 views

Hello-

Is there any reason why the below if , then, else statement is not working correctly? Val2 has data when I only return it in a test dynamic calc, but when incorporated into the below formula, it is reading a zero for Val2. Any help would be greatly appreciated:



 

Best answer by KC2

Yes, that is correct, I found the FIX, I needed to add the Scenario specifically 28,29 31 & 32. Then the values of non zero were present in the evaluation starting on line 35. Thank you

1 reply

September 9, 2025

So, you are saying that when you declare and instantiate val2 above it is not zero but when applied in val1 + val2 it shows as 0? Or, are you saying that when you return cellExResult it is showing 0?

KC2AuthorAnswer
September 10, 2025

Yes, that is correct, I found the FIX, I needed to add the Scenario specifically 28,29 31 & 32. Then the values of non zero were present in the evaluation starting on line 35. Thank you