Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline RC_eng  
#1 Posted : 11 June 2023 12:37:44(UTC)
RC_eng

Rank: Newbie

Groups: Registered
Joined: 11/06/2023(UTC)
Posts: 3

Hi

I have a dataset (using Excel-file as a source) from where I get values with vlookup, but I am unable to set units properly.

Values retrieved from a matrix have these square brackets around them [], and it makes working with units really difficult.

I was able to convert mm to m (my database has plain values, but they are supposed to be mm). But next step is to display final results in kN/m, but I keep getting kg/s^2.

I am able to remove units completely and display the correct result without units displayed, but this is suboptimal.

EDIT: I'm using importData plugin

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Jean Giraud  
#2 Posted : 11 June 2023 15:51:55(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Suggestive ...

VectorUnits.PNG
Offline overlord  
#3 Posted : 11 June 2023 17:37:52(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,128
Turkey

Was thanked: 509 time(s) in 339 post(s)
You either need to alter your dataset or do corrections after import.
I am not promising anything but maybe units can be imported as they are.
But we need your dataset and smath file for to check if it can be done.

Regards
Offline Razonar  
#4 Posted : 11 June 2023 21:32:41(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Originally Posted by: RC_eng Go to Quoted Post
... I was able to convert mm to m (my database has plain values, but they are supposed to be mm). But next step is to display final results in kN/m, but I keep getting kg/s^2. ...


Hi. Something like this?

Clipboard01.png

Best regards.
Alvaro.
Offline Jean Giraud  
#5 Posted : 11 June 2023 21:52:33(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
Suggestive ...

... Think in terms of sub-utilities you may need to apply.
Offline overlord  
#6 Posted : 12 June 2023 00:35:16(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,128
Turkey

Was thanked: 509 time(s) in 339 post(s)
Originally Posted by: Razonar Go to Quoted Post
Hi. Something like this?

Best regards.
Alvaro.

My guess is his data is something like this.
That's what I deduce from his description at least.
Without him posting datasheet we can't help any further.

2023-06-12_00-33.png
thanks 1 user thanked overlord for this useful post.
on 12/06/2023(UTC)
Offline RC_eng  
#7 Posted : 12 June 2023 09:30:41(UTC)
RC_eng

Rank: Newbie

Groups: Registered
Joined: 11/06/2023(UTC)
Posts: 3

Worksheet1.sm (8kb) downloaded 7 time(s). data_forum.xlsx (9kb) downloaded 7 time(s).

Thanks for your replies, here are the files.

I would like to display variable z as kN/m instead of that kg/s^2

Edited by user 12 June 2023 09:32:35(UTC)  | Reason: wrong files attached

Offline Davide Carpi  
#8 Posted : 12 June 2023 11:29:17(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,648
Man
Italy
Location: Italy

Was thanked: 1331 time(s) in 876 post(s)
You have to customize the result units in the rightmost placeholder.

2023-06-12 10_26_44-SMath Solver - [Worksheet1.sm_].png
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 1 user thanked Davide Carpi for this useful post.
on 12/06/2023(UTC)
Offline RC_eng  
#9 Posted : 12 June 2023 13:01:46(UTC)
RC_eng

Rank: Newbie

Groups: Registered
Joined: 11/06/2023(UTC)
Posts: 3

Originally Posted by: Davide Carpi Go to Quoted Post
You have to customize the result units in the rightmost placeholder.

2023-06-12 10_26_44-SMath Solver - [Worksheet1.sm_].png


Thank you! I don't know how I didn't get that working couple days ago, I tried to write units outside of brackets but didn't succeed. But now it works no problem Good
Offline Davide Carpi  
#10 Posted : 12 June 2023 14:43:56(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,648
Man
Italy
Location: Italy

Was thanked: 1331 time(s) in 876 post(s)
You're welcome Good
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.