VLookup Multiple Conditions if statements
Show older comments
Hi
I was wanting to modify this code to perform a VLookup on 2 columns and return the element of one of the correspoding column element in the same row?
Can someone please assist me on the if statements for this function?
Here is a function I found on Mathworks that I would like to modify: So instead of having one lookup column I need 2.
7 Comments
James
on 27 Mar 2020
Adam Danz
on 27 Mar 2020
Thanks. If your searching a numeric matrix, my answer should do the trick. If you're searching a cell array, describe the content of the array (strings, characters, numbers, vectors, etc...) and I could help with a solution.
James
on 28 Mar 2020
Adam Danz
on 28 Mar 2020
Is the array a cell array or a table?
James
on 30 Mar 2020
Accepted Answer
More Answers (0)
Categories
Find more on Multidimensional Arrays in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!