I am using the following formula that display course terms =JOIN(COLLECT({term}, {course}, "2022", {id}, $ID@row), CHAR(10)) and it works great and displays results like this
I would like to amend the formula to include the course number in addition to the term to display something like this "202103-6220"
I was only successful in doing this:
=JOIN(COLLECT({term}, {course}, "2022", {id}, $ID@row), CHAR(10)) + JOIN(COLLECT({course}, {term}, "2022", {id}, $ID@row), CHAR(10))
which gave me output
As you see in instances where there are multiple terms, the first join collect formula goes through entire cycle and puts those terms up first, then executes the second join collect formula to append the course which is not what I would like. Any way to rewrite ?