cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

JMP Wish List

We want to hear your ideas for improving JMP. Share them here.
Choose Language Hide Translation Bar

Create a Vlookup function

Support,

 

I found a way to create a vlookup through scripting in JSL, but is there a possibility to include something like this in the formula editor under the Comparison menu?

 

Thanks for your consideration to this idea.

 

Ana Maria Heilman-Morales

4 Comments
mark_anawis
Level IV

Hi Ana, Have you tried "Match"? If you select the column name first and single-click on "Match", it shows you a submenu where you can automatically add the Match arguments from the data (i.e. the values in your column). Then you can add the value you want returned in each then clause.

Jeff_Perkinson
Community Manager
Status changed to: Already Offered

There are many ways to get the same kind of result as VLOOKUP depending on your ultimate goal:

 

  • Virtual Join links a main data table to one or more auxiliary data tables
  • Tables->Join will add a column of values based on matching values
  • The Match function will compare values to a list and return a result

There are lots of other ways, again, depending on your need.

 

Ryan_Gilmore
Community Manager
Status changed to: Delivered
 
BHarris
Level VII

We use the Table -> Update feature for this all the time, it's incredibly useful.