+ Reply to Thread
Results 1 to 13 of 13

Drop down menu - change data (Excel 2016)

  1. #1
    Registered User
    Join Date
    02-09-2006
    Location
    New Hampshire, USA
    MS-Off Ver
    2016
    Posts
    7

    Drop down menu - change data (Excel 2016)

    Ok, what I want to do is complicated (in my mind), so I don't know if Excel can do this, or if I can explain it. I'm currently making a list of when local restaurants open and close for my hotel. Currently, I have the days as columns, merged in two cells, with O (open) and C (closed) being filtered so I can select a day and filter so I can see what is open. I have a better idea to change this, but I don't know if I can. I'd like to have a dropdown to select the day, and have the information in the column change for whatever day I have selected. I think it'd look nicer, as it would just be one column instead of 7, and it'd teach me something new. Is this possible?
    Attached Files Attached Files
    Last edited by Timewalker; 07-13-2022 at 02:03 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,728

    Re: Drop down menu - change data (Excel 2016)

    There are instructions at the top of the page explaining how to attach your sample workbook (NOT screenshot).

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.

    Administrative Note:

    Members will tailor the solutions they offer to the version (NOT release number) of Office (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.

    Administrative Note:

    Although we value your privacy as much you do, it could be important that members have a rough idea of your location as the solutions they offer may be affected by your locale. For instance, you might in the future post questions which are related to your regional settings.

    With this in mind, please update your profile to something more precise (something such as UK, Europe, USA, UAE, etc. will suffice).

    Thank you for helping us to help you.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,410

    Re: Drop down menu - change data (Excel 2016)

    Please see yellow banner at top of page on how to attach a sample workbook.

    And update your profile with Location and Excel version as responses do depend on knowing this information.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  4. #4
    Registered User
    Join Date
    02-09-2006
    Location
    New Hampshire, USA
    MS-Off Ver
    2016
    Posts
    7

    Re: Drop down menu - change data (Excel 2016)

    Ok, I changed it from a picture to a sample, and updated my profile.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,728

    Re: Drop down menu - change data (Excel 2016)

    Where have you manually mocked up what you want? All I see are the daily columns you say you want to be rid of. I can't work out what is meant to be in these drop-down menus, where the data is that is meant to feed them or anything, really. You know what you want, obviously, but we don't.
    Last edited by AliGW; 07-13-2022 at 01:38 AM. Reason: Typo corrected.

  6. #6
    Registered User
    Join Date
    02-09-2006
    Location
    New Hampshire, USA
    MS-Off Ver
    2016
    Posts
    7

    Re: Drop down menu - change data (Excel 2016)

    I don't know how to mock it up, as I don't know how to do drop downs. I want to get rid of the full week columns, and put one drop down that has all seven days in it. By clicking any of the days of the week in the dropdown menu, the open and close hours of the restaurant will be filled in to the one column I'd have for the hours.

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,410

    Re: Drop down menu - change data (Excel 2016)

    Re Ali's reply: If O/C is simply Open/ Closed to you may want tp consider adding the actual Open hours e.g 0900:22:00.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,728

    Re: Drop down menu - change data (Excel 2016)

    You will still need to have a full list of opening hours somewhere. Please mock this up for the first five restaurants in the list.

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,728

    Re: Drop down menu - change data (Excel 2016)

    OK - I've mocked something up for you.

    There is a matrix lookup table on another sheet (you will need to fill it in). C2 is the drop-down list set up using data validation on the Data ribbon. Then I used this to grab the data:

    =INDEX(Sheet2!$D$2:$R$15,MATCH(1,(Sheet2!$B$2:$B$15=$C$2)*(Sheet2!$C$2:$C$15=C$3),0),MATCH($B4,Sheet2!$D$1:$R$1,0))

    **Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).

    AliGW on MS365 Beta Channel (Windows 11) 64 bit

    A
    B
    C
    D
    2
    Type of Restaurant
    Name of Restaurant
    Sun
    3
    O
    C
    4
    Bakery / Cafes
    In a Pinch
    11:00
    15:00
    Sheet: Sheet1
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    02-09-2006
    Location
    New Hampshire, USA
    MS-Off Ver
    2016
    Posts
    7

    Re: Drop down menu - change data (Excel 2016)

    Ok, I changed it to include some sample hours.

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,728

    Re: Drop down menu - change data (Excel 2016)

    Too late - see post #9.

  12. #12
    Registered User
    Join Date
    02-09-2006
    Location
    New Hampshire, USA
    MS-Off Ver
    2016
    Posts
    7

    Re: Drop down menu - change data (Excel 2016)

    Yes! That's pretty much exactly what I'm looking for. Thank you.

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,728

    Re: Drop down menu - change data (Excel 2016)

    Glad to have helped.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Using one Drop down menu to change data of whole sheet
    By MAROWITCH8787 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-13-2018, 06:55 PM
  2. Can't change PivotTable Data Source in Excel 2016
    By Marcva in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-29-2017, 02:12 PM
  3. How a drop down menu's list can change depending on another dropdown menu.
    By sudeepkm73 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-30-2015, 03:18 AM
  4. [SOLVED] How a drop down menu's list can change depending on another dropdown menu.
    By marc1980 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-21-2014, 04:58 PM
  5. Replies: 2
    Last Post: 01-30-2009, 04:23 PM
  6. [SOLVED] Drop down menu-How do you produce a drop down menu in a single cell in Excel
    By Freddo in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-04-2006, 04:35 AM
  7. [SOLVED] How to change the font size of Data Validation in drop-down menu?
    By DORI in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-10-2005, 09:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1