A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
This setup is not really suitable for what you want. I'd use the filter drop-down in B4 and/or C4.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Excel 2016 (company uses old versions of MS products)
I have a table with column headers (event 4D, month 4E, and remarks 4F) and I would like to create a dropdown box next to it (4B) that can do the below things:
Example below.
I keep seeing =UNIQUE or macros in forums and YouTube, but =UNIQUE doesn't show up in Excel 16 and the VBA Macros are throwing me off. What is the best way to accomplish this?
| Dropdown box goes here | Event Name | Month | Remarks | ||
|---|---|---|---|---|---|
| Milkduds | January | remark | |||
| Bilbo Baggins | February | test | |||
| Riboflavin | March | example | |||
| Lettin' Gas | April | trial | |||
| Moist Mildew | February | help me! |
Thank you for your support.
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
This setup is not really suitable for what you want. I'd use the filter drop-down in B4 and/or C4.
Here you go:
Sheet1 is based off of what you originally sent, I didn't touch sheet2, and sheet3 is what my boss likes the final version to look like.
Let me know if you have an issue with opening it. Thank you.
Could you create a stripped-down copy of the workbook demonstrating the problem (without sensitive information) and make it available through one of the websites that let you upload and share a file, such as OneDrive, Google Drive, FileDropper or DropBox. Then post a link to the uploaded and shared file here.
HansV,
This worked very well and I love it, now my boss is looking for something more robust. I was able to data fill it with appropriate columns and rows as per his direction, but a few things I’m trying to do seem to not jive with the code:
Per the below example, what I’m trying to do according to what the boss wants:
| A | B | C | D | E | F | G | H | I | J | K | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | ACTIVITY TRACKER - 2025-2027 | ||||||||||
| 2 | AT A GLANCE - click dropdown box ----> | All | ACTIVITY LEGEND: | NO ACTION (LIGHT GREEN) | ACTION CONFIRMED (DARK GREEN) | HOLIDAY (RED) | EVENT TBC (PINK) | ALT EVENT TBC (LIGHT BLUE) | ALT EVENT CONFIRMED (DARK BLUE) | ALT EVENT (PURPLE) | TASKING (ORANGE) |
| 3 | EVENT INFORMATION | TYPE OF EVENT | |||||||||
| 4 | EVENT NAME | START DATE | END DATE | TRACKER # | INST | MSC | EX | WG | CONFERENCE | VISIT | REMARKS |
| 5 | NEW YEARS DAY | 01 January 2025 | 01 January 2025 | this is a day-off holiday | |||||||
| 6 | Mtg Prep | 06 January 2025 | 10 January 2025 | No action | |||||||
| 7 | INpro int | 09 December 2025 | 09 December 2025 | Action confirmed | |||||||
| 8 | IN-processing | 13 May 2026 | 07 Jun 2026 | Tasking |
I really appreciate any additional support you can provide. I think I can do it myself once we upgrade to Office 365; just some more help in the meantime.
This requires VBA code, so it will work only in the desktop version of Excel, and you will have to allow macros.
See the demo workbook FilterTable.xlsm
To view the code, right-click the sheet tab of Sheet1 and select 'View Code' from the context menu.