Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Excel 2007 - Wrap X-Axis Labels (line break, word wrap)

Tags:

excel-2007

I am not able to wrap the text of x-axis labels on Excel 2007 charts. As a result, the axis labels are overlapping onto each other. Does anyone know how can I wrap these labels?

like image 648
soldieraman Avatar asked Nov 10 '10 13:11

soldieraman


People also ask

How do I wrap text around a label in Excel?

Wrapping Labels Simply place your cursor in the formula bar where you want to add the break and press the ALT+ENTER keys. Hit ENTER again, and you'll see the text wrap on two lines. You now have the text arranged the way you like it in the spreadsheet and in the graph.


1 Answers

After a lot of googling we found CHAR(10) to be the solution of our problems. As long as you have the value like:

="First Line" & CHAR(10) & "Second Line"

it will break X-Axis, Y-Axis, Chart Header etc

like image 77
soldieraman Avatar answered Sep 18 '22 17:09

soldieraman