How to paste a number of more than 15 digits without it fills with zeros?

Fractalis

Active Member
Joined
Oct 11, 2011
Messages
328
Office Version
  1. 365
Platform
  1. Windows
Hello to all,

I'm using MS Excel 2010, Windows 7 32 bits.

If I copy a number of of length from 1 to 15 digits and paste it in a cell, having the cell format = "Number", it pastes it correctly
but If I paste a number with length greater than 15 digits, it pastes the first 15 digits fine, but the rest it fills with zeros.

Why this happens?
Is there a way to set a format to paste a number greater than 15 digits in a cell to avoid this issue?

Thanks for any help.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Excel can only handle 15 digits of a number. You need to format the destination cell as Text.
 
Upvote 0
Hello Peter,

I've formatted the cell as text but still appear numbers like 4.1893E+17.

I'm trying to copy a table from a email that has numbers with length of 20 digits and If I put a "'" at the beginning of the number, it fixes the issue since treats it as text, but having to add ' manually is time consuming :(

Thanks again for any help.
 
Upvote 0
After formatting the destination range as text, when given the option after pasting, select Paste Values.
 
Upvote 0
Hello shg,

Thanks for the help. I understand now. When I do right click, Excel shows 2 options to paste.
1- Keep Source Formatting
2- Match Destination Formatting

And if I don't change the destination cells format to text before paste, it pastes it as "General".

Then first is needed to format as text the destination range and then select Match Destination Formatting!

Thank you again.

Best regards
 
Upvote 0

Forum statistics

Threads
1,224,884
Messages
6,181,555
Members
453,053
Latest member
Kiranm13

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top