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

General Discussions

Discuss any topics that are not product-specific here.

Sum ifs & Vlookup

ngawangt73
5 - Atom

I have a 2 files, one included reference numbers and amount and the other file just the amounts.

 

-  I need to first sum up all the amounts in the reference numbers are a match

- Then need to use a vlookup to match the summed amounts with the other file.

 

any help is greatly appreciated!

3 REPLIES 3
cjaneczko
13 - Pulsar

Start with using a Summarize Tool and group by the Reference Numbers and sum the amounts. Follow that with a Join Tool and join the output of the Summarize Tool with your other file based on the Reference Numbers.

ngawangt73
5 - Atom

Hi thanks for your reply! I forgot to mention that I have multiple identical reference numbers and only certain one requires summing up. In excel i could used another unique identifier/criteria to tackle this. I think your solution would sum up all the ref. numbers, is there another way to approach this? Again Thank you! 

cjaneczko
13 - Pulsar

Group on the identifier as well in the summarize tool.

Labels
Top Solution Authors