Alteryx Designer Desktop Discussions

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

Urgent help require to fill blank cell.

alt_tush
Cometa

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 RESPOSTAS 2
FFFool
Cometa

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
Cometa

Hey Friend,

Thank a lot. It really resolved my Problem.

 

Have a nice day 🙂 

Enquetes
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Rótulos