Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to display the string "-Inf" in a cell in Excel (Microsoft Office Standard 2010).

However, the cell displays the string "#NAME?" instead.

How can I alleviate this?

I have set the type of all cells to "text - Text format cells are treated as text even when a number is entered in the cell. The cell is displayed exactly as entered", so I am a bit surprised that it doesn't actually display the text exactly as entered.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Looks like Excel is interpreting that as a formula. Try prepending an apostrophe, to force Excel to treat it as plain text:

'-Inf
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.