I do not know how this works and could greatly use help. Thank you all.
I attached two photos below. The first is my master data. The master data will always be in one sheet, and all info is here. As you can see, sometimes, there will be 2 or more of the same Acc #s, but they will ALWAYS have same Animal Name and ID num. The states and other columns that I did not list in this sample photo can have diff info those. Look below to see the Whale example. One is State 1 and the other is State 11.
The second photo is my template (a separate excel workbook). What I need it to do is return the account only ONCE and concatenate diff data with a comma. So if there are two different states listed for same account, put them both in cell F8 (from second photo below) separated by comma.
The other piece of this is I need it to copy into this template and output it for EACH account. So here, there would be 10 outputs, and when they output, that template in filled in for the corresponding info.
So, the workflow will have 1 input I suppose??? and then the template only is in output tool.

