+ Reply to Thread
Results 1 to 7 of 7

Multiple dropdown selections and showing data

  1. #1
    Registered User
    Join Date
    02-09-2024
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    48

    Multiple dropdown selections and showing data

    Hope you're well. There's a slight help needed, please. In the attached testbook, when I select Site Red, Year 2020 and leave the Quarter empty, it repeats a name with it's count - whereas it should give a total of that name.

    For instance, I want the top 5 names with the highest count (sorted from largest to smallest values) based upon selections in B1, B2 and B3.

    If B1 is selected (B2 and B3 are empty) it should show all the top 5 names with highest count for that site.
    If B1 and B2 are selected (B3 is empty) it should show all the top 5 names with highest count for that site and year selected.
    If B1, B2 and B3 all are selected it should show all the top 5 names with the highest count for that site, year and quarter selected.

    As another example, if you select Red in B1, 2020 in B2 and leave B3 empty, it'll show the name Ali twice with a total of 200 each. It should show Ali one and a total of 400, because it would mean that the name Ali was used 400 times for that site and year.

    Thanks a lot for your help!
    Attached Files Attached Files
    Last edited by tr82; 02-21-2024 at 07:15 AM.

  2. #2
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,428

    Re: Multiple dropdown selections and showing data

    One way:

    Please try:
    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    02-09-2024
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    48

    Re: Multiple dropdown selections and showing data

    Thanks a lot, but this formula has made the sheet so very slow almost, not responding.

  4. #4
    Registered User
    Join Date
    02-09-2024
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    48

    Re: Multiple dropdown selections and showing data

    And now, I've lost all my data. When I put the formula the sheet became non-responsive and after a few minutes, Excel shutdown. I reopened the file and it said Excel has found some issues and if I want them get repaired, I clicked Yes and boom, all my data is gone.

  5. #5
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,428

    Re: Multiple dropdown selections and showing data

    How many rows do you have in Bylines?

    I would find it strange that the formula is causing the problems.

    I just tested with 25,000 rows and the response time is still less than 0.25 seconds.

    See attachment.
    Attached Files Attached Files

  6. #6
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Multiple dropdown selections and showing data

    And now, I've lost all my data.
    Surely you weren't testing it on the only copy of an important workbook, were 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.

  7. #7
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: Multiple dropdown selections and showing data

    Well, good luck in getting your data back. If you do, here's another take on Han's formula (without using MAP or LAMBDA - only because I don't know them well enough yet)

    Please Login or Register  to view this content.

+ 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. [SOLVED] Delete Listbox Selections from Multiple Worksheets Populated from Dropdown
    By RoroBear in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-17-2020, 04:22 PM
  2. Insert Image using Dropdown with Multiple Category Selections
    By sanne8279 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-14-2018, 03:23 AM
  3. Data Validation Multiple Selection - Keep Dropdown Box Open to Make Selections
    By PSSMargaret in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-31-2016, 12:32 PM
  4. Dropdown menu with dropdowns inside it which supports multiple selections
    By hermesalpha in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-15-2015, 01:03 PM
  5. Lookup based on multiple dropdown selections
    By cedrikfd in forum Excel General
    Replies: 3
    Last Post: 10-02-2014, 05:16 PM
  6. [SOLVED] Multiple graph selections using a dropdown list
    By John3828 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-24-2014, 02:49 PM
  7. [SOLVED] How can I allow users to make multiple selections from a dropdown.
    By Liz in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-20-2005, 05:15 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