Excel IMAGE Function Alternative: Insert Pictures from Your Computer

Excel’s IMAGE() function is handy: give it a web address and the picture appears inside the cell. But it has a catch that trips up a lot of people. If your pictures are saved in a folder on your computer, IMAGE() is not the right tool.

What IMAGE() does

The syntax is =IMAGE(source, [alt_text], [sizing], [height], [width]). The source is the address of the picture, and it must be a web (https) address. That makes it a good fit when your images are already hosted online, such as product photos on a website.

Where it falls short

  • Local files: pictures saved on your computer cannot be used as the source. You would have to upload every image somewhere first.
  • One formula per cell: for a long list you need to build each address, usually by joining a base URL and a cell value.
  • Version availability: the function is available in newer Excel versions such as Microsoft 365, not in older ones.

The alternatives

Insert Picture and Place in Cell

Fine for a few images. In the versions that offer it, Insert > Pictures > Place in Cell puts a picture inside a cell. It is still one picture at a time.

A VBA macro

A macro can loop over a list and insert pictures from a folder. It works, but you have to write and maintain the code, and it is not a practical option on every platform.

autoIMAGE: match file names to cell values

autoIMAGE reads image files from folders on your computer, matches each file name to a cell value (a SKU, product code or name) and inserts the pictures in one go. You can preview images before inserting them, put them in cell comments, and keep them aligned when you filter. It works on Windows and Mac.

Start the free 30-day trial (no credit card required). The Lifetime Plan is a one-time $69 payment, not a subscription.

Quick comparison

IMAGE() autoIMAGE
Picture source Web address (URL) Files in folders on your computer
Matching rows to pictures A formula per cell File name matched to cell value
Preview before inserting No Yes
Images in cell comments No Yes

Want the full list of techniques? Read our guide to inserting images in Excel.

Skip the manual work with autoIMAGE

autoIMAGE matches your image file names to your cell values and inserts the pictures for you. Works on Windows and Mac. Free for 30 days, up to 20 images per run.

Try FreeBuy Lifetime – $69

Back to all Excel Tips