How to match the cell value with sheet tab name or vice versa in Excel?

If you want to reference a sheet tab name to a specified cell, or name the sheet with a specified cell value, the following methods can help you.

Match the cell value with sheet tab name with formula
Match the cell value with sheet tab name with Kutools for Excel
Name the sheet tab with cell value by VBA code
Name the sheet tab with cell value by Kutools for Excel


Match the cell value with sheet tab name with formula

You can apply the following formula to match the cell value with sheet tab name in Excel.

1. Select a blank cell to locate the sheet tab name, enter the below formula into it and then press the Enter key.

=MID(CELL("filename"),FIND("]",CELL("filename"))+1,255)

Then you can see the sheet tab name is referenced into the blank cell.

Easily insert tab name in a specific cell, header or footer in worksheet:

The Kutools for Excel's Insert Workbook Information utility helps easily insert active tab name into a specific cell. Besides, you can reference workbook name, workbook path, user name etc. into a cell, worksheet's header or footer as you need. Click for details.
Download Kutools for Excel Now! ( 30-day free trail)


Match the cell value with sheet tab name with Kutools for Excel

If formula is hard to remember, here I recommend you a handy tool – Kutools for Excel. With its Insert Workbook Information utility, you can easily match the cell value with sheet tab name in Excel with only several clicks.

Before applying Kutools for Excel, please download and install it firstly.

1. Select a blank cell for placing the sheet tab name, then click Kutools Plus > Workbook > Insert Workbook Information.

2. In the Insert Workbook Information dialog box, select the Worksheet name option in the Information section, keep the Range option selected in the Insert at section, and finally click the OK button. See screenshot:

Now you can see the sheet tab name is populated into the selected cell.

  If you want to have a free trial ( 30-day) of this utility, please click to download it, and then go to apply the operation according above steps.


Name the sheet tab with cell value by VBA code

This section will show you a VBA method of naming the sheet tab with specified cell content in Excel. Please do as follows.

1. Press Alt + F11 keys simultaneously to open the Microsoft Visual Basic for Application dialog box.

2. In the Microsoft Visual Basic for Application dialog box, click Insert > Module. Then copy and paste the below VBA code into the Module window.

VBA code: name the sheet tab with cell value

Sub TabName()
    ActiveSheet.Name = ActiveSheet.Range("A1")
End Sub

Note: In the above code, A1 is the cell value you want to name the sheet tab, you can change it to other specified cell as you need.

3. Press the F5 key to run the code, then the sheet tab will be renamed with the content of cell A1 immediately.


Name the sheet tab with cell value by Kutools for Excel

The Rename Multiple Worksheet utility of Kutools for Excel can also help you to rename a sheet tab with a specified cell value. Please do as follows.

Before applying Kutools for Excel, please download and install it firstly.

1. Select the cell which content you need to use as sheet tab name, then click Kutools Plus > Worksheet > Rename Worksheets

2. In the Rename Multiple Worksheets dialog box, check the worksheet in the Worksheets box which you will rename with the content of a specified cell, select the Replace original sheet name option in the Rename Options section, then choose the From specific range or Rename worksheets with specific cell option, and finally click the OK button.

3. After clicking the OK button, a dialog box will pop up to tell you how many worksheets are renamed successfully, please click the OK button.

Now the sheet tab is renamed by content of cell A1 as above screenshot shown.

  If you want to have a free trial ( 30-day) of this utility, please click to download it, and then go to apply the operation according above steps.


Match the cell value with sheet tab name or vice versa in Excel


The Best Office Productivity Tools

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. 60-day money back guarantee.
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.