To insert a textbox in Excel, click Insert > Text Box, then click and drag on the sheet to draw it, and start typing. That is the whole job on desktop Windows and Mac versions of Excel. Any text you place in a textbox floats above the cells, so it can sit across several columns or sit on top of a chart without breaking your data layout. Excel for the web also has a Text Box option on the Insert tab, and it works much the same way: choose the tool, draw the box, type, and click outside to finish.
Exact menu labels can differ slightly by Excel version, platform and region, so the headings below describe the common path and note where Mac or the web version differs.
What You'll Need
- Excel installed or available in a browser, with the workbook open in which you want the textbox.
- A decision about whether the text should stay in one cell instead. If the text belongs to one data point, typing it in a cell is cleaner than a floating box.
- Nothing else. You do not need an add-in, macro or extra licence, and there is nothing to download.
Step-by-Step
- Open the sheet. Click the tab of the worksheet where the textbox should appear. A textbox is drawn on the active sheet and belongs to that sheet only; it will not appear on the others.
- Go to the Insert tab. On Windows and Mac, select Insert on the ribbon. On Excel for the web the Insert tab is in the same place. Do not use the Insert tab's chart or picture buttons; the textbox control is a small icon.
- Choose Text Box. In the Text group on the left side of the Insert ribbon, click Text Box. The mouse pointer changes to a crosshair, which tells you Excel is waiting for you to draw.
- Draw the box. Click where one corner should be, hold the mouse button and drag to the opposite corner, then release. A box appears with a blinking cursor. If you would rather let Excel size it, simply click once on the sheet without dragging; Excel drops in a default-sized box.
- Type your text. Start typing. Press Enter for a new line inside the box. Everything stays in one box; it does not spill into cells.
- Click outside to commit. Click a cell, press Esc, or click outside the box. The border and handles disappear and the text stays in place. On the Mac, pressing Esc may remove the box rather than deselect it, so clicking a cell is the safer way to finish.
- Resize and position it. Click the textbox once so its handles show, then drag any handle to resize or drag the border to move it. Drag a corner handle to keep proportions roughly even.
- Format the text. With the box selected, use the Home tab for font, size, bold, colour and alignment. To change the box itself, right-click its border and use formatting options for fill, line and effects.
- Check the box moves with the layout. A textbox is placed in the drawing layer, not in a cell. To make it behave more predictably, right-click the border and use the size and properties options to choose whether it moves and sizes with cells or stays in a fixed position on the sheet.
Common Mistakes
- Starting to type without drawing. Typing while a cell is selected writes into the cell, not into a textbox. Make sure the crosshair appears before you click.
- Expecting a textbox to act like a cell. Textboxes do not calculate, cannot be summed, are not picked up by formulas and do not sort or filter. Use them for labels, notes and callouts only.
- Putting one in an empty workbook and wondering where it went. Textboxes are per-sheet. If you copy a worksheet to another sheet, check the copy; if you copy just cell data, the textbox does not come along.
- Losing the box behind data or charts. Right-click the border and use the arrange or order commands to bring it to front.
- Printing from a sheet and finding the box gone or mispositioned. Textboxes print with the sheet, but if a box lies outside the print area it will not appear. Check the print preview before printing.
- Typing all text into the drawing directly without a plan. Boxes are harder to search and compare than cells. If the content may need to be referenced by a formula later, put it in a cell instead.
Tips
- Use a textbox for titles, explanations, caution notes and callouts next to a chart, and keep data in cells where it can be used.
- To keep a box visually tidy, give it no fill so it blends over cells, or set a light fill so it reads as an annotation.
- Select several shapes at once by holding Shift while clicking their borders, then align them with the shape alignment tools.
- To copy formatting, copy the box itself with Ctrl+C and Ctrl+V, then retype; it keeps the same look and avoids redoing the formatting.
- To edit text later, click the border once to select and then click again inside the box. A single double-click inside also puts the cursor in the text.
- On a touchscreen or in the mobile app, support for textboxes varies by app version. If the mobile app does not offer the option, use Excel for the web or the desktop program.
Troubleshooting
- The Text Box button is missing. Confirm you are on a worksheet, not a chart sheet or protected view. Protected sheets may restrict edits; unprotect with the password if you own the file.
- You can't select the box. Click exactly on its border, not inside the text area. If the box looks tiny, zoom in.
- The box won't move where you want. It may be snapped to the cell grid. Check the properties for cell movement; temporarily resizing the rows or columns can also change where it looks anchored.
- Text is clipped at the edge. Drag the box larger, reduce the font size, or turn on text wrapping in the box's formatting. If you used automatic width, the box may not expand on its own.
- The file opens with boxes in the wrong place. Drawing objects depend on screen and print scaling. Test in print preview and, where possible, edit on the same display settings you used to create it.
- It disappeared entirely. It may be hidden behind a chart or picture, or it may belong to another sheet. If the file was shared, ask whether someone moved or deleted the object.
- None of that helps. Save a copy of the workbook first, then reopen the original. If the workbook is corrupted, copying its sheets into a new file typically recovers the work; objects you re-add are lost if they were only in the old file, so note your text before you rebuild.
Frequently Asked Questions
Where is Text Box in Excel?
On the Insert tab, in the Text group. On the web version it is also on the Insert tab. If you only see chart and picture options, widen the Excel window; the ribbon condenses on narrow screens.
Can a textbox contain a formula?
No. Textboxes hold plain text only. A textbox can be linked to a cell's value in some Excel versions, but the reliable technique is to put a formula in a cell and reference it there.
Does a textbox print?
Yes, if it lies within the printed area. Check print preview first, because objects outside the print area are omitted.
Why does my textbox move when I insert rows?
Its positioning property determines this. Choose whether it moves with cells or stays in a fixed place; the option is found by right-clicking the border and opening the size and properties settings.
Can I add a textbox on iPad or Android?
Text box support varies by app version and edition. If the option is not there, open the workbook in Excel for the web or the desktop program to add it.
Can I convert a textbox to a cell?
Not directly. Copy the text, paste it into a cell, then delete the box. Copying the object into a cell does not work; the text itself must be copied.