lookup

lookup - Mensajes

#1 Publicado: 19/10/2010 6:10:58
panzonet

panzonet

0 me gusta en 2 mensajes.

Grupo: 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 Publicado: 19/10/2010 7:28:28
Andrey Ivashov

Andrey Ivashov

2.343 me gusta en 4.056 mensajes.

Grupo: Super Administrator

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


Download: vlookupImpl.sm

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

panzonet

0 me gusta en 2 mensajes.

Grupo: User

thanks a lot, it works!

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

Andrey Ivashov

2.343 me gusta en 4.056 mensajes.

Grupo: Super Administrator

Another possible implementation:


Download: vlookupImpl2.sm.
A 2 usuarios les gustó este mensaje
Radovan Omorjan 19/10/2010 9:13:00, ⚜ Kenny Lemens, P.E. ᵂᴵ 7/3/2023 11:35:00
#5 Publicado: 15/9/2021 19:15:30
MatFlanagan

MatFlanagan

0 me gusta en 1 mensajes.

Grupo: 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 Publicado: 15/9/2021 19:59:12
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: 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 Publicado: 9/10/2023 17:26:00
Divyang Soni

Divyang Soni

1 me gusta en 2 mensajes.

Grupo: User

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

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

Files should be these ones.
Regards

vlookupImpl.sm (4,16 KiB) descargado 1760 vez(es).
vlookupImpl2.sm (8,86 KiB) descargado 1785 vez(es).
#9 Publicado: 10/10/2023 8:42:05
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 10/10/2023 11:51:10
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

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


... just uploaded
#11 Publicado: 10/10/2023 22:51:11
Divyang Soni

Divyang Soni

1 me gusta en 2 mensajes.

Grupo: User

Wrote

Files should be these ones.
Regards

vlookupImpl.sm (4,16 KiB) descargado 1760 vez(es).
vlookupImpl2.sm (8,86 KiB) descargado 1785 vez(es).



Thank you!!
A 1 usuarios les gustó este mensaje
Oscar Campo 10/10/2023 23:18:00
  • Nuevos mensajes
  • Sin mensajes nuevos