Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Find Certain Cell Value and Replace with The Same Value

k3pineapple
8 - Asteroid

Hi All,

 

I would like to build a section to replace value.

The objective is to:

Find the error value & replace it with existing value.

 

Within the same Firm, under the same product, replace "Removed" value to existing sales value.

Sample input & output below

 

Data source:

Firm#ProductUserSales
1AppleAmyRemoved
1AppleBenZeb
1BananaCreeZegger
1BananaBenZeb
1CheeryCreeRemoved
2AppleDavVic
2BananaDavVic
3BananaFrankKath
3BananaGreeRemoved

 

Expected Output:

Firm#ProductUserSales
1AppleAmyZeb
1AppleBenZeb
1BananaCreeZegger
1BananaBenZeb
1CheeryCreeZegger
2AppleDavVic
2BananaDavVic
3BananaFrankKath
3BananaGreeKath

 

Thank you for your time

2 REPLIES 2
binuacs
21 - Polaris

@k3pineapple One way of doing this with the multi-row formula tool

 

binuacs_0-1664864922816.png

 

DataNath
17 - Castor
17 - Castor

@k3pineapple here's how I'd go about this, by nulling all 'Removed' values before finding the max for each firm and product. However, how would you handle instances like 'Cherry'? You say it needs to be by Firm and Product, but there's no existing/non-Removed one for that:

 

DataNath_0-1664865958581.png

Labels
Top Solution Authors