Share via

Problem after copying and pasting numbers in Excel

Mahmoud Khadijeh 21 Reputation points
Sep 7, 2022, 9:42 AM

Hello ,

I have a problem in Excel after copying and pasting numbers that are larger than 1 and contains comma or point

For example:

If I copied a number from MATLAB to Excel (let us say 0.9043)

MATLAB

It will appear in Excel correctly like this:

Excel

However, If I copied a number bigger than 1 from MATLAB .. (let us say 7.1406)

MATLAB

It will appear in Excel wrongly without the comma like this:
Excel

Any suggestions on how to solve this problem!

Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,856 questions
{count} votes

Accepted answer
  1. Olaf Helper 46,456 Reputation points
    Sep 8, 2022, 7:59 AM

    Which reginal settings do you have?
    I have German settings, where the comma is the decimal separator and the dot the thousand separator.
    If I copy your values to MS Excel, I get the same result because Excel interprets the dot as thousand separator and ignores it => value gets up in the million range.
    Copy the value to Notepad & replace dot with comma; works for me.


1 additional answer

Sort by: Most helpful
  1. Mahmoud Khadijeh 21 Reputation points
    Sep 7, 2022, 1:33 PM

    yes, I did that and there is no issue after copying that to Notepad, but as you can see in Excel, the the comma (which is dot here) does not appear after the first number
    Notepad

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.