Problem after copying and pasting numbers in Excel

Mahmoud Khadijeh 21 Reputation points
2022-09-07T09:42:35.52+00:00

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!

Microsoft 365 and Office | Excel | For business | Windows
{count} votes

Answer accepted by question author
  1. Olaf Helper 47,586 Reputation points
    2022-09-08T07:59:43.5+00:00

    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
    2022-09-07T13:33:57.523+00:00

    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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.