Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an excel sheet where a column contains memory informations formatted this way on one unique line in each cell:

{(slot  2048 MB,1,667,Unknown),(slot  2048 MB,2,667,Unknown),(slot  2048 MB,3,667,Unknown),(slot  2048 MB,4,667,Unknown)}

How can I format each cell to display the content of one parenthesis per line:

(slot  2048 MB,1,667,Unknown),
(slot  2048 MB,2,667,Unknown),
(slot  2048 MB,3,667,Unknown),
(slot  2048 MB,4,667,Unknown)
share|improve this question

I'm not sure you can do it with just formatting. But if you use SUBSTITUTE in a different cell, you can add in some line breaks. If your data is in A1, put this in B1:

=SUBSTITUTE(A1, "),(", ")," & CHAR(10) & "(" )

share|improve this answer

Not quite clear whether you want to enter this information manually or via a formula but, similar to another answer, you can use CHAR(13).

[Technically char(13) is a carriage return whereas char(10) is a line feed]


=A1 & CHAR(13) & A2 & CHAR(13)...

along with various string replacement or substring strategies as required.

If you're entering text manually then you can insert a line break by using Alt+Enter within a cell.

share|improve this answer

Your Answer


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.