0

I have a .csv with rows that are something like:

"Review",Clean Review
"The hotel _was, re3ally good",the hotel was really good

but when I was open with excel 2013 the cells with the double quotes are showing empty on the sheet, and I can only see the text in the formula bar. Can anyone tell me why this is happening?

excel sheet kinda looks like:

|          |Clean Review|
|          |the hotel wa|

I have opened the .csv in notepad and there doesn't seem to be hidden characters causing this behavior

I used Python's csv module to create the .csv

it especially happens if you drag and expand the first column

7
  • 1
    I cannot reproduce your problem with the information you have provided. Can you upload a csv file that demonstrates the problem when opened in Excel? Commented Apr 23, 2017 at 20:21
  • @RonRosenfeld sure, what would be the best way to upload a file for you to download? Commented Apr 23, 2017 at 20:22
  • 1
    Use any of the various file-sharing sites. I've seen people use OneDrive, DropBox, and others; and edit your question to include the link. Make sure when YOU download the file from wherever you put it, that the problem is still reproduceable. Commented Apr 23, 2017 at 20:24
  • @RonRosenfeld if you're still interested I have uploaded the .csv, link in question Commented Apr 23, 2017 at 20:29
  • 1
    There is a carriage return character after the 'w'. Increase the height of row 1 and you will see it. Commented Apr 23, 2017 at 20:33

2 Answers 2

1

The problem is in your CSV file. There is a CR after the w in Review. And Review is actually on the 2nd line of A1 (seen if you increase the height of row 1).

Here is an analysis of the characters at the beginning of your actual CSV with the character and the ASCII code. Note the 10 after the w

"              34 
R              82 
e              101 
v              118 
i              105 
e              101 
w              119     
               10 
"              34 
Sign up to request clarification or add additional context in comments.

Comments

1

Try

="Review",Clean Review
="The hotel _was, re3ally good",the hotel was really good

This forces the value to be text and not something else. Haven't tried but theoretically should work.

Please check this and more solutions here

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.