
You can also use the TEXT function to convert a number to text in a specific number format. In this scenario, you must convert the numbers stored as text back to numbers. This sometimes happens when you import or copy numbers from a database or other data source. Occasionally, numbers might be formatted and stored in cells as text, which later can cause problems with calculations or produce confusing sort orders. In this case, you could create a custom number format consisting of the code 0000000000, which forces Excel to display all ten digits of the product code, including the leading zero. For example, if you're typing or pasting ten-digit product codes in a worksheet, Excel changes numbers like 0784367998 to 784367998. Note: It’s handy to have the text you want to format in the cell before you press CTRL+1 because Excel will give you a sample view of what the text is going to look like in the Format Cells window, so you can see before pressing OK, if it’s what you want. VBA was restored in the next version, Mac Excel 2011, although the build lacks support for ActiveX objects, impacting some high level developer tools. Tip To copy data by using the keyboard, hold down the command key, and then press C.
#Format text in excel for mac 2011 for mac
If this is not what you want, you can create a custom number format that forces Excel to retain the leading zero. Microsoft Office for Mac 2011 tutorial: Excel basics 12 Notice that cells A2, A3, and A4 have the same formatting as cell B1, and the cursor now appears as the regular white cross.

When you enter a number that begins with a zero-for example, a product code-Excel deletes the zero by default. To use decimal places in numbers that are stored as text, you may need to include the decimal points when you type the numbers.

Text inside the cell wraps to fit the column width.

Those numbers will be formatted as text.Ĭlick the arrow in the Number Format box, and then click Text. Format a cell so that text wraps automatically in an Excel spreadsheet. Tip: You can also select empty cells, and then enter numbers after you format the cells as text.
