cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

result to be either scalar or text

EN_9902818
12-Amethyst

result to be either scalar or text

Hi guys,

 

I'm trying to do a simple calculation of the middle third rule. What I want to achieve is shown in the spreadsheet but the issue is that if the condition ex/L+ey/B<1/6 is met only then I want the program to calculate the pressure otherwise just get a message like "N/A". Can the result be either a scalar or a text? I tried to put be a scalar with "N/A" for each of its elements but got an error message again, it seems that it accepts only numerical values

 

Any help will be much appreciated!

 

cheers,

Eleni

ACCEPTED SOLUTION

Accepted Solutions

Hi,

 

I put it in a program and find the solution. Thanks anyway.

 

Cheers,

Eleni

View solution in original post

5 REPLIES 5

Hi,

 

I put it in a program and find the solution. Thanks anyway.

 

Cheers,

Eleni

ttokoro
20-Turquoise
(To:EN_9902818)

image.pngimage.png

EN_9902818
12-Amethyst
(To:ttokoro)

Hi,

 

Strange how this works. So if I use the equal sign to the variable definition, I got an error saying that the variable should be a scalar or a matrix but if I don't and just write in a different row the variable, I go the correct message! But then, I don't get the Pressure although I have define it inside the program.

Any idea why this happens?

 

cheers,

Eleni

ttokoro
20-Turquoise
(To:EN_9902818)

image.pngimage.png

EN_9902818
12-Amethyst
(To:ttokoro)

Hi,

 

yes, I get it. 

 

cheers,

Eleni

Announcements

Top Tags