You can insert a table from a picture in Excel by using the "Data from Picture" tool, which uses optical character recognition (OCR) to convert an image of a table into editable cells. This removes the need for manual data entry when you have a screenshot, a photo of a printed document, or a digital image of a spreadsheet. To do this, navigate to the Data tab and select Data from Picture, then upload your image or take a photo via the mobile app.

What You'll Need

  • A Microsoft 365 subscription (this feature is available in the latest versions of Excel for Windows, Mac, iOS, and Android).
  • A clear image file (JPG, PNG, or BMP) or a physical document to photograph.
  • An active internet connection, as the image processing is handled via cloud services.
  • The Excel desktop application or the Excel mobile app.

Step-by-Step

  1. Prepare your image: Ensure the image of the table is well-lit, high-resolution, and cropped to show only the table. Remove any unnecessary margins or background noise to improve the accuracy of the data extraction.
  2. Open Excel: Launch your workbook and select the cell where you want the top-left corner of the imported table to be placed.
  3. Access the tool: Click on the Data tab in the top ribbon. In the Get & Transform Data group, click on Data from Picture. (Note: Labels may differ slightly by version or region).
  4. Select the source:
    • If the image is saved on your computer, select Picture From File and browse to locate your image.
    • If you are using a Mac or Windows device with a camera, you may see options to capture a screen clipping.
    • If you are using the mobile app, select Data from Picture from the bottom menu and use the camera to snap a photo of the document.
  5. Wait for analysis: Excel will upload the image to the cloud. A side panel will appear on the right side of the screen showing the progress of the analysis.
  6. Review the data: Once the analysis is complete, Excel will highlight cells in red that it is unsure about. Click on these highlighted cells in the review panel to see the original image snippet and the suggested text.
  7. Correct errors: If the suggested text is incorrect, type the correct value directly into the review box. If the value is correct, click Accept or simply move to the next highlighted cell.
  8. Insert the table: After reviewing all flagged items, click the Insert Data button at the bottom of the panel.
  9. Confirm placement: A final confirmation dialog will appear asking if you want to insert the data into the worksheet. Click Insert**.
  10. Final formatting: The data will now appear as standard text and numbers in your cells. You can now apply table formatting by selecting the range and pressing Ctrl+T (Windows) or Cmd+T (Mac).

Common Mistakes

One of the most frequent mistakes is attempting to import images with complex formatting, such as merged cells or nested tables. Excel's OCR works best with a clean grid; merged cells often cause the tool to shift columns to the right or left, misaligning the entire dataset. Another common error is using low-contrast images, such as a photo of a screen with a glare or a faded photocopy. This leads to "hallucinations" where the software guesses a number (e.g., turning a '0' into an 'O' or a '1' into an 'I').

Users also frequently forget to crop their images. If the image contains a header, a footer, or surrounding text that is not part of the table, Excel may attempt to incorporate that text into the first few rows of the table, creating unnecessary clutter and requiring more manual cleanup after the import. Finally, some users expect the tool to maintain the original styling (colors, borders, and fonts). This tool only extracts raw data; all visual styling must be reapplied manually using Excel's formatting tools.

Tips

To get the highest possible accuracy, use a scanning app or a high-quality camera instead of a quick snapshot. If you are taking a photo of a physical piece of paper, ensure the paper is flat. Any curvature in the page can distort the rows, making it difficult for the OCR to recognize where one row ends and the next begins. If you are taking a screenshot from a website, use the Snipping Tool (Windows) or Cmd+Shift+4 (Mac) to capture only the table area.

For very large tables, consider splitting the image into smaller sections. While Excel can handle significant amounts of data, smaller, focused images tend to have fewer errors during the review phase. Additionally, check your regional settings in Excel. If your image contains dates or currency symbols from a different region than your system settings, Excel may import them as text rather than as dates or numbers, which prevents you from performing calculations on them immediately.

Troubleshooting

If the "Data from Picture" option is missing from your Data tab, first check that you are signed into your Microsoft 365 account. This feature is not available in one-time purchase versions like Office 2019 or 2021. If you are on a corporate network, ensure that your organization has not disabled cloud-based data processing services, as this tool requires an internet connection to analyze the image.

If the tool fails to recognize any data at all, try converting the image format. If you are using a HEIC file (common on iPhones), convert it to a JPG or PNG before uploading. If the image is too large (in terms of file size), it may time out during the upload process; try compressing the image or reducing the resolution slightly.

When the data is inserted but appears as text (meaning you cannot sum the columns), select the affected cells. A small yellow warning icon usually appears; click it and select Convert to Number. This happens when the OCR interprets a number as a text string due to a stray character or a space in the image.

Frequently Asked Questions

Can I import a PDF directly using this tool?

No, this specific tool is for image files. To import a PDF, you should use Data > Get Data > From File > From PDF, which is a separate feature designed specifically for PDF structures.

Does this work with handwritten tables?

It can, but accuracy is significantly lower than with printed text. The tool is optimized for typed fonts. Handwritten data often requires extensive correction during the review step.

Is there a limit to how many rows I can import?

While there is no hard row limit stated, very long images can lead to processing errors. It is recommended to import tables in chunks of 20-50 rows for maximum precision.

Why are some of my numbers appearing as text?

This occurs if the image has a symbol (like a currency sign) that Excel doesn't recognize as a number format, or if there is a smudge in the image that looks like a character.

Can I use this feature offline?

No, the image analysis is performed on Microsoft servers. You must have an active internet connection for the "Data from Picture" function to work.