So
Lifer
So, I?m trying to make a sheet where I compute the following type of equation:
Written in pseudo code for easy understanding...
Find Z, given X, Y
If Y = GR
{
If X < 80, Z = X
If X > 80, Z = X / 40
}
If Y = LDR
{
If X < 22, Z = X
If 22 < X < 92, Z = X /11, and Z is no more than 5
If X >= 92, Z = X * .6 /11
}
And so on?
Using a lookup table, I?ve generated the outer part, but I?m at a loss as to the inner part. Especially because it needs a reverse lookup of sorts...
Written in pseudo code for easy understanding...
Find Z, given X, Y
If Y = GR
{
If X < 80, Z = X
If X > 80, Z = X / 40
}
If Y = LDR
{
If X < 22, Z = X
If 22 < X < 92, Z = X /11, and Z is no more than 5
If X >= 92, Z = X * .6 /11
}
And so on?
Using a lookup table, I?ve generated the outer part, but I?m at a loss as to the inner part. Especially because it needs a reverse lookup of sorts...