Forum Discussion
Rolf_08
Mar 29, 2023Copper Contributor
Problem pasting with "-"
Hi all, when pasting the following in Excel I get the #NAME error because Excel makes it into a formula by adding "=" in front. "- protein chocolate" becomes "=- protein chocolate" which giv...
PeterBartholomew1
Mar 29, 2023Silver Contributor
To keep the hyphen/minus prefix the formula with a single quote / apostrophe.
Otherwise pre-format the cell as 'text' using number formatting. SUBSTITUTE or Text to Columns would then remove the hyphen.
Rolf_08
Mar 30, 2023Copper Contributor
Thanks PeterBartholomew1
I now pre-format the cell with the number formatting and substitute to remove the hyphen.
Thanks again.