This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
@JoeM - per your request, copied over my Idea posting so that you can attach the macro for Concatenating multiple fields 🙂 Thank you thank you!!
From original Idea post:
I find that to do a simple concatenation of multiple fields, it takes multiple tools where it seems one would suffice. For example, if I had an address parsed into multiple fields (House Number, Street, Apt, City, State, Zip Code, Country), to combine these into a single address field, I'd have two options: Formula that manually adds each field with +' '+ in between each field, which is a lot of typing and selecting...Or Transpose data and then Summarize (concatenating) the values field with a space delimiter between each record.
Seems to me that a simpler solution would be a concatenate tool that might look and feel much like the Select tool, allowing you to choose a name for your concatenated string, input a delimiter, select the fields to concatenate, and re-order them within the tool. Bonus if it automatically converted everything to string fields (or at least allows you to designate whether you want to concatenate all your fields as numbers or strings, and then translates accordingly). Extra bonus if you also had the option to put a different delimiter after every field...
Not a super complex thing to do this task with the given tools, but it does seem like a fairly straightforward add that would likely save a whole bunch of folks at least a few minutes here and there.
The attached macro can do most of what you are asking for. The one thing it cannot do is "re-order them within the tool", but you can get that if you use a select tool to arrange the fields manually before the macro.
If you are wondering how to you get the macro tool into your workflow, one way to do this is have the macro open in another tab, right-click in the canvas, choose Insert->Macro->Concatenate. Then you can configure the tool as normal. The default deliminator is a space.
I just wanted to say this macro is FANTASTIC. This just saved us a ton of time concatenating over 650 columns together into one. We had messy truncated text fields from a vender that we had to input and this made things go SO smoothly.
Thank you Nicole for opening this thread and Joe for providing the Macro.