cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

vlookup from a table

ptc-4260912
1-Visitor

vlookup from a table

Hello,

when i look up a value from a table the answer always has parentheses.is there something in Mathcad other than vlookup where i can lookup values but w/p parentheses. please see attached mathcadsheet. The user pick a beam size, then i would like to be able to read its root beams from column 1 and 2. Also i would like to be able to look up other values as well w/o parentheses. Thank you all!

ACCEPTED SOLUTION

Accepted Solutions

Hello!

Please see the attachment.

View solution in original post

12 REPLIES 12

Hello!

Please see the attachment.

Thank you so much Vladimir!

did you add the 0 by "[ "? could you explain to what does the step you did do?

wayne
12-Amethyst
(To:ptc-4260912)

vllookup is returning a matrix, even though it is only one element, that's what the () indicated, so by using [0, you are selecting the first element in the matrix, which is a number.

SAM FARES wrote:

Thank you so much Vladimir!...

You're welcome.

SAM FARES wrote:

...did you add the 0 by "[ "?...

Yes .

SAM FARES wrote:

... could you explain to what does the step you did do?

Please see the correct explanation from Wayne at the top.

Thank you so much Vladimir!

did you add the 0 by "[ "? could you explain to what does the step you did do?

There is an issue with Vladimir's way. What happens when there are two matches?????

Using the [0, the function will only return the first match.

Mike

Mike,

Something wrong with this worksheet. At me Mathcad 15 M010 was closed with an error. Could you check it?

Please try the attached. I was only indicating that the [0 trick will not work when more than 1 match is found.

Mike

The same result:

Pic_1.jpg

Try to download this file ("Mathcad lookup_MC15_Mike.xmcd.zip") and then open it.

I have just downloaded and opened with no issues.

Mike

This is strange . However, yesterday I corrected the initial worksheet from another computer.

This is strange . However, yesterday I corrected the initial worksheet from another computer.

That is strange. See image from worksheet below.

Clipboard01.jpg

As I said, not much in it only indicating the problem if more than one match is found.

Mike

Announcements

Top Tags