Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Duplicating certain fields based on a cells content

jwlam
8 - Asteroid

Hi all,

 

I'm having an issue with a third party product where multiple instances of a name shows up but only 1 email address field populates. To accurately collect the data I need all the email fields to be filled in. Is there a tool that can help fill in the blanks based on one name field already having an email associated with it?

 

Dataset 

 

jwlam_2-1682363686016.png

 

Desired Result

 

jwlam_4-1682363801581.png

 

Thanks!

3 REPLIES 3
SPetrie
13 - Pulsar

A multi-row tool would be able to do it.

Assuming the fields are all sorted and ordered like this, you can use the tool to update your Email field with a formula like

 if isempty([Email]) and [Name] = [Row-1:Name] then [Row-1:Email] else [Email] endif

binuacs
21 - Polaris

@jwlam Another method using summarise and join tool

binuacs_0-1682369160535.png

 

jwlam
8 - Asteroid

@SPetrie Worked perfectly. Thanks!!

Labels