IFRs
Petroleum
- Nov 22, 2002
- 4,658
When I use vlookup to get the nth value of a single column array, it returns a vector, which I can't use in a subsequent vlookup function.
My arrays are one column by 10 rows, with one arry being the root areas and the other array being the bolt size.
I calculate a minimum area, then use lookup in an array of bolt root areas, then return the bolt size.
vlookup( calculated area , bolt root areas , bolt size )
vlookup seems to return the next highest bolt, which is what I want.
Then I want to use the bolt size in a vlookup to get the actual root area to then calculate the bolt strength. But, Mathcad chokes on the use of the results from the first vlookup because it is a vector of one valur but it has to be a scalar.
How to convert? Or do this easier?
My arrays are one column by 10 rows, with one arry being the root areas and the other array being the bolt size.
I calculate a minimum area, then use lookup in an array of bolt root areas, then return the bolt size.
vlookup( calculated area , bolt root areas , bolt size )
vlookup seems to return the next highest bolt, which is what I want.
Then I want to use the bolt size in a vlookup to get the actual root area to then calculate the bolt strength. But, Mathcad chokes on the use of the results from the first vlookup because it is a vector of one valur but it has to be a scalar.
How to convert? Or do this easier?