Data Grouping

Updated on:
September 22, 2021

Portant Data Merge can group data within your source spreadsheet and place it into tables within your document. If your source spreadsheet contains multiple rows that should be grouped and inserted into one table then this is the feature for you. A good example use case is when you need to include multiple lines into an invoice or purchase order.

If you need to use this feature your source spreadsheet will normally have rows which are grouped together like the example below.

You can easily place a table into a document in a few easy steps:

Step 1

Add a table into the document (Insert > Table).

Optional: You can add header and footer rows to the top and bottom rows of the table and format as appropriate. The additional rows will only be placed immediately after the row with tags.
Step 2

Then add the tags into the table. These are the tags of the data that will have multiple lines per document. Please ensure the tags are only added on one row.

Step 3

After you have inserted the tags you need to set the table grouping (Data merge Options > Data grouping). Then select the column the table data will be grouped by. This column needs to be unique (e.g. no columns which are named Invoice Number and Invoice No. with the same data in the column.

Step 4

In the example above we have grouped by invoice number becasue we want to create a seperate document for each unique invoice number as shown in the source spreadsheet below.

After you have set up the grouping and other document settings (e.g. Document name, pdf or email etc) you can click the Create Documents button, and voila!, invoice will be made including tables with multiple lines from the spreadsheet source!

Feedback and feature suggestions

We created Portant only a few months ago, so any feedback or suggestions you have for us would be greatly appreciated. Please feel free to send us an email at contact@portant.co or use our contact form here: https://www.portant.co/support

Thanks,

Blake and James

More than mail merge

You can do a lot more than just mail merge with Portant. Portant is a fully-fledged online document automation solution that can optimise many different document flows. You can use our online document automation platform to optimise your repetitive work, so you can get back to doing the work you enjoy.

Get startedAn animation showing a google document being created from a Trello card.