Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to set cell value equal to tab name in Excel?

In Excel, how could you set a cell value equal to the current tab name, when the sheet name changes and the cell value will be changed as well? In this article, I will talk about some quick tricks for solving this task in Excel.

Set cell value equal to current tab name with formula

Set cell value / header / footer equal to current tab name with Kutools for Excel

Set cell values equal to all sheet names with Kutools for Excel


Set cell values equal to all sheet names and link to each sheet:

With Kutools for Excel's Create List of Sheet Names utility, you can quickly list all worksheet names in a new sheet with hyperlinks or macro buttons as you need.

    worksheet names with hyperlinks   worksheet names with macro buttons
doc-list-worksheet-names2  2 doc-list-worksheet-names2  2 doc-list-worksheet-names2


The following formula may help you to get the current tab name into a cell, please do as follows:

1. Activate the worksheet that you want to extract the sheet name.

2. Then enter this formula: =MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,256) into any blank cell, and then press Enter key, and the tab name has been extracted into the cell at once. See screenshot:

doc cell value equal to tab name 1

3. And when you change the sheet name, the cell value will be changed as well.


To set the cell value, header or footer equal to the current sheet name quickly without any formula, Kutools for Excel’s Insert Workbook Information utility can help you to get the tab name into a cell, header or footer as you need.

Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 60 days

After installing Kutools for Excel, please do as follows:

1. Activate the worksheet that you want to get its name.

2. Click Enterprise > Workbook > Insert Workbook Information, see screenshot:

doc cell value equal to tab name 2

3. In the Insert Workbook Information dialog box, select Worksheet name from the Information pane, and specify the location where you want to insert the sheet name, you can select a range of cells, the header or footer you desired, see screenshot:

doc cell value equal to tab name 3

4. Then click Ok button, and the cell value or header or footer is equal to the tab name at once, when the tab name changes, the cell value, header or footer will be changed as well.

Tips: With this feature, you can also insert the file name, file path, user name, created date, modified data into cell, header or footer and so on.

Download and free trial Kutools for Excel Now !


If you want to make a list of cell values equal to all of the tab names, you can apply the Create List of Sheet Name of Kutools for Excel, after installing Kutools for Excel, please do as follows:

1. Click Enterprise > Worksheet > Create List of Sheet Names, see screenshot:

doc cell value equal to tab name 4

2. In the Create List of Sheet Names dialog box, do the following operations:

doc cell value equal to tab name 6

(1.) Select Contains a list of hyperlinks option under the Sheet Index Styles section;

(2.) Specify a sheet name for a new worksheet where will list all the sheet names;

(3.) Choose a location to put the new sheet;

(4.) Specify how many columns to list the tab names.

Download Kutools for Excel Now !

3. After finishing the settings, click OK button, all the tab names of the current workbook have been listed into the new worksheet as following screenshot shown:

doc cell value equal to tab name 5

 Download and free trial Kutools for Excel Now !


Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • 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 without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... 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...
  • 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...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • 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
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.