Excel uses a 64-bit floating point representation for numbers entered in cells, which means you can only have 15 digits precision.
In comments you explained you actually need to produce a CSV file with these large numbers, which represent ID values.
Then the solution is to enter the numbers as text. There are two ways to do this:
Prefix the value with a single quote, but don't end them with single quote: once you have entered the value like that, the quote is not displayed in the cell, or
First format the cell as Text
instead of General
(via the ribbon) and then enter the number: the number will not automatically be converted to the number data type any more, but stay like text.
When you then save the document as CSV, open the CSV file in a text editor. You will see that the numbers appear as they should be: without the single quote, but also not wrapped in double quotes.