Question
Input error to embedded excel using the number "1.5" and "in" unit
- September 8, 2016
- 2 replies
- 1323 views
I have an embedded excel, add an input variable and pass it to excel. In excel, in cell A1, I made a formula that uses the passed value as an argument in a Vlookup function to lookup in a table. Please see attach Mathcad file. But I find it strange that every time I input the value "1.5in" in variable 'd1' in Mathcad worksheet and passed it to excel, the Vlookup formula gets '#N/A' error. The passed value is obcourse a number because I divide the unit 'in' to the excel input. The same error occurs when I input "3in". But the rest of the values (1in, 1.5in, 2in, etc.) works fine. Also when I change the unit to "1.5ft" as shown on the second input 'd2' that goes to cell B1, the result in cell B2 works fine. Is this a bug in Mathcad?

