You should probably use a data tiddler for the lookup part. You could do it using normal fields but I like using data tiddlers for these things. For the math parts I have a few tools that I put together to make the wiki dynamically update values for me, but I don't really have any documentation or anything in a state to show off. The parts I used were from my mathything <http://inmysocks.tiddlyspot.com/#MathyThing%20Plugin> and trigger actions <http://inmysocks.tiddlyspot.com/#TriggerActions%20Plugin> plugins.
For your purpose you may be better off writing your own widget if you are comfortable with javascript. You could probably edit the widgets in mathything to directly do the math you want, and there is a demo site for the trigger actions plugin that hopefully will show how you can make the math update automatically. Even if you aren't familiar with javascript it sounds like you want to make some interesting things with tiddlywiki and learning a bit of javascript will make that easier. The reason they are widgets instead of just javascript macros is that widgets can update on any change to the wiki while macros are more limited in when they will update. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d2a313d2-3f32-4ca2-8f40-f2cb885db8f1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

