Start Free Trial

Alteryx Designer Desktop Discussions

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

lookup between dates and matching critera

mtangri
5 - Atom

In the attached file,  I have done the following steps

 

1. Used union to bring data in one sheet.  (Input table and output table)

 

2. then used the following formula

New  Column 

=if [key1 = key2] and [order placement date]>= [order start] and [order placement date]<= [order end]

 

then 

 

[expiry month]

 

else

 

0

 

endif

 

task:  bring in the expiry dates based on the order placement dates, by looking up 1. product/b/w dates.

 

I am a beginner user and struggling to get the result, any help will be appreciated. 

 

 

 

5 REPLIES 5
Luke_C
17 - Castor
17 - Castor

@mtangri  Can you attach the workflow you've tried building so we can better see the steps you've attempted? 

mtangri
5 - Atom

Thanks for the quick response, I have added the workflow as well as input/output files.

atcodedog05
22 - Nova
22 - Nova

Hi @mtangri 

 

Is this what you are looking for 

 

atcodedog05_0-1646412974793.png

 

Hope this helps : )

 

mtangri
5 - Atom

Thanks a lot. it works.  

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @mtangri 

Cheers and have a nice day!

Labels
Top Solution Authors