We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Comparing Dates in two excel files

KamalChoudhary_in
7 - Meteor

 

HI Team,

 

Im tying to compare two excel worksheets, commnon identifier between them is Column(Account)

 

I want to update column Comments Match if

Account,

Intimation Date,

EndDate

all three are matching else Nomatch in Comments

 

 

 

 TABLE A    TABLE B 
EndDateIntimation DateAccountComments EndDateIntimation DateAccount
04 November 202221 October 2022456Match 20 February 202206 February 2022123
20 February 202206 February 2022123Match 04 November 202221 October 2022456
22 March 202206 March 2022123Nomatch 05 October 202221 September 2023456
20 March 202208 March 2022123Nomatch 30 November 202216 November 2022789
30 November 202216 November 2022789Match 31 January 202317 January 2023789
30 December 202216 December 2022789Nomatch 30 September 202316 September 2023789
31 January 202317 January 2023789Match 31 October 202217 October 2022789
 

 

4 REPLIES 4
PhilipL
Alteryx
Alteryx

Hi @KamalChoudhary_in 

 

This is one of many ways to approach this in Alteryx. A cleaner solution would add cleanups/conversions of your date fields to actually be dates.

 

Join on ID and Dates.PNG

nagakavyasri
12 - Quasar

One way:

 

Screenshot 2023-06-26 164606.png

PhilipL
Alteryx
Alteryx

Hi @nagakavyasri,

 

Your solution might need a 3rd formula to pick up the unmatched records from the Join (R) output. It's possible they may be different from the Join (L) unmatched records.

 

Cheers!

Phil

nagakavyasri
12 - Quasar

Yeah,right! Thank you!

Labels
Top Solution Authors