EXCEL【一】#VALUE error record

Write casually:
Today I copied data from an HTML Kingsoft shared document to my own EXCEL table.
When I calculated the copied data, I found that #VALUE was always returned.
Anyway, I didn’t know what the #VALUE error was, so I was too lazy to check it. , when I asked gpt, he actually gave me several answers, so I had to try them one by one.
Insert image description here
When I checked, I found that the copied data turned out to be text, and I used type() to confirm.
But even text numbers can be involved in calculations.
Notice carefully that there are spaces after the numbers.
So I ran to ask gpt again, and it asked me to try replace, subtitue, trim, and clean. The results were all useless, and the spaces were still there. (It can only be deleted manually)
But how could I possibly do it, so I struggled all night.
finally! ! ! Let me find out that the problem lies in the step where I paste the data! Just paste special as text.

Later, the test found that if you select the matching format to paste (the matching format is selected when the above situation goes wrong), some data will not have #VALUE errors, and sometimes they will. do not know why.

Guess you like

Origin blog.csdn.net/qq_50653422/article/details/132679900