How do I paste a list into a new Confluence table?
Asked by David Reich:

I have a long list (350-450 file names) which I need to paste into individual rows in a table. I've tried:

\|a\|

\|b\|

\|c\|

using insert Wiki markup.

But all that does is create an embedded table in the first selected cell.

Thanks,

David


Answers:
author: GuilhermeA
body: Hello David,

I could not quite understand the error that you are getting, but trying to answer the question itself you could use something like you've proposed, and use the wikimarkup as well.

Can you try with this code if it works?

```
||Name||Email|||User1|user1@gmail.com||User2|user2@gmail.com||User3|user3@gmail.com||User4|user4@gmail.com||User5|user5@gmail.com||User6|user6@gmail.com|
```

And the following Table would be created:

![](../../upfiles/answer1.png)

Hope this is what you want, if not let me know so I can help you.

Cheers,

Gui

comments: author: David Reich
body: Gui,

I was trying to add rows into an existing table. They just went into the first cell.

Your suggestion works.

Since my table has empty columns I'm doing something like:

\|\|First\|\|Second\|\|Third\|\|  
\|one\| \| \|  
\|two\| \| \|  
\|three\| \| \|  
\|four\| \| \|  
\|five\| \| \|

Thanks,  
David


author: Aliaksei Ilkiu
body: This approach no longer works


author: Zenifer Cheruveettil
body: If you click on *Insert More Content* , select *Markup* and insert your tabular data, it works


author: tuexss
body: Thanks, that worked nicely!


author: Adrian Moreno
body: \^\^\^ Zenifer's should be the new accepted answer.


author: jaideep.shah
body: Here's what worked for me:

1. Copy the original content (in my case this was a table in PowerPoint)
2. Select the cells in the table on Confluence using the left mouse click and dragging over the required cells
3. Executed the paste action (CTRL-V on my windows machine)

NOTE: Pasted content will only cover the actual cells selected in the confluence table. So, ff you select less cells than in your original table, then only that matching subset of data will be pasted


author: Andres_Felipe_Pineros
body: The Excel solution worked like a charm. Thank you very much.


author: lpoddaturi
body: Jaideep.shah, your suggestion worked for me, thank you!!


author: Sandro Pugliese
body: I was having the same problem and this solved it for me:

<http://ffeathers.wordpress.com/2011/11/20/how-to-convert-a-bulleted-list-to-a-table-in-confluence-4/>

Take your list and paste/import into Excel. Copy rows from Excel. Paste into new Confluence table. It \*should\* paste each item into its own cell

comments: author: boardtc
body: I had a long list in a text file, pasting via excel first worked a charm!


author: Dan Bailiff
body: This should be the accepted answer.


author: Christian Munch
body: This is also the only solution that worked for me.


author: Sheri Ellis
body: Gotta add one thing I discovered: this works great if you copy/paste from Excel the app. Doesn't work if you copy/paste from Excel online. Lesson learned! :)


author: mike @ mindbridge
body: Kind of works for macOS 'Numbers' except you have to try and reformat the table ... which is pretty ugly ... thanks Confluence.


author: David Carrington Jr.
body: This program sucks. Why are we constantly searching for solutions that better programs have already developed, literally decades ago?

comments: author: Marnee DeRider
body: Couldn't agree more. I started adding 15 minutes a day for "admin" on my timesheet after we switched to using this. I waste so much time every time I use this.


author: Matt Terry
body: yep


author: mike @ mindbridge
body: Hilarious and very sad that this is still a complaint _7 years_ later. It would be embarrassing to dev for this company.


author: Andrew Leckie
body: I don't think the dev team give a monkeys about actual user's workflows, they seem much more interested in playing around with the UI doing "cool" redesigns. Another long standing request is templates for the description field. We still waste a lot of time manually pasting in template descriptions.


author: Carl Dichter
body: Over the years, they removed Markup, and although they provide Markdown it is not extended. It doesn't even support tables.


author: Sergey Galkin
body: Click to \`+\` and select Markup

Insert something like

\|a\|1\|

\|b\|2\|

\|c\|3\|

Working on Linux in Chrome

comments: author: mike @ mindbridge
body: Yeah, this isn't an option in the new editor

Just another broken thing in Confluence


author: Terris Linenbach
body: Pasting in the provided example doesn't work for me. I'm using OSX, Chrome, Confluence Cloud, with the concurrent editors beta


author: Nahuel Defosse
body: I encountered this problem in Linux recently, I think I used Numbers on OSX.

Most of the work I'm doing is pasting tables that come from Pandas DataFrames. The solution I found was to copy the DataFrame to to LibreOffice via \`df.to_clipboard()\`. Then select the table in LibreOffice, copy it and finally paste in a Chrome based browser.


author: Stuart Harris
body: Here is a workaround I use, but you need access to JIRA.

To create a table in Confluence from delimited data:

1. Change the data to use the JIRA format using \| as delimeters (\|\| for headers) with your favourite editor
2. Open any JIRA item and start adding a comment.
3. Select the Text tab (there should be two tabs Visual and Text)
4. Paste in the data
5. Select the Visual tab and the table will appear
6. Select the tab and press Ctrl+C to copy
7. Navigate to your Confluence page in edit mode and Ctrl+V to paste

The table will appear in Confluence.

You can then cancel the Comment in JIRA so it isn't added.


author: Balchan
body: Please make use of copy row (shift + Ctl +C) and paste (shift + Ctl +V) row feature available in confluence page.

comments: author: Marnee DeRider
body: This doesn't work, because the Shifth-Ctl-V does not work! There is an open bug on that (for a ridiculously long time), though I think it was finally fixed in the last release (which my company does not have).


Tags: paste

table