A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
There's no need for a Custom Format & as you've found the pasted content is treated as a Value if it strictly consists of numerical digits even if the cell is preformatted as Text.
Format the cell(s) as Text first. To Paste click the right edge of the Paste tool then either:
- select Match Destination Formatting, or
- paste then select that option from the Paste Options button.
If you do much of this you may want to assign a keyboard shortcut to the Match Destination Formatting command.
As another option go to Excel> Preferences> Edit - Automatic Data Conversion to clear the check for Keep first 15 digits pf long numbers and display in scientific notation.