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!


Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 70%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 80% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
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.