In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Urgent help require to fill blank cell.

alt_tush
9 - Comet

Hi All,

 

I have below data (Table1). I want to update only blank cell in Filed3 wherever Field1=Field2

 

For example for first case where 100=100 their field3 value in blank cell should be ABC100 and same for others.

 

Table1

Field1Field2Field3
100100 
100100 
100100ABC100
200200 
200200XYZ200
300300 
300300PQR300
300300 
300300 
400400 
500500STU500

 

Expected output should be 

 

Field1Field2Field3
100100ACB100
100100ACB100
100100ACB100
200200XYZ200
200200XYZ200
300300PQR300
300300PQR300
300300PQR300
300300PQR300
400400PQR300
500500STU500

 

Thank you in advance.

2 REPLIES 2
FFFool
9 - Comet

Edited to attach an example - I also read the word "field" so many times I was sure it was spelled wrong. 

 

First, sort your data, so it looks like this - So the cells in Field 3 that are populated are at the top of the groups of Field1 & Field2 

Field1Field2Field3
100100 ABC100
100100 
100100 
200200 XYZ200
200200 
300300PQR300
300300 
300300 
300300 
400400 
500500STU500

 

Then use the Multi-Row Formula tool and in the expression section put:

IF ISEMPTY([Field3]) and [Field1]=[Field2]
THEN [Row-1:Field3]
ELSE [Field3]
ENDIF

 

Hope that helps!

alt_tush
9 - Comet

Hey Friend,

Thank a lot. It really resolved my Problem.

 

Have a nice day 🙂 

Labels
Top Solution Authors