Stop Excel from evaluating cell contents?

孤人 提交于 2020-01-15 07:54:26

问题


Is there a way to stop Excel 2010 from doing math on a bunch of cells containing multiple numbers with leading plus or minus signs? E.g.

-706795 -1456130 -1869550 -936304 -1729830 -1737860 -687165 -16807800

Right now it sums the numbers up into one value. I would like them displayed as above. Formatting the cell as text doesn't work. I get this data from a CSV and have limited control over its contents...


回答1:


Use the text import wizard to load each value into an individual column. You may have to rename the CSV file as '.txt' to get the import wzard up by default, (shameless rep seeking here:).




回答2:


Use a single quote

'-706795 -1456130 -1869550 -936304 -1729830 -1737860 -687165 -16807800


来源:https://stackoverflow.com/questions/17886418/stop-excel-from-evaluating-cell-contents

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!