In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more 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
binu_acs
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