In Excel: use Insert ▸ Pictures ▸ This Device for a floating image, Insert ▸ Pictures ▸ Place in Cell in Microsoft 365 to put it inside the cell, or Page Layout ▸ Page Setup ▸ Header/Footer ▸ Custom Header ▸ Insert Picture for a logo that repeats on every printed page.
Select the cell where the picture should land — with Place in Cell this is the cell it becomes part of.
On the Insert tab open Pictures and choose This Device, Stock Images or Online Pictures.
For a floating image, drag the corner handles to size it; hold Shift to keep the aspect ratio.
Right-click a floating image ▸ Size and Properties ▸ Properties and pick Move and size with cells if it should follow its row.
Select the image and use Picture Format ▸ Alt Text to describe it, then Compress Pictures to drop cropped areas and cut the file size.
For a logo on every printed page, go instead to Page Layout ▸ Page Setup (the dialog launcher) ▸ Header/Footer ▸ Custom Header, click the section, then the Insert Picture button, and size it with Format Picture — the Insert tab cannot put an image there.
What this does
Excel stores images three different ways, and the right one depends on where the picture has to appear. The classic route puts it on the drawing layer floating above the grid, anchored to whichever cell sits under its top-left corner. Place in Cell, added to Microsoft 365, makes the image a value inside the cell itself, so it moves when the row is sorted and can be produced by the IMAGE function from a URL. The third surface is the page header or footer, which is not on the sheet at all — it exists only on the printed page, and it is reached from Page Setup rather than from the Insert tab. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. For “insert picture in excel header”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected header change, and only then apply the same setup to the full sheet. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. That is what makes a workspace setting that makes a big sheet comfortable to navigate useful in real work: repeatable, auditable, and not dependent on memory or luck.
A worked example
A product sheet needs a thumbnail per row. Select C2, choose Insert ▸ Pictures ▸ Place in Cell ▸ This Device, pick the file, then set the row height to 60. Sorting the table by price now carries every thumbnail with its row. The formula route, =IMAGE("https://cdn.example.com/p/2291.png"), does the same from a link. Product photos, signatures and screenshots only stay useful if they travel with their data — a floating image that drifts out of alignment after one sort is worse than no image at all. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.
In Google Sheets
Everything above works in Google Sheets too. Excel and Sheets share the formula syntax used here; only the surrounding menus are arranged differently. That portability is deliberate — learn it once and it follows you between the two tools and across Windows and Mac. Nothing on this page is behind a login: the tool runs entirely in your browser, the formula is shown in full with one-click copy, and the steps work the same on Windows and Mac. That is the whole promise here — the exact answer, a way to prove it on your own numbers, and just enough context to make it stick. If you take one thing from this page on “insert picture in excel header”, make it the habit rather than the keystrokes: set the problem up with labelled inputs, reference those cells, and let Excel do the recomputing. Bookmark the page for the syntax, but do the example once in a blank sheet and check it against the tool above — five minutes of hands-on practice fixes the method in memory far better than re-reading, and it surfaces the small snags while they are still harmless. After that the technique is genuinely yours: faster than searching for it again, and reliable enough to drop into work that other people depend on.
Common mistakes
- Setting a floating image to Don't move or size with cells and then sorting or filtering — the picture stays exactly where it was while its row moves away.
- Pasting phone-camera screenshots at full resolution; a dozen of them can add 50 MB to a workbook that Compress Pictures would have kept under 2 MB.
- Using Place in Cell in a file that colleagues open in Excel 2019, where the cell shows a placeholder instead of the image.
- Cropping a picture and assuming the hidden part is gone — it is still stored until you run Compress Pictures with "Delete cropped areas" ticked.
Frequently asked questions
How do I put a picture inside a cell rather than on top of it?
Insert ▸ Pictures ▸ Place in Cell (Microsoft 365), or write =IMAGE("url") in the cell. Both make the image a cell value that sorts and filters with the row.
Why does my image move when I insert rows?
Its anchoring is set to Move and size with cells. Right-click ▸ Size and Properties ▸ Properties and choose Don't move or size with cells to pin it.
Can I add a picture to a comment?
Yes, for legacy notes: right-click the note border ▸ Format Comment ▸ Colors and Lines ▸ Fill ▸ Fill Effects ▸ Picture. Threaded comments do not support it.
How do I insert a picture into an Excel header?
Page Layout ▸ the Page Setup dialog launcher ▸ Header/Footer ▸ Custom Header, click the left, centre or right section, then the Insert Picture button. Excel writes the &[Picture] code into the section; use Format Picture beside it to scale the logo down.
Is there a keyboard shortcut?
Alt, N, P opens the Pictures menu on Windows. There is no single-key shortcut.
Other ways people ask this
This is also commonly searched as “how to insert picture in excel header” and “insert picture in header excel”. They describe the identical operation, so you are in the right place no matter how you phrased it.
This guide also answers
- insert image in excel header
- insert picture into excel header
Why do people search for this in so many different ways?
Because the same task has many names. “how to insert picture in excel header”, “insert picture in header excel” all point at the one operation explained on this page, which is why they all lead here.