Skip to main content
8-Gravel
April 28, 2023
Question

If functions when one of the variables are undefined

  • April 28, 2023
  • 2 replies
  • 857 views

Hi

 

I'm trying to solve an issue where I want the if function to work, when one of the variables in some cases could be undefined.

 

Is this possible, or have some work around?

 

I'm using Prime 9.

 

Skjermbilde 2023-04-28 kl. 22.39.15.png

 

2 replies

23-Emerald IV
April 28, 2023

I don't see a way.

Even the 'Try/On error' programming construct will not allow an undefined variable in the 'try' part.

 

Success!
Luc

ttokoro
21-Topaz I
21-Topaz I
April 30, 2023

As already Luc shows, at first fix the error in Prime sheet.

Then you can use your functions.
image.png

t.t.