How to Insert a Picture/Image in Excel Cell?
Change Image Size According to Cell Size in Excel
Now, we need to fit these images to the cell size. Whenever the cell width or height changes, the picture also should change accordingly.
- For example, we have sales employees’ names in the Excel file. Below is the list. We have their images on the computer hard disk. We want to bring the image against each person’s name, respectively.Note: All the images are dummy. We can download them from Google directly. We must copy the above list of names and paste it into Excel. Make the row height as 36 and column width in Excel 14.3. Go to the “Insert” tab and click on “Pictures.” Once we click on “Pictures,” it asks us to choose the picture folder location from the computer. So, we must select the location and the pictures we want to insert. We can insert a picture one by one in an Excel cell, or we can insert it in one shot. To insert at one go, we need to be sure which represents who. So, we are going to insert them one by one. Select the image we want to insert and click on “Insert.” Now, we can see the image in our Excel file. This picture is not yet ready to use. We need to resize this. We must select the picture and resize it using the drag and drop option in Excel from the corner edges of the image, or we can resize the height and width under the “Format” tab.Note: Modify the row height as 118 and column width as 26. To fit the picture to the cell size, we must hold the “ALT” key and drag the picture corners. After that, it will automatically fit the cell size. Like this, we must repeat this task for all the employees.
We want to bring the image against each person’s name, respectively.Note: All the images are dummy. We can download them from Google directly.
Step 1: First, we must select one image and press “Ctrl + A.” It will choose all the images in the active worksheet. (Make sure all the images are selected).Step 2: Now, press “Ctrl + 1.” It will open up the “Format” option on the right-hand side of the screen. Note: We are using Excel 2016 version.
Step 3: Under “Format Picture,” select “Size & Properties.”
Step 4: Click on “Properties” and select the option “Move and size with cells.”
Step 5: We have locked the images to their respective cell sizes. It is dynamic now. As the cell changes, images are also kept changing.
How to Create an Excel Dashboard with Images?
We have created a master sheet that contains all the details of the employees.
Step 1: The sheet creates a dropdown list of employee lists in the dashboard.
Step 2: We must Apply VLOOKUPApply VLOOKUPThe VLOOKUP excel function searches for a particular value and returns a corresponding match based on a unique identifier. A unique identifier is uniquely associated with all the records of the database. For instance, employee ID, student roll number, customer contact number, seller email address, etc., are unique identifiers.
read more to get the “Sales Value,” “Target,” “Efficiency Level,” “DOB,” and “DOJ” from the “Employee Details” sheet.
The values will be automatically updated as you change the name from the drop-down.
- Step 3: The big part is getting the employee’s photo selected from the drop-down. For this, we need to create a “Name Manager.”
Go to “FORMULAS” > “Define Name” in Excel.
Step 4: Give a name to the “Name Manager.”
Step 5: In “Refers to” type “equal (=) sign” and enter the INDEX formulaINDEX FormulaThe INDEX function in Excel helps extract the value of a cell, which is within a specified array (range) and, at the intersection of the stated row and column numbers.read more.
Step 6: The first argument of the INDEX functionINDEX FunctionThe INDEX function in Excel helps extract the value of a cell, which is within a specified array (range) and, at the intersection of the stated row and column numbers.read more is to select the whole B column in the “Image Sheet.”
Step 7: Now, enter comma (,) and open one more function MATCHFunction MATCHThe MATCH function looks for a specific value and returns its relative position in a given range of cells. The output is the first position found for the given value. Being a lookup and reference function, it works for both an exact and approximate match. For example, if the range A11:A15 consists of the numbers 2, 9, 8, 14, 32, the formula “MATCH(8,A11:A15,0)” returns 3. This is because the number 8 is at the third position.
read more.
Step 8: We must select the first argument as “Employee Name” in the “Dashboard” Sheet. (dropdown cell).
Step 9: Next argument, select the entire first column in “Image Sheet,” enter “zero” as the next argument, and close two brackets.
Step 10: Click on “OK.” Now, we have created a name manager for our photos.
Step 11: Now go to the “Image” sheet and copy cell B2.
Step 12: Now go to the “Dashboard” Sheet and paste it as “Linked Picture.”
Step 14: Press the “Enter” key to complete the process. We can change the image. It may vary according to the name we have selected.
Things to Remember
- We must make the image adjustment that fits or changes the cell movement.Create a master sheet containing all the consolidated data to create a dashboard.We must use the “ALT” key to adjust the image to the extreme corners of the cell.
Recommended Articles
This article is a guide to Insert a Picture/Image in Excel Cell. We discussed inserting a picture or an image into a cell in Excel and creating a dashboard with images in Excel, an example, and a downloadable Excel sheet. You can learn more about Excel from the following articles: –
- Excel KPI DashboardVLookup with Match FormulaProper Formula ExcelExamples of Flowchart in Excel