Pasting table from Excel turns numbers into "numbered list"
Asked by Robin Davis:

Hi all,

I've not had a problem with this before (even last week) so not sure if there has been any Confluence update recently that may have introduced the bug but, when I paste a table from Excel into a Confluence page, Confluence tries to be "clever" and think that my numbers are a "numbered list", overwriting my numbers :-o!  

E.g. if I had Excel numbers in separate cells of (with bullets here just being simple representation for this question, not what is in the Excel cells):

* 5.5
* 4.4
* 3.3

the Confluence cells come out like

* 1.5
* 1.4
* 1.3

with the "1." being the Confluence "numbered list" part. I.e. Confluence is totally overwriting the integral part of my numbers with the numbered list and obviously each cell starting a new numbered list.  

This is now driving me potty ?.  

UPDATES:

* If I have a table with 55.0 , 44.0 , 33.0 (i.e. multiplied by 10 and formatted to include 1 decimal place), the "numbered list" problem does not happen. So it looks like Confluence is trying to be clever if it spots a single integer followed by a dot.
* Similarly, if I have 5, 4, 3 (i.e. the single-digit integer without the decimal ".0"), the problem also doesn't occur.


Answers:
author: Shannon S
body: Hello Robin,

Thank you for reporting this! I was able to replicate in Confluence and Jira new issue view as well. It turns out it's not only affected by pasting from Excel:

* [CONFCLOUD-68744](https://jira.atlassian.com/browse/CONFCLOUD-68744) *Pasting single digit decimal numbers in new editor results in numbered list replacing the first digit*
* [JRACLOUD-73495](https://jira.atlassian.com/browse/JRACLOUD-73495) *Pasting single digit decimal numbers in new issue results in numbered list replacing the first digit*

This is the first I've seen this, so right now we'll start gathering data on this. Please click **This affects my team** and you'll automatically be added to the list of watchers to receive updates in the future.

Let me know if you have any questions about that.

Thank you!

Regards,

Shannon

comments: author: Shannon S
body: Robin,

I discovered that if I paste the values into a code snippet, it will retain the values. You'll lose the grid, but you can still display it like this:

![CleanShot 2019-12-04 at 14.15.27.png](https://community.atlassian.com/t5/image/serverpage/image-id/75022i2BB0782E884FA407/image-dimensions/478x229?v=v2 "CleanShot 2019-12-04 at 14.15.27.png")

It's not great, but it will enable you to at least preserve the data in Confluence.

Regards,

Shannon


author: Robin Davis
body: Many thanks, Shannon....for proving that I am not going potty, and verifying that it is a bug :-).

I have clicked on the **This affects my team** links so I get notified when it is fixed.


author: Robin Davis
body: Ah, sorry, didn't see your possible workaround re code snippet. Yeah, that wouldn't work for me because the tables I was pasting into Confluence from Excel had background colour formatting too (e.g. Conditional Formatting 3-Colour Scales).  
Although you can't change the background colour formatting natively in Confluence (that I have found anyway), I have found that, if I paste in from Excel, that background colour gets retained.


author: Shannon S
body: Hi Robin,

I'm sorry that you won't be able to use the workaround of the code snippet. Could you [display the Excel file directly](https://confluence.atlassian.com/confcloud/display-files-and-images-724765104.html#Displayfilesandimages-officeOfficeandPDFfiles) on the page until it's resolved?

By the way - I reported this to the development team, and I believe they are currently triaging this.

Regards,

Shannon


Tags: confluence-cloud