+ Reply to Thread
Results 1 to 4 of 4

'Select all' option in a drop down list

  1. #1
    Registered User
    Join Date
    02-26-2014
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    46

    'Select all' option in a drop down list

    Hi,

    I'm doing a sumif based off the data selected in a drop down list but I need a 'select all' option. So I need there to be an 'all' option in the drop down list which adds all the data in the list. Any help would be greatly appreciated guys. I've added an Excel sheet that further explains the problem.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,367

    Re: 'Select all' option in a drop down list

    Maybe

    =IF(K4="all",SUM(C:C),SUMIF(B:B,K4:K4,C:C))

  3. #3
    Registered User
    Join Date
    02-26-2014
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: 'Select all' option in a drop down list

    Hi Azumi,

    Thanks for you help. I did think of that but once this gets applied to my actual Spreadsheet, things would get quite messy with this method. I was hoping that there would maybe be a cleaner, more 'official' solution to this? Surely Excel has a built in method of dealing with something like this? It strikes me as something that would be needed quite often.

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: 'Select all' option in a drop down list

    It can't get much simpler than what azumi gave you. You don't need K4:K4 in the formula.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    What is it that could get messy?

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window (or use the paperclip icon).
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. Data validation drop down select all option
    By MrAlex in forum Excel General
    Replies: 3
    Last Post: 01-05-2015, 10:54 AM
  2. [SOLVED] How do I date stamp different fields each time I select an option from a drop down list?
    By martyparke in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-28-2014, 05:47 AM
  3. Select option in HTML drop down list
    By JohnsonJiang in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-15-2014, 03:28 PM
  4. Replies: 4
    Last Post: 02-07-2014, 12:49 AM
  5. [SOLVED] If I select an option from a drop-down in 1 cell, how do i get it to display specific info
    By Posthuman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-05-2012, 01:45 PM
  6. Can only select a drop down option once
    By davidstokes in forum Excel General
    Replies: 27
    Last Post: 02-22-2012, 09:55 AM
  7. Replies: 5
    Last Post: 10-27-2005, 01:55 PM

Tags for this Thread

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