Using Data Tables and Link to Excel

Using Data Tables and Link to Excel - Best way to use large tables of data - Messaggi

#1 Pubblicato: 05/11/2013 23:01:20
Ryan Freund

Ryan Freund

20 apprezzamenti in 339 post.

Gruppo: User

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?
#2 Pubblicato: 06/11/2013 05:58:59
Martin Kraska

Martin Kraska

1.361 apprezzamenti in 2.275 post.

Gruppo: Moderator

You can import the table data and use the function findrows().
tablel.PNG
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#3 Pubblicato: 11/11/2013 13:46:55
Ryan Freund

Ryan Freund

20 apprezzamenti in 339 post.

Gruppo: User

Thank you martin. You have been very helpful.
#4 Pubblicato: 12/11/2013 12:59:10
Ryan Freund

Ryan Freund

20 apprezzamenti in 339 post.

Gruppo: User

Do you think this excel file is too big? I was not able to reach the end of the calculation time.
See attached
Steel Properties.zip (1,18 MiB) scaricato 537 volta(e).
#5 Pubblicato: 12/11/2013 16:52:00
Martin Kraska

Martin Kraska

1.361 apprezzamenti in 2.275 post.

Gruppo: Moderator

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.
steeldata.PNG
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
  • Nuovi post
  • Nessun nuovo post