We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Help Needed: Copying Values Downward in Empty Cells Until Next Value

KafuiGodzi
5 - Atom

Hello all,

 

I need help with a task where I want to copy a value downwards in empty cells until the next nonempty cell is encountered. Essentially, I want to fill empty cells with the value from the cells above until a new value is reached, and then repeat the process. Can you help me with this? I have attached a sample of my dataset. 

1 REPLY 1
rzdodson
12 - Quasar

@KafuiGodzi If I understand your requirements, I think that a Multi-Field Formula (Preparation palette) tool will be your saving grace here. Below is the syntax I used.

 

If !isnull([Date]) and !IsNull([Row-1:Account Name]) and IsNull([Account Name]) then [Row-1:Account Name] else [Account Name] endif

 

Solution.png

Labels
Top Solution Authors