Is there a tidier way to create this menu?

nicic

New Member
Joined
Sep 20, 2023
Messages
13
Office Version
  1. 365
Platform
  1. Windows
Taken me a while to get my head around what I wanted, but I ahve successfully got it working. I just wondered if there was an easier/less messy way?

Basically, aware that the workbook will soon fill up with sheets, I want an easy way to list them in a menu.
Each sheet has a product type in E4, and Name in B2

So in col C I've listed all sheets (apart form first few). Then in cols D&E I've done a little prep table with the info I need to lookup.
Col G had a drop down from product type (D), and then col H successfully lists the worksheets related to that. Col I, then hyperlinks them.
I will hide everything bar G&I
Just wondered if there was anything less messy?
Also, is there a way of protecting it? as if I protect now, it will throw an error as the menu dynamically changes :(
many thanks



Soap Costings Spreadsheet v1c.xlsm
ABCDEFGHIJ
1
2Menu
3
4
5List of sheet namesprep Data
6Sheet NameTypeNameMenuResultsHyperlink
7lave and roseLip Balmlave and rosesoapSheet3Sheet3
8Sheet3SoapSheet3Sheet6Sheet6
9Sheet4Lip BalmSheet4TestTest
10Sheet5Lotion BarSheet5 
11Sheet6soapSheet6 
12TestSoapTest 
13   
14   
15   
16   
17   
18   
19   
20   
21   
22   
23   
24   
25   
26   
27   
28   
Sheet1
Cell Formulas
RangeFormula
C7:C12C7=SORT(DROP(ShtNames,3))
D7:D28D7=IFERROR(INDIRECT("'"&C7&"'!E4"),"")
E7:E28E7=IF(C7="","",C7)
H7:H9H7=SORT(UNIQUE(FILTER(Table2[[#All],[Name]],Table2[[#All],[Type]]=G7,none)))
I7:I28I7=IF(H7="","",HYPERLINK("#'"&H7&"'!B2",H7))
Dynamic array formulas.
Cells with Data Validation
CellAllowCriteria
G7List=$D$7:$D$288
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Protecting it (up to a point ) is fairly easy: put what is now column G & I in one sheet (the menu sheet) and the other columns in a hidden sheet, which you also can protect

There are other ways of dealing with masses of sheets, the most important thing here is that the 'admin' understands the used system. If the sheets are to run in the hundreds, then a more automated (VBA) system could be useful
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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