I'm using an ARRAYFORMULA / TEXTJOIN formula in Google Sheets to pull selected data together to make a single line of code arranged in a specific way for my project.
The resulting array needs to both INCLUDE commas in the first half, as well as EXCLUDE commas towards the end of the same formula.
example of commas needing removed
I'm currently using a ", " at the beginning of my TEXTJOIN, which works for placing a , between each cell, however I also need the last few cells (in this case: I9, O5, O6, O7, O8) to not have any commas between them.
Is there a way to do this?
Thank you in advance!
Here is a demo of what I'm working on: https://docs.google.com/spreadsheets/d/1gTQiNKy4c376FuIWQQAomlJ6J1utCOjuq6JzRplTSu4/edit?usp=sharing

