×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Linking Values

Linking Values

Linking Values

(OP)
Hello all.

Let's say I specify the value of beta to be 15 degrees

Further below, I respecify it to be 20 degrees

However, even further below, I'd like beta to be what it was specified the first time...I want to link this value to first beta that I specified. Is there a way to do this without having to input it again? Thanks!

RE: Linking Values

You can define the first as beta1 and the second as beta2. Then use an if condition to specify beta as a function of a condition vlaue. For example:

beta1=15
beta2=20
c=1
beta:=if(c=1,beta1,beta2)
.
.
.
c=2
beta:=if(c=1,beta1,beta2)
 

RE: Linking Values

Clansman,
Your thread title is a tiny step away from "Help".  There a a lot of people in eng-tips.com who don't open threads without a descriptive name.  You might get more traffic (and increased chance of an answer) if you red flag your post and ask management to change the title to something that is descriptive.

David

RE: Linking Values

another option, depending on why you have two values, is to use the 'style'. I had a case recently, also with beta, wher I had a forward calculated value and a back calculated initial value.

I discriminated between then by swiching the style of one (and renamed the style to something nicer than User2) to bold.

This also allows me to use the live symbolic substitute to solve the inverse problem for my system of equations. Took me a while to realise I needed two variables, apparently named the same, but functionally different in use.

It is a good trick.

I recommend that you update your template and create useful styles in the sheet (e.g. for vectors, for matrices, for range variable (loop indexes) etc. or what ever distinctions you'd like.

Philip

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources