Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.

Extract comma delineated data in cell to template

Har
Bronze 3
Bronze 3

Google Sheets will calculate the number of miles between addresses which is needed for my dispatch and management program. It is handy as there is an autofill function in GoogleSheets/Appsheet and (I assume) needed format for Google Maps which calculates the (also needed) distances. But, it is in a comma delineated format within a single cell.

From the parent table, I would like to prepare a series of letters & emails using table data. To format the data, I need to be able to take the comma delineated data within the address cell and extract to separate lines, address, city, and state/zip. 

Where could I find instructions on the template formatting that will allow me to extract from a cell to multiple document or template lines?

Google Sheet:   2010 Sandberg, Austin, TX, 78767
           
Template Doc: 2010 Sandberg
                            Austin, TX 78767

 

Solved Solved
0 11 1,028
1 ACCEPTED SOLUTION

If I were to do this for my own app, I would choose to use SPLIT() and INDEX() in virtual columns on the table and then only use column name variables in my template.

View solution in original post

11 REPLIES 11
Top Labels in this Space