A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Copying from the formula bar (in edit mode) will result in just the text being copied. Formatting - even character by character formatting - is a property of the cell containing the text.
If you want to copy and paste formatting, copy the cell itself, and then paste over another cell. If you then need to edit the text, do so in the new cell and the formatting will remain (as long as you don't delete the formatted characters).
If copying part of a formatted string is something that you do often, then you may want to write a macro that will insert the characters and their formatting from one string to another.