In this article, you will learn how to add a picture in a cell by using the IMAGE function in Google Sheets.
To add an image to a cell in Google Sheets, you can use the IMAGE formula. The syntax for the IMAGE formula is as follows:
url is the URL of the image you want to insert. This can be a direct link to the image file, or a link to a page that contains the image. Note you should enclose the url with quotation marks to make it valid input.
mode (optional) specifies how the image should be displayed in the cell. The possible
values are 1(the default), 2, 3, and 4.
1 resizes the image to fit inside the cell, maintaining the original aspect ratio.
2 stretches or compresses the image to fit inside the cell, ignoring the initial aspect ratio.
3 leaves the image at its original size, which may cause cropping.
4 allows the specification of a custom size.
Note that no mode causes the cell to be resized to fit the image.
height (optional) specifies the height of the image in pixels. To make this argument valid, the mode parameter should be set as 4.
width (optional) specifies the width of the image in pixels. Same as height parameter, to make this argument valid, the mode parameter should be set as 4.
Here is an example of how you could use the IMAGE formula to add an image to a cell:
This formula would insert the image at the specified URL into the cell. The height and width of the image would be automatically calculated based on the image's original aspect ratio.
You can also use the mode, height, and width arguments to customize how the image is displayed in the cell. For example, the following formula would insert the image and stretch it to fit the entire cell:
The following picture shows what formulas with different mode parameters look like with our logo.
You can add a picture in a cell without any formula by following the steps below:
Unfortunately, there is no built-in shortcut to insert a picture into a cell in Google Sheets. However, as described in the section above, you can use the IMAGE formula to add an image to a cell.
If you don’t get the solution to your question in this article or you are interested in learning more basic tips in Google Sheets, you may find the answers in the following articles.
Move onto the articles below to learn how to use Google Sheets, such as signing in, renaming, saving and printing a file, setting up notifications, and changing themes.
Google Sheets Sign-in: Explained
How to Rename a Google Sheet File
How to Save Google Sheets in Google Drive
How to Set Up Notifications in Google Sheets
How to Set Print Area in Google Sheets
Change Theme in Google Sheets: Explained
Autofill Function in Google Sheets: Explained
Go to the following articles to learn basic operations, such as redo and undo, referencing a cell on another sheet in a formula, inserting a table, and putting an image into a cell.
Redo and Undo in Google Sheets: Explained
How to Reference Another Sheet in Google Sheets
How to Make a Table in Google Sheets
Check the following posts if you want to learn how to insert, modify, and remove comments and note or tag someone in your comment.
How to Add a Comment to a Cell in Google Sheets
How to Tag Someone in Google Sheets
Comment History in Google Sheets: Explained
How to Insert a Note in Google Sheets
How to See Edit History in Google Sheets
Read these articles to learn how to show formulas, missing toolbar, or formula bar in Google Sheets.
How to Show Formulas in Google Sheets
How to Show Formula Bar in Google Sheets
How to Show the Toolbar Missing in Google Sheets
Visit these articles to learn how to protect cells and view protected cells or ranges.
How to Lock Cells in Google Sheets
How to View Protected Ranges in Google Sheets
Are you learning this tip to visualize financial data, build a financial model, or conduct financial analysis? In that case, LiveFlow may help you automate manual workflows and update numbers in real-time. You can access various financial templates on our website, from the simple Income Statement to Multi-Currency Consolidated Financial Statement. You can also customize these templates as you want without breaking the automated data inflow.
To learn more about LiveFlow, book a demo.
Learn how to do this step-by-step in the video below 👇