Three people ask "how do I add lines in Excel?" and you'll often get three different answers โ because they're asking three different questions. One person wants a new line inside a cell so a long address stops sprawling across the screen. Another wants more rows on a sheet that's running out of room. A third is staring at a wall of gridlines and wondering why printing the workbook gives them a blank-looking page with no actual borders. Same words, very different fixes.
That ambiguity is the whole reason this guide exists. Most tutorials pick one of the three meanings and run with it, then act surprised when readers leave a comment saying "this didn't help." You'll get all three here โ clearly labeled, with the exact keystrokes for Windows and Mac, plus a few formula tricks for when the keyboard shortcut isn't enough. No fluff, no scrolling past ads, just the three meanings of "add lines" and how to do each one in under a minute.
By the way: if you're studying for a certification or sitting an Excel skills test soon, knowing all three is more valuable than you'd think. Graders love mixing them in the same question. So let's lock them down.
Before the keystrokes, a quick reality check on what "lines" actually means in Excel-speak. The application doesn't have a single "line" object โ it has rows, cell content, borders, gridlines, and shapes. Whichever one you need depends on what your spreadsheet looks like and what you want it to do. Here's the fast disambiguation:
Once you know which one you're after, the rest is muscle memory. The next three sections walk through each in order, starting with the most common request โ adding a new line inside a single cell.
Line break in a cell = Alt+Enter (Win) or Cmd+Option+Return (Mac), or use CHAR(10) inside a formula.
New row on the sheet = Ctrl+Shift++ after selecting a row, or right-click row number → Insert.
Border around cells = Home tab → Borders dropdown, or Ctrl+1 → Border tab for fine control. Don't confuse borders with screen gridlines.
Adding a line break inside one cell is the move that confuses spreadsheet newcomers the most, mainly because pressing Enter on its own moves you down to the next cell instead of doing what you'd expect from a Word document. The fix is a modifier key โ and that modifier is different on Windows and Mac. Get it once and you'll never forget it.
On Windows, double-click the cell (or press F2 to enter edit mode), put your cursor exactly where you want the break, then press Alt + Enter. The text after the cursor drops to a new line inside the same cell. On a Mac you've got two equally valid shortcuts depending on your keyboard layout: Control + Option + Return, or Command + Option + Return. Either works on modern macOS builds of Excel.
If the row doesn't visibly grow after you press the shortcut, the cell is hiding the wrap. Click the cell, head to the Home tab, and turn on Wrap Text โ it's the button with the curved arrow. Your line break shows up immediately. Some users prefer to set wrap text first and add the breaks after, which works fine too; the order doesn't matter.
Wrap text onto a second visual line in the same cell. Alt+Enter on Windows, Control+Option+Return or Command+Option+Return on Mac. CHAR(10) for formula-based breaks.
Insert a blank row between existing data. Select a row, press Ctrl+Shift++, or right-click the row number and choose Insert. Tables expand automatically when you Tab past the last cell.
Draw printable lines around or between cells. Home → Borders dropdown for fast presets, Ctrl+1 → Border tab for full control over style, colour, and edges.
The keyboard shortcut is fine for one-off edits, but what if you're concatenating values from other cells and need a line break between them? That's a formula problem, and the answer is the CHAR() function. Specifically, CHAR(10) returns the line-feed character that Excel uses internally as a soft return. Drop it into a formula and you've got a programmatic line break.
A typical pattern looks like =A1 & CHAR(10) & B1, which glues the contents of A1 and B1 together with a line break between them. As before, the cell needs Wrap Text enabled or the line break is invisible. If you're on a Mac and inherited a workbook from a Windows colleague, the same CHAR(10) works โ Excel translates line endings under the hood, so you don't need to switch to CHAR(13).
One more gotcha: when you copy a CHAR(10)-built cell into a CSV, the line break can confuse downstream tools. If you're exporting for use elsewhere, do a Find & Replace with the line-feed character (Ctrl+J in the Find box on Windows) before saving.
Double-click the cell or press F2 to enter edit mode. Place the cursor where you want the break. Press Alt + Enter. Excel drops everything after the cursor onto a new visual line in the same cell. If the row doesn't grow, turn on Wrap Text from the Home tab.
Either Control + Option + Return or Command + Option + Return works on Excel for Mac. Some older builds only accept the Control variant โ try Command first, fall back to Control if nothing happens. Wrap Text still needs to be on for the break to be visible.
Use CHAR(10) inside a concatenation. Example: =A1 & CHAR(10) & B1 joins two cells with a line break between them. Cell must have Wrap Text enabled. Works identically on Windows and Mac builds.
Onto meaning number two: adding more rows to your sheet. This usually comes up when someone's working inside an existing data range and needs to insert a blank row between two filled ones, or to add several at once at the bottom of a table. Excel gives you about four different ways to do it, and they all end up at the same place โ pick the one that fits how you already work.
The fastest is the keyboard route. Select the row below where you want the new one (click the row number on the left to highlight the whole row), then press Ctrl + Shift + + on Windows or Control + Shift + + on Mac. A fresh blank row appears, and everything below moves down by one. Select multiple rows first and you'll insert that many at once โ handy when you need ten blanks for an import block.
Prefer the mouse? Right-click any row number and pick Insert. Or use the ribbon: Home โ Insert โ Insert Sheet Rows. Same result. The one that trips people up is trying to "add a row" by typing into row 1048577 โ Excel sheets have a hard cap at 1,048,576 rows, so if you've hit it, you actually need to split the workbook rather than add more.
If your data lives in a structured table (Insert โ Table, or Ctrl+T to convert a range), adding rows is even slicker. Click the bottom-right cell of the table and press Tab โ Excel automatically extends the table by one row and carries any formulas with it. You can also just type into the row directly below the table; it'll be absorbed automatically as long as no blank row sits between.
For bulk inserts you can paste data directly under a table and Excel will widen it to match. This is the trick power users lean on for monthly data loads: paste the new month's rows below, and any pivot tables, formulas, or chart ranges that reference the table update automatically because they reference the structured name, not a fixed cell range. It's the difference between "I added 200 lines and everything broke" and "I added 200 lines and the dashboard refreshed itself."
And meaning number three: borders and visible lines. This is where Excel splits the difference between "you can see them on screen" (gridlines) and "they print and look real" (borders). They're not the same thing, and treating them as the same is the source of about half the support tickets in any office.
Gridlines are the soft grey lines you see between every cell by default. They don't print unless you explicitly tell them to. To toggle them on or off for a sheet, go to View โ Show โ Gridlines, or Page Layout โ Sheet Options โ Gridlines. Want them on the printout? Tick Print under that same Sheet Options group. That alone solves the classic "my borders don't show up on the printed page" problem for a lot of people who were actually relying on gridlines without knowing it.
Borders are the real deal โ you choose which sides of which cells get a line, what colour, what thickness, what style (solid, dashed, double). Select your range, head to Home โ Font โ Borders (the icon looks like a window), and pick from the dropdown. All Borders applies a thin line to every cell side in the selection. Outside Borders wraps the outside only. Thick Outside Borders is the one you want for that header row that needs to pop.
If you came here for the boring fundamentals and you're ready to move on, fair enough โ that's the three meanings, the shortcuts, and the menu paths covered. But there are a few edge cases worth flagging before you close the tab, because they're the source of the most "wait, why isn't this working?" moments.
The first is the locale issue. On a few European keyboards, the + in Ctrl+Shift++ isn't where Excel expects it, and the shortcut quietly fails. The fix is to use the keyboard's actual plus key (sometimes labelled +/=) or fall back to the right-click Insert option.
The second is the protected-sheet issue โ if rows won't insert and the menu greyed out, the sheet's locked. Review โ Unprotect Sheet (you'll need the password if there is one). And the third is filter mode: if a filter is active, "inserted" rows sometimes appear in surprising places. Clear the filter first, do your inserts, then reapply.
Need finer control? Open Format Cells (Ctrl+1) and click the Border tab. You'll find the full mixing board: line style, colour, and which specific edges to apply it to. Pick a style first, then a colour, then click the preview diagram or the side buttons. Excel applies them in that order โ pick the style after the edges and you'll wonder why nothing's changing.
For freehand work there's the Draw Border tool, also under the Borders dropdown. It turns your cursor into a pencil; click a cell edge to drop a single line, or drag across a range to outline it. The eraser button next to it removes lines one click at a time. Handy for one-off invoice templates where you want a subtle line under the totals row without bordering everything else.
You'll get faster at this. Most spreadsheet pros end up triggering Alt+Enter and Ctrl+Shift++ without even thinking about which they want โ the fingers learn the difference long before the brain does. Practice the three in a sandbox workbook for ten minutes today and they're yours forever. After that, the only thing left to memorise is which border style your office's templates prefer, which is a battle no tutorial can win for you.
One closing point: Excel's keyboard shortcuts are case-by-case across the Microsoft 365 update cadence, so if a combo doesn't work, check it hasn't been quietly remapped. File โ Options โ Customize Ribbon โ Keyboard Shortcuts lets you reassign anything that's drifted. It's rare, but worth knowing exists.
Want a quick mental shortcut for which "add lines" you're dealing with? Ask yourself what should happen to the rest of the sheet. If only one cell changes, you want a line break (Alt+Enter or CHAR(10)). If everything below the cursor should shift down, you want a new row (Ctrl+Shift++). If nothing should move at all and you only want visible lines drawn, you want borders (Home โ Borders, or Ctrl+1 โ Border tab).
And remember: borders versus gridlines is the single most common mix-up. Anytime someone says "my lines disappeared on the printout," the answer is almost always "you had gridlines on screen but no borders applied, so the print engine didn't have anything to draw." Apply real borders, problem solved.
If your Excel skills are heading toward a test or a job interview, "add lines" questions almost always show up โ they're cheap to grade and they reveal whether the candidate actually uses Excel or just talks about it. Run through the three meanings, hit the practice quiz below, and you'll handle whatever phrasing the question writer threw at you.
The three definitions, the shortcuts, and the menu paths are now all on the table. Borders for visible lines, rows for structural lines, Alt+Enter or CHAR(10) for in-cell line breaks โ that's the entire taxonomy. The only thing left is to stop reading and try them in a workbook.
Open a blank sheet, type a long sentence in A1, fire Alt+Enter mid-word, watch the row breathe. Right-click row 5, hit Insert, watch the rest shuffle down. Select B2:D6, drop a thick outside border on it, then print preview and confirm the line shows up. Three muscle memories, ten minutes of practice, done forever.
A small bonus tip for anyone heading into a job-skills assessment: examiners love mixing wording. A question might say "insert a blank divider between rows 4 and 5" โ that's a new row. Or "add a soft return after Smith Avenue" โ that's a line break. Or "outline the totals section" โ that's a border. Decode the verb, pick the right tool, move on. The candidates who pause and overthink are usually the ones who confused the three meanings in the first place.
Below are the questions readers ask most often once they start mixing the three together. If your situation matches one, the fix is right there. If not, the troubleshooting checklist higher up should cover the rest. The FAQ leans toward the phrasings that actually show up in real searches and in test papers, not the textbook versions โ which means a few of them repeat from earlier sections, on purpose, so the answer's findable no matter how you arrived at the page.