using formulas in tables

using formulas in tables

andy.clarkeLAA4H
Participant Participant
1,991 Views
8 Replies
Message 1 of 9

using formulas in tables

andy.clarkeLAA4H
Participant
Participant

Hi all, 

 

I'm looking to use a formula in autocad table to caluculate a value, i need to use sin and pi values, can these be expresses in a table in paper space on a template?

0 Likes
Accepted solutions (1)
1,992 Views
8 Replies
Replies (8)
Message 2 of 9

pendean
Community Legend
Community Legend

can you do what you want in EXCEL for example?
Show us your formula that works there please.

0 Likes
Message 3 of 9

andy.clarkeLAA4H
Participant
Participant
Hi ,

So, the formula below works in excel, the "SIN" & "PI" are values(in excel), the table below shows that by entering the vales in the green cells gives the required results,

=(B39/C39)/SIN((90-D39)*PI()/180)

[cid:ff3ced12-a85a-4549-9bd2-bf4e4482d6be]
[cid:89559bbd-6b56-43a6-bb74-2afc3d6e90f0]
I found this on CAD forum but now sure how to implement it or if it's event he answer I'm looking for....?
Thanks again.


0 Likes
Message 4 of 9

pendean
Community Legend
Community Legend
Your images did not come through: if you simply replied to an email, that may be why. You have to be on the forums website in a browser to add images and files.
0 Likes
Message 5 of 9

andy.clarkeLAA4H
Participant
Participant
Hi again, 
 
apologies, first time on here, 
 
So, the formula below works in excel, the "SIN" & "PI" are values(in excel), the table below shows that by entering the vales in the green cells gives the required results,
 
=(B39/C39)/SIN((90-D39)*PI()/180)
 
Load weight = B39
number of lift points = C39
sling angle  = D39
the formula is in the sling tension cell has the formula, "*PI()/180)" this converts radians to degrees in excel, is this required in cad if this works or can i just get away with needing the SIN value?

 

thumbnail_image.pngimage.png

0 Likes
Message 6 of 9

Michiel.Valcke
Advisor
Advisor

This is actually quite simple with a field in your table:

MichielValcke_0-1729671042850.png

You can play with the formatting in the cell properties:

MichielValcke_1-1729671311507.png


I have added a drawing with a demo table

 

0 Likes
Message 7 of 9

andy.clarkeLAA4H
Participant
Participant

Hi, 

that works great just how i want it to in your table, i have already set up a table but the formula is done vertically, still cant get it to work, am i missing something, 

image.png

0 Likes
Message 8 of 9

Michiel.Valcke
Advisor
Advisor
Accepted solution

I noticed while playing around with your template that changing the formatting of the cell value does have an influence on the calculated value. So conversion might be necessary, but it looks in working order to me.

MichielValcke_0-1729676654257.png

In your original drawing you missed one cell designation (C2 should be B3)

MichielValcke_1-1729676773789.png

 

0 Likes
Message 9 of 9

andy.clarkeLAA4H
Participant
Participant

That's great Michiel, thank you, i may have another shortly, but if it's as simple as typing the values like so then I hopefully can figure it out, thanks again.

0 Likes