Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

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