Hello,
hlookup vlookup return results enclosed in parentheses. Here is an example of what I'm trying to do:
data := 0 7 2
1 1 9
2 5 8
answer=vlookup(1,data,hlookup(0,data,2))
then I get an error message saying that an integer was expected instead of the hlookup stuff. I think it is because the hlookup(7,data,2) term comes back with the result in parentheses. If I just use an ordinary pre-defined constant instead of hlookup term then it works fine. But the trouble is I need to lookup the term in a table to know what it is.
What I have is a table of values and I'm trying to get a value out of it. For example, the rows might all be a model number and the columns might all be different sizes within each model. The values might be weights. I'd be looking up the weight of a model 52, size 36.
Any clues as to how to get this to work?
Thanks,
Tod
hlookup vlookup return results enclosed in parentheses. Here is an example of what I'm trying to do:
data := 0 7 2
1 1 9
2 5 8
answer=vlookup(1,data,hlookup(0,data,2))
then I get an error message saying that an integer was expected instead of the hlookup stuff. I think it is because the hlookup(7,data,2) term comes back with the result in parentheses. If I just use an ordinary pre-defined constant instead of hlookup term then it works fine. But the trouble is I need to lookup the term in a table to know what it is.
What I have is a table of values and I'm trying to get a value out of it. For example, the rows might all be a model number and the columns might all be different sizes within each model. The values might be weights. I'd be looking up the weight of a model 52, size 36.
Any clues as to how to get this to work?
Thanks,
Tod