Skip to main content

Excel: Display cell value in a graph object (shape, textbox, picture, chart)

Sometimes, we need to add the contents of a cell or a range to a graph object such as adding cell contents to a shape, a picture, or a title on a chart in Excel. Here this tutorial introduces the methods for solving this job.

Display cell value in shape or text box

Display cell value in chart title

Display cell value in a picture

Note: the methods provided in this tutorial are tested in Excel 2021, there may be some different in different Excel verisions.


1. Insert a shape by clicking Insert > Shape in Illustrations group, selecting one shape from the expanded menu.
doc turn off auto complete 1

Note: Inserting textbox by clicking Insert > Textbox in Text group.
doc turn off auto complete 1

2. Then drag the cursor to draw the shape or textbox in current worksheet.

doc turn off auto complete 1 doc turn off auto complete 1

3. Then keep the shape or textbox selected, go to the formula bar, type the equal sign (=).
doc turn off auto complete 1

4. After typing the equal sign, select a cell or a range of cells that you want to display in the shape or textbox, then press Enter key.
doc turn off auto complete 1

Now the cell contents have been displayed in the shape or textbox, and it is changed as the cell contents changed.

doc turn off auto complete 1 doc turn off auto complete 1

Notice that if you want to refer to a sheet cell, you need to add the sheet name followed by an exclamation point such as Sheet1!A2.


1. Click on the chart that you want to display cell value in its title, then go to the Chart Design tab.
doc turn off auto complete 1

2. Click Add Chart Element > Chart Title, then choose one type of titles you want to insert.
doc turn off auto complete 1

3. Then select the title, go to the formula bar, type the equal sign (=), and select the cell(s) that you want to display the contents.
doc turn off auto complete 1

4. Press Enter key, now the contents of the specified cell(s) have been displayed in the chart title.
doc turn off auto complete 1


If you want to display the cell contents as a picture as the below screenshot shows, you need to add the Camera tool to the Quick Access Toolbar firstly.
doc turn off auto complete 1

1. Enable Excel, click File > Options to enable the Excel Options window.

2. Click Quick Access Toolbar from the left pane, then go to the right section, choose All Commands from the drop-down list of Choose commands from section, then scroll the scroll bar to find Camera command, click it and click Add button to add into the Custom Quick Access Toolbar section. Click OK.
doc turn off auto complete 1

Now you can see the Camera command has added in the Quick Access Toolbar.
doc turn off auto complete 1

3. Select the cell(s) that you want to display in a picture, then click Camera button, then press Enter key. Now the selected cells have been shot as a picture.

doc turn off auto complete 1 doc turn off auto complete 1

Note that the contents in a picture will be changed as the cell contents change.


Other Operations (Articles)

How To Fix/Lock Background Color In A Sheet
Sometimes, when you share a sheet with others to edit, you may want to lock the background color in a range of cells and prevent them to be changed.

How To Reduce Excel File Size?
Sometimes, it will take minutes to open or save if the Excel file is too large. For solving this problem, here in this tutorial, it tells you how to reduce the Excel file size by removing the contents or formats which are unnecessary or never used.

Excel: How To Create Or Insert A Bookmark
Have you ever imagined creating or inserting a bookmark for quickly jumping to a specific data range while there is a lot of data in a worksheet or a workbook?

How to apply shading to odd or even (alternative) rows/columns in Excel?
While designing a worksheet, many people tend to apply shading to odd or even (alternative) rows or columns in order to make the worksheet more visual. This article will show you two methods to apply shading to odd or even rows/columns in Excel.


  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns and Keeping Data; Split Cells Content; Combine Duplicate Rows and Sum/Average... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Favorite and Quickly Insert Formulas, Ranges, Charts and Pictures; Encrypt Cells with password; Create Mailing List and send emails...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • Pivot Table Grouping by week number, day of week and more... Show Unlocked, Locked Cells by different colors; Highlight Cells That Have Formula/Name...
kte tab 201905
  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom

 

Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations