Need to concatenate multiple columns across multiple rows based on criteria in a single column

Hey Smartsheet Community!

I'm hoping everyone isn't on Thanksgiving break yet. :) I've looked through the posts and found nothing I can adapt for my use case.

I have 4 columns ([Suggested ICD-10 Code], [Code Description], [Type of Finding], and [Support]) that I'd like to join with a "; " or ", " but I need to do it from multiple rows where the [ChartID] is the same and preferably break the join between rows with a line break.

I tried AI and it gave me the formula below but that gives me a #invalid operation error:

=JOIN(COLLECT([Suggested ICD-10 Code]:[Suggested ICD-10 Code], ChartID:ChartID, ChartID@row) + "; " + COLLECT([Code Description]:[Code Description], ChartID:ChartID, ChartID@row) + "; " + COLLECT(Support:Support, ChartID:ChartID, ChartID@row), ", ")

Thanks in advance for the help!

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!