Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

vlookup range true

ntudev
8 - Asteroid

I'm trying to do a vlookup but the range needs to be true and not false.  I included an excel sheet with a vlookup on the 2nd tab for anyone that can help.

 

source

LevelRank
11
32
43
44
55
76
97
128
169
2310
3311
5412
7413
14114
25415
60816
99317
175318
175319
383520
1000021

 

 

target

Level
157.67
72.67
35.20
64.11
206.25
26.59
80.00
26.34
44.44
119.67
72.40
9.40
57.34
9.23
28.87
47.43
87.25
28.52
48.73

 

result should be like this

 

Levelrank
157.6714
72.6712
35.2011
64.1112
206.2514
26.5910
80.0013
26.3410
44.4411
119.6713
72.4012
9.407
57.3412
9.237
28.8710
47.4311
87.2513
28.5210
48.7311
3 REPLIES 3
Qiu
21 - Polaris
21 - Polaris

@ntudev 
I prepared 2 possible approach.

The 2nd one should be faster for larger dataset considering the Appending is quite computational expensive.

1020-ntudev.PNG

Felipe_Ribeir0
16 - Nebula

Hi @ntudev 

 

Another way of doing this, but as @Qiu said if your dataset is much larger than this sample it is better to use his second option (that is not using the append tool)

 

Felipe_Ribeir0_0-1666228599881.png

 

grazitti_sapna
17 - Castor

Hi @ntudev , Please find my solution attached. I would recommend the same solution to what @Qiu  and @Felipe_Ribeir0  has provided but if you want to go with second approach in case of large data set it would be a better approach.

Sapna Gupta
Labels
Top Solution Authors