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 RFreund  
#1 Posted : 06 November 2013 06:01:20(UTC)
RFreund


Rank: Advanced Member

Groups: Registered
Joined: 25/09/2013(UTC)
Posts: 325
United States
Location: IL

Was thanked: 19 time(s) in 17 post(s)
I have a large spreadsheet of data. In this instance the data consists of section properties for AISC steel shapes. I am wondering what is the 'best' way to incorporate this large 'database' into Smath calculations. For example, I would ideally like to select a shape (I suppose I could type the name) i.e. W21x57 and then have a bunch of section variable populate with the data.

In my very limited experience with SMath, here is some sort of an attempt at a solution ->
I would type the section name in smath (W12x49), this name is then exported to a certain cell in excel (say A1). From there a vlookup is performed in excel and a bunch of cells then fill with the requested values (columns A2-AXX now have area, flange width, etc.). Then the section variables which were predefined to look in the cells import the value of these cells (A=importcell(A2), bf=importcell(A3), etc.).

My other thought is may all of this information can be imported into Smath, but then I'm not sure how to do a VLookup in Smath.

Any direction is appreciated or maybe this cannot be done.
Thanks for any help.

Also why do I not receive email notifications even when the 'Watch this topic" is checked?

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

Offline mkraska  
#2 Posted : 06 November 2013 12:58:59(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,988
Germany

Was thanked: 1125 time(s) in 722 post(s)
You can import the table data and use the function findrows().
mkraska attached the following image(s):
tablel.PNG
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline RFreund  
#3 Posted : 11 November 2013 20:46:55(UTC)
RFreund


Rank: Advanced Member

Groups: Registered
Joined: 25/09/2013(UTC)
Posts: 325
United States
Location: IL

Was thanked: 19 time(s) in 17 post(s)
Thank you martin. You have been very helpful.
Offline RFreund  
#4 Posted : 12 November 2013 19:59:10(UTC)
RFreund


Rank: Advanced Member

Groups: Registered
Joined: 25/09/2013(UTC)
Posts: 325
United States
Location: IL

Was thanked: 19 time(s) in 17 post(s)
Do you think this excel file is too big? I was not able to reach the end of the calculation time.
See attached
File Attachment(s):
Steel Properties.zip (1,219kb) downloaded 87 time(s).
Offline mkraska  
#5 Posted : 12 November 2013 23:52:00(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,988
Germany

Was thanked: 1125 time(s) in 722 post(s)
Just change the optimization (right mouse button menu) to numeric. Then reading in the sheet takes 4 seconds on my computer.
See here for details.
mkraska attached the following image(s):
steeldata.PNG
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
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.