lookup

lookup - Messaggi

#1 Pubblicato: 19/10/2010 06:10:58
panzonet

panzonet

0 apprezzamenti in 2 post.

Gruppo: 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 Pubblicato: 19/10/2010 07:28:28
Andrey Ivashov

Andrey Ivashov

2.343 apprezzamenti in 4.056 post.

Gruppo: Super Administrator

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


Download: vlookupImpl.sm

Regards.
#3 Pubblicato: 19/10/2010 08:14:58
panzonet

panzonet

0 apprezzamenti in 2 post.

Gruppo: User

thanks a lot, it works!

#4 Pubblicato: 19/10/2010 08:54:59
Andrey Ivashov

Andrey Ivashov

2.343 apprezzamenti in 4.056 post.

Gruppo: Super Administrator

Another possible implementation:


Download: vlookupImpl2.sm.
2 utenti hanno apprezzato questo post
Radovan Omorjan 19/10/2010 09:13:00, ⚜ Kenny Lemens, P.E. ᵂᴵ 07/03/2023 11:35:00
#5 Pubblicato: 15/09/2021 19:15:30
MatFlanagan

MatFlanagan

0 apprezzamenti in 1 post.

Gruppo: 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 Pubblicato: 15/09/2021 19:59:12
overlord

overlord

600 apprezzamenti in 1.381 post.

Gruppo: 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 Pubblicato: 09/10/2023 17:26:00
Divyang Soni

Divyang Soni

1 apprezzamenti in 2 post.

Gruppo: User

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

overlord

600 apprezzamenti in 1.381 post.

Gruppo: Moderator

Files should be these ones.
Regards

vlookupImpl.sm (4,16 KiB) scaricato 1765 volta(e).
vlookupImpl2.sm (8,86 KiB) scaricato 1789 volta(e).
#9 Pubblicato: 10/10/2023 08:42:05
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

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

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

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


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

Divyang Soni

1 apprezzamenti in 2 post.

Gruppo: User

Wrote

Files should be these ones.
Regards

vlookupImpl.sm (4,16 KiB) scaricato 1765 volta(e).
vlookupImpl2.sm (8,86 KiB) scaricato 1789 volta(e).



Thank you!!
1 utenti hanno apprezzato questo post
Oscar Campo 10/10/2023 23:18:00
  • Nuovi post
  • Nessun nuovo post