Start Free Trial

Alteryx Designer Desktop Discussions

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

Formula or logic needed to match various criteria

cterrence
8 - Asteroid

Hi All

Could you please assist, 

 

Project

I need to reconcile a statement using multiple criteria

I have attached a file which contains a sample source and the finished result I want

 

Task 1 - Need to extract the first column (A Number) based on first 4 digits - Completed

Task 2 - Need to extract the column  (A Account) based on last 4 digits - Completed

For eg


Now the main task

A NumberVoucherDateA Account Amount JALA
1000-035324ABJ00000462330/06/20221026150-2235-AB0751-8340-  1,500,000.0010008340
1000-035324ABJ00000462330/06/20223025200-2235-AB0751-8340    1,500,000.0010008340
1000-035324ABJ00000462330/06/20221026150-2235-AB0751-8234-        25,000.0010008234
1000-035324ABJ00000462330/06/20223025200-2235-AB0751-8234          25,000.0010008234
1000-006139ABJ00000233930/06/20213025200-2235-AB0751-8245-        45,000.0010008245
8245-006787ABJ00000239830/06/20211026150-2235-AB0751-1000          45,000.0082451000
8245-006787ABJ00000239830/06/20211026150-2235-AB0751-1000            1,500.0082451000

 

If data extracted from task 1 and task 2 matches with date column (Date) and amount column (Amount) then give me a Match else give No Match

 

Points
1. The data in JA and LA can come in any order like the ones I have highlighted in bold
2. All the matching criteria could be anywhere in the source. 

I was thinking of adding a helper column where I add column  JA and LA and use the helper as a lookup to match amount and date


Please help

13 REPLIES 13
caltang
17 - Castor
17 - Castor

Looks fine on my end:

image.png

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
caltang
17 - Castor
17 - Castor

Hmm, maybe let's reset the workflow. You want to join between LA and JA right?

 

But there are some occasions where LA matches to JA and vice versa - thereby flagging it as YES right?

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
cterrence
8 - Asteroid

Thanks @caltang 

I  have added additional columns to showcase the JA/LA switch, I have highlighted the problematic ones in yellow 

 

Alteryx__SS.JPG

 

 

 

 

 

 

caltang
17 - Castor
17 - Castor

Hmm, I've checked the data manually and got this:

 

image.png

 

This should be right. 

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Labels
Top Solution Authors