Free Trial

Alteryx Designer Desktop Discussions

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

"if two numbers are equal then add numbers together" if statement question

acerdell
8 - Asteroid

Hi,

 

I have been working on a project at and got stuck on a minor problem; I would like to remove the duplicate codes by adding their corresponding numbers together. I appreciate for the help

 

 

Coden_ops 
1122335
1234566
3623438
1234563
8745314
9876555

 

This is the output that I would like (below)

Coden_ops 
1122335
1234569
3623438
8745314
9876555
2 REPLIES 2
garthheward
7 - Meteor

A Summarize tool can do this for you.

Summarize, and group by "Code" and sum "n_ops"

kat
12 - Quasar

Hi @acerdell

 

I saw that you hadn't yet marked this as resolved. In case you're not sure how to set this up, I've attached an example workflow.

 

configuration of the summarize toolconfiguration of the summarize tool

 

Cheers

Kat

Labels
Top Solution Authors