Dynamic Dropdown list of sheet names

rsulliva

Board Regular
Joined
Sep 13, 2007
Messages
131
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

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
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,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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