A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Alan wrote:
They are not stored as text but numbers
They probably are indeed text that Excel cannot interpret as numbers. The format of the cell does not matter. And you cannot rely on visual inspection. Use =ISTEXT(A1) to confirm.
The next question is: why?
We are not likely to be able to answer that question without seeing the actual Excel file (and perhaps the CSV file). A screenshot is useless. (Geesh!)
If you cannot figure it out on your own, upload an example Excel file that demonstrates the problem to a file-sharing website, and post the public/share URL in a response here. Be sure the URL can accessed when you are not logged in. The file should be redacted (remove private information).
The following is not likely to remedy the problem, but it might be worth a try.
=--TRIM(SUBSTITUTE(A1,CHAR(160),""))
The double-negate converts the resulting text to a number, if that is possible. Otherwise, you will get another #VALUE error.