Hi I am trying to recreate the Excel vlookup function in Alteryx, but I can't figure out. Need some help. Thanks.
Here is vlookup I use in Excel : =IF(A2="Jan",VLOOKUP(B2,[Jan]Jan!$A:$D,C2+1,0),IF(A2="Feb",VLOOKUP(B2,[Feb]Feb!$A:$D,C2+1,0)))
Here are 3 sample excels files :
Jan and Feb files have detail sales information for each ID each metric ID.
I would like to put Jan and Feb information into summary files.
| Summary |
| Month | ID | Metric ID | Sales |
| Jan | AAA | 1 | 10 |
| Jan | AAA | 2 | 20 |
| Jan | AAA | 3 | 30 |
| Jan | BBB | 1 | 20 |
| Jan | BBB | 2 | 30 |
| Jan | BBB | 3 | 40 |
| Feb | AAA | 1 | 100 |
| Feb | AAA | 2 | 200 |
| Feb | AAA | 3 | 300 |
| Feb | BBB | 1 | 500 |
| Feb | BBB | 2 | 600 |
| Feb | BBB | 3 | 700 |
Jan File
Feb file
| ID | 1 | 2 | 3 |
| AAA | 100 | 200 | 300 |
| BBB | 500 | 600 | 700 |