Dynamic Dropdown list of sheet names

rsulliva

Board Regular
Joined
Sep 13, 2007
Messages
133
Office Version
  1. 365
Platform
  1. Windows
Hi guys, I would like to create a dynamic dropdown list in excel of all the tab names (and if possible, only the visible tabs). As tabs are added to the workbook, the dropdown list should be able to automatically add these names to the dropdown list.

Context: I am currently using the formula below to return only the current tab name into a cell to be able to pull its name into a second formula. I would like to use a dropdown list to be able to toggle the first cell that the second formula is using in order to select the tab from which the second formula is pulling its data. So, if a user wants to pull data from "week 7", they use the dropdown to change the cell to "week 7" thereby driving all other formulas on the page to reference week 7's worksheet using an "Indirect" formula built into them. Is there a way to create a dynamic dropdown?

Excel Formula:
=TEXTAFTER(CELL("filename", A1), "]")

Thanks,

Russell
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
An alternative with Power Query

Power Query:
let
    Source = Excel.Workbook(File.Contents("YourPath/YourFileName"), null, true),
    #"Removed Columns" = Table.RemoveColumns(Source,{"Data"})
in
    #"Removed Columns"
 
Upvote 0

Forum statistics

Threads
1,224,811
Messages
6,181,081
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top