+ Reply to Thread
Results 1 to 13 of 13

Automatically select a selection from a drop down list based on current date

Hybrid View

  1. #1
    Registered User
    Join Date
    05-25-2023
    Location
    west Yorkshire
    MS-Off Ver
    365
    Posts
    5

    Automatically select a selection from a drop down list based on current date

    Hi,

    I have created a dashboard with donut charts which keep track of a number of tasks completed and the number of tasks still left to complete.

    Every week I have to give an update of the progress of work showing the percentage difference and current completed for each task from week to week.

    I have created a drop down list giving me a percentage difference for each/new weeks coming using the =Today().

    Every week I would like the percentage difference cells B5,C5 and D5 to change automatically, from a specific date in the drop down list (L11) without having to manually select a date from the drop down list. The sheet does it automatically when I open the sheet.

    Is this possible?
    Attached Files Attached Files
    Last edited by AliGW; 05-27-2023 at 03:02 AM. Reason: Thread title improved.

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

    Re: Change drop down list selection

    Welcome to the forum.

    You already have a drop-down and it seems to be working - what about it is not working as you want it to? Please show us (manually mocked up) what you want.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    05-25-2023
    Location
    west Yorkshire
    MS-Off Ver
    365
    Posts
    5

    Re: Change drop down list selection

    I want to be able to change my selection in the drop down list automatically on specific date. eg on 01/06/23 the drop down changes with out my click on anything.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,218

    Re: Change drop down list selection

    You cannot have a formula and data validation list in the same cell - if you do, the formula will be lost the minute anyone uses the DV drop-down. This will require VBA - shall I move the thread for you?

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

    Re: Change drop down list selection

    By the way, you need to change P12 to this:

    =UNIQUE(FILTER(Percentdata[DATE:],Percentdata[DATE:]<>""))
    Last edited by AliGW; 05-27-2023 at 01:58 AM.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,218

    Re: Change drop down list selection

    If you want Excel to find the correct date INSTEAD of having the DV list, then you could use this:

    =LET(u,UNIQUE(FILTER(Percentdata[DATE:],Percentdata[DATE:]<>"")),XLOOKUP(TODAY(),u,u,,-1,2))

  7. #7
    Registered User
    Join Date
    05-25-2023
    Location
    west Yorkshire
    MS-Off Ver
    365
    Posts
    5

    Re: Change drop down list selection

    Thank you. Could you move the post to the correct thread?

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

    Re: Change drop down list selection

    Do I take it that you want to have both the formula and the drop-down? I am moving this to the VBA section. I suggest you update the title of your first post in this thread to include something about needing both DV drop-down and a formula in the same cell. Good luck!

  9. #9
    Registered User
    Join Date
    05-25-2023
    Location
    west Yorkshire
    MS-Off Ver
    365
    Posts
    5

    Re: Auto change drop down list selection.

    Every week I would like the percentage difference cells near the donut charts to change automatically, from a specific date in the drop down list.

    and thank you for your help

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

    Re: Auto change drop down list selection.

    This seems to be different to what you asked previously - please update the thread title to make this request crystal clear.

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

    Re: Automatically select a selection from a drop down list?

    Thanks for updating the title, but it doesn't say anything about automating charts - you need to add that so that people know what the whole issue is.

    I am wondering now if it is the drop-down or the charts you need help with, or both.

  12. #12
    Registered User
    Join Date
    05-25-2023
    Location
    west Yorkshire
    MS-Off Ver
    365
    Posts
    5

    Re: Automatically select a selection from a drop down list?

    Hopefully that explains things better.

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

    Re: Automatically select a selection from a drop down list?

    Yes - so we can forget about the charts. Thanks for clarifying.

+ 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. Change Cell Color based on Drop Down List Selection
    By namealreadtytaken in forum Excel General
    Replies: 5
    Last Post: 01-12-2022, 03:51 AM
  2. Replies: 2
    Last Post: 10-13-2020, 03:23 AM
  3. [SOLVED] Need help having a drop down list change multiple cells depending on the list selection
    By jennis7242 in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 08-12-2017, 01:20 PM
  4. Change reference cell in formula based on selection in drop down list
    By devin.fentie in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-13-2016, 03:40 AM
  5. Change cell content depending on selection from drop down list
    By mack4n in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-16-2015, 04:17 AM
  6. Replies: 1
    Last Post: 04-03-2015, 06:00 PM
  7. Replies: 2
    Last Post: 07-15-2014, 08:24 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