To insert something into an Excel cell, click the cell once to select it, type the text or number, then press Enter or Tab to commit it. That is the whole basic move. Everything else in this guide is about the variations that actually trip people up: adding a line break inside a cell, pasting text without wrecking the formatting, inserting whole rows or columns, and keeping long numbers such as phone numbers or account codes from being mangled into scientific notation. None of it needs any special add-in, and it works the same in Excel for Microsoft 365, Excel 2021 and 2019 on Windows and Mac, plus Excel for iPhone and Android. Menu labels can differ slightly by version, device and region, so treat any path named here as a guide rather than a guarantee.

What You'll Need

  • A copy of Microsoft Excel on desktop (Microsoft 365, 2021 or 2019) or the free Excel mobile app on iOS or Android.
  • A workbook, either new or existing. If you are experimenting, use a blank workbook first so nothing important is at risk.
  • Basic familiarity with selecting a cell. Nothing else. No internet connection is required for editing once the file is open locally.

Step-by-Step

  1. Open the workbook. Launch Excel and either create a blank workbook or open an existing file. On mobile, tap the file from the Recent list on the home screen. If the file is stored in OneDrive or SharePoint and you have only view access, you will not be able to type into any cell. Check that the ribbon is not greyed out and that the title bar does not say Read-Only.
  2. Select the target cell. Click it once with the mouse. The cell gets a green border and its name appears in the Name Box at the top left, for example B4. Use the arrow keys if you prefer the keyboard. To jump straight to a cell, type its address into the Name Box and press Enter.
  3. Enter edit mode and type. Just start typing. Excel replaces whatever was in the cell and shows your text in both the cell and the formula bar. If you want to add to existing content rather than replace it, double-click the cell (or press F2 on Windows, Control+U on Mac) so the insertion point lands inside the existing text, then click where you want the new text and type.
  4. Commit the entry. Press Enter to confirm and move down one cell, or Tab to confirm and move right. Clicking another cell also commits. An Escape press cancels the entry and restores the previous content, which is the fastest undo available while typing.
  5. Wrap long text inside the cell. Select the cell, then use Home > Wrap Text on the ribbon. On mobile, the wrap control is in the formatting toolbar that appears along the bottom of the screen when a cell is selected. Wrapping keeps the text inside the existing column width and makes the row taller instead of spilling across empty neighbours.
  6. Add a manual line break within a cell. Double-click the cell, place the cursor where the break should go, then press Alt+Enter on Windows or Control+Option+Return on a Mac. On iPhone and Android, tap inside the cell so the keyboard opens and press the Return key on the on-screen keyboard. Turn on Wrap Text first, otherwise the second line may be hidden by the cell's height.
  7. Insert a row or column without deleting anything. Right-click the row number or column letter and choose Insert, which pushes existing rows or columns down or right rather than overwriting them. For a single cell, right-click it and choose Insert, then pick Shift cells down or Shift cells right in the dialog that appears. To add several cells at once, select that number of cells before inserting.
  8. Paste text from elsewhere without breaking formatting. Copy the text from the other program, then right-click the target cell and use Paste Special > Text rather than ordinary paste. That strips fonts, colours and table structure and drops the plain characters into cells. Pasting a block of text from a web page directly often splits it across columns or triggers an import wizard.
  9. Stop long numbers from being reformatted. Format the cell as Text before typing by right-clicking, choosing Format Cells, selecting the Text category, then entering the value. Alternatively type an apostrophe before the number, such as '01234, which forces Excel to treat it as text. The apostrophe is not displayed. Do this before entry, because a value that has already been converted to something like 1.23457E+11 may have lost digits permanently.
  10. Save the file. Press Control+S on Windows or Command+S on Mac. On mobile there is no save button: changes save to the cloud automatically once you stop typing.

Common Mistakes

Typing a long number into a General-formatted cell and only then realising the last digits were turned into zeros is the most common one, and it is usually unrecoverable because Excel stores fifteen significant digits for numbers. Format as Text first, always.

Pressing Enter when a break is wanted, which commits the entry and drops you to the next cell. Only Alt+Enter or Control+Option+Return breaks a line, and only inside the cell.

Inserting a row by selecting it and typing over it. Typing replaces content; inserting is a separate command on the right-click menu or under Home > Insert.

Pasting a full table with ordinary paste and then spending time removing colours and borders by hand. Paste Special > Text avoids all of it.

Assuming Wrap Text widened the column. It does the opposite, keeping within the current width and growing the row height.

Tips

Press Control+Apostrophe to repeat the value from the cell directly above, which saves retyping repeated entries such as dates or category names down a list. On a Mac, use Control+Apostrophe too.

Use the Name Box to enter values into cells far off-screen without scrolling. Type the address, press Enter, and type the content.

If you have a list of values to fill, enter the first few, select them and drag the fill handle at the bottom-right corner. Excel extends patterns such as dates, weekday names and numbered series automatically.

Undo in Excel covers many steps, so if a paste or insert goes wrong press Control+Z repeatedly rather than repairing by hand. Be aware that saving to the cloud on mobile can reduce the depth of undo history.

Keep the formula bar visible while editing long entries. Formulas with embedded quotation marks are far easier to check there than in the cell itself.

Troubleshooting

The cell will not accept typing. Check the file is not in Read-Only, that the sheet is not protected via Review > Unprotect Sheet, and that you are not editing a cell inside a formatted table's header row. If numbers show as a formula you did not intend, the apostrophe trick and the Text format both prevent interpretation.

The line break does nothing. Confirm you are in edit mode, not just cell-selected mode. Pressing Alt+Enter on a selected-but-unedited cell inserts something else entirely. Also check the row height is not fixed.

Text spills across other columns. This happens when neighbouring cells are empty and Wrap Text is off. Turn on Wrap Text, or widen the column by double-clicking the boundary between column headers.

A pasted number changed format. Pasting from another spreadsheet sometimes carries the source formatting. Use Paste Special > Values to bring only the value, then apply your own format.

If that did not work, close and reopen the workbook, then try the same entry in a brand-new blank file. If it behaves correctly there, the problem lies in the original file's formatting or protection rather than in Excel itself. On mobile, closing the app fully and reopening it resolves most refresh problems.

Frequently Asked Questions

How do I put two lines of text in one Excel cell?

Double-click the cell to enter edit mode, place the cursor, then press Alt+Enter on Windows or Control+Option+Return on a Mac. On the mobile app, use the Return key on the on-screen keyboard. Turn on Wrap Text so both lines stay visible.

Why does Excel change my phone number or account code?

Excel treats long digit strings as numbers and may switch to scientific notation, losing digits after the fifteenth. Format the cell as Text before typing, or start the entry with an apostrophe.

How do I insert a row without overwriting the one below?

Right-click the row number and choose Insert. The existing rows shift down. Typing into a selected row overwrites it, which is why the two actions are often confused.

Can I paste text from a website into a single cell?

Yes, but use Paste Special > Text and check the result. A normal paste from a web page frequently splits across several cells or columns depending on the source layout.

Does inserting content behave the same on iPhone and Android?

Basic typing, line breaks and pasting work similarly, but the insert and paste-special options are reached through the on-screen toolbar and the tap-and-hold menu rather than a right-click. The wording of those items can vary by app version and device.

What if I need to add text to a cell that already has a formula?

You cannot append text to a formula's output without changing the formula itself. Select the cell, edit in the formula bar and wrap the existing expression in a concatenation, for example combining the formula with & and your extra text in quotes.