lookup

lookup - Messages

#1 Posted: 10/19/2010 6:10:58 AM
panzonet

panzonet

0 likes in 2 posts.

Group: User

Hello,
your work is greatly appreciated.
I would like to have a function like lookup (vlookup, hlookup) in mathcad.
This is very useful when you have to find data inside a database (matrix).

thanks again

Marco
#2 Posted: 10/19/2010 7:28:28 AM
Andrey Ivashov

Andrey Ivashov

2270 likes in 3734 posts.

Group: Super Administrator

Here is example of vlookup(..) function definition for SMath Studio:


Download: vlookupImpl.sm

Regards.
#3 Posted: 10/19/2010 8:14:58 AM
panzonet

panzonet

0 likes in 2 posts.

Group: User

thanks a lot, it works!

#4 Posted: 10/19/2010 8:54:59 AM
Andrey Ivashov

Andrey Ivashov

2270 likes in 3734 posts.

Group: Super Administrator

Another possible implementation:


Download: vlookupImpl2.sm.
2 users liked this post
Radovan Omorjan 10/19/2010 9:13:00 AM, ⚜ Kenny Lemens, P.E. ᵂᴵ 3/7/2023 11:35:00 AM
#5 Posted: 9/15/2021 7:15:30 PM
MatFlanagan

MatFlanagan

0 likes in 1 posts.

Group: User

Hello,

I hope that this thread is still active.
I am trying to do the same thing with a horizontal lookup. I tried adjusting the vlookup to work, but I can't seem to get it right.
Could someone possibly post a way they have figured out how to use "hlookup" instead of "vlookup"
#6 Posted: 9/15/2021 7:59:12 PM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

Wrote

Hello,

I hope that this thread is still active.
I am trying to do the same thing with a horizontal lookup. I tried adjusting the vlookup to work, but I can't seem to get it right.
Could someone possibly post a way they have figured out how to use "hlookup" instead of "vlookup"


Write a new hlookup() function.
Or transpose the matrix in vlookup().
Either way it will search for horizontal.

Regards

2021-09-16_01-57.png
#7 Posted: 10/9/2023 5:26:00 PM
Divyang Soni

Divyang Soni

1 likes in 2 posts.

Group: User

Hello, I am trying to download the files but the link leads me to the main website. Please help.
#8 Posted: 10/9/2023 6:28:26 PM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

Files should be these ones.
Regards

vlookupImpl.sm (4 KiB) downloaded 121 time(s).
vlookupImpl2.sm (8 KiB) downloaded 95 time(s).
#9 Posted: 10/10/2023 8:42:05 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Could someone possibly post a way they have figured out how to use "hlookup" instead of "vlookup"


Vertical matrix is easier to inspect, range select.
Visit Samples next day or two ... gigantic Compendium.
lookup(value,table,col) ... working code.
Part 2 Discrete Systems.
Cheers ... Jean
#10 Posted: 10/10/2023 11:51:10 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Visit Samples next day or two ... gigantic Compendium.
lookup(value,table,col) ... working code.
Part 2 Discrete Systems


... just uploaded
#11 Posted: 10/10/2023 10:51:11 PM
Divyang Soni

Divyang Soni

1 likes in 2 posts.

Group: User

Wrote

Files should be these ones.
Regards

vlookupImpl.sm (4 KiB) downloaded 121 time(s).
vlookupImpl2.sm (8 KiB) downloaded 95 time(s).



Thank you!!
1 users liked this post
Oscar Campo 10/10/2023 11:18:00 PM
  • New Posts New Posts
  • No New Posts No New Posts