Skip to main content
13-Aquamarine
February 11, 2026
Solved

Function

  • February 11, 2026
  • 1 reply
  • 142 views

I'm trying to determine if five variables are scalars or strings for installation into a unitless matrix for future use.  Shown are five separate IF expressions.  Is there a single function to condense the five IF statements into?

Best answer by Werner_E

How about

Werner_E_0-1770826111243.png

or with more control concerning the unit

Werner_E_1-1770826144102.png

Usage:

Werner_E_2-1770826175104.png

 

1 reply

Werner_E25-Diamond IAnswer
25-Diamond I
February 11, 2026

How about

Werner_E_0-1770826111243.png

or with more control concerning the unit

Werner_E_1-1770826144102.png

Usage:

Werner_E_2-1770826175104.png

 

13-Aquamarine
February 11, 2026

Thanks!  I will give the above a try.