+ Reply to Thread
Results 1 to 11 of 11

How to use any formula with multi-select or drop down lists?

  1. #1
    Registered User
    Join Date
    03-31-2010
    Location
    Salt Lake City, Utah
    MS-Off Ver
    Excel 2007
    Posts
    6

    How to use any formula with multi-select or drop down lists?

    I have several drop down lists with text with multi-select enabled that I need to put into a SUM formula. How do I do this?

    Here is one of my drop down lists:
    QUALITY ISSUES (name of list)
    Unusable donor images
    Image format / specifications
    Metadata conflicts
    Poor quality image capture

    I have numbers in a separate column that is associated with each of these quality issues that I need to add together in a SUM formula. Also, my IF formulas don't work when more than one quality issue is selected in the pull down (multi-select mode). Here's my IF formula =IF(D10="Metadata conflicts","4c "," ").

    I need to add together all the image numbers for each category of 'obstacle'.

    Thank you for whatever help you can provide.

    Alan
    Attached Files Attached Files
    Last edited by heatham; 04-04-2010 at 12:03 PM. Reason: to add attachment of sample spreadsheet

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: How to use sumif with drop down lists?

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!

  3. #3
    Registered User
    Join Date
    03-31-2010
    Location
    Salt Lake City, Utah
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: How to use any formula with multi-select or drop down lists?

    I've uploaded a sample spreadsheet a couple days ago. I'm new to this forum, how do I get a response?
    Thanks,
    Alan

  4. #4
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: How to use any formula with multi-select or drop down lists?

    It's not entirely clear just what you want to sum.

    Please edit your workbook to identify which cells to sum and what is the criteria. Provide a manual illustration of the results so we are clear on the logic. It would be beneficial if you included the validation lists so that the drop downs work.

    Your drop down lists are Data Validation lists and they are not multi-selectable - any selection in any list is unique and no other selections can me made at the same time.

    For your IF formula, you should use a look up table to match selections against the values you want returned, then use one of the look up functions (VLOOKUP, INDEX/MATCH formula, etc.)
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  5. #5
    Registered User
    Join Date
    03-31-2010
    Location
    Salt Lake City, Utah
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: How to use any formula with multi-select or drop down lists?

    Sorry about that, I forgot to add the category list to the spreadsheet to make the multi-select work correclty. I've uploaded the corrected spreadsheet.

    I need to identify the total number of images associated with each category that users select in the multi-select cells.

    Thank you for your assistance with this problem.

    Regards,
    Alan

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: How to use any formula with multi-select or drop down lists?

    I'm still not sure
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  7. #7
    Registered User
    Join Date
    03-31-2010
    Location
    Salt Lake City, Utah
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: How to use any formula with multi-select or drop down lists?

    Not sure of?

    If you're not sure of what I need to add, then let me say more. I have several spreadsheets with projects around the world with the same obstacle list. I need to add the number of images associated with each unique obstacle from the pull down lists and aggregate the totals. So, the fundamental question is that I don't know how to use a formula on any cell with multi-select or pull downs. The formulas that I know for excel all require one number per cell to work properly. If you can show how this is done then I can find a way to aggreate the sums together from the various spreadsheets.

    Regards,
    Alan

  8. #8
    Registered User
    Join Date
    03-31-2010
    Location
    Salt Lake City, Utah
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: How to use any formula with multi-select or drop down lists?

    Here's a formula that will work in my original workbook if there is only one selection made in the cell:
    =SUMPRODUCT(--('North America2'!D9:D44="Outbound Linking"),'North America2'!C9:C44)

    However, if there is more than one 'obstacle' selected in the pull-down list, then the above formula won't work. Any suggestions?

    Regards,
    Alan

  9. #9
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: How to use any formula with multi-select or drop down lists?

    It would be helpful to have an inkling where the data is that you want to sum up. But since you say the Sumproduct is working with one condition, you may just need to add the other conditions.

    Taking a guess here at where the data is:

    =SUMPRODUCT(--('North America2'!$D$9:$D$44=D7),--('North America2'!$E$9:$E$44=E7),--('North America2'!$F$9:$F$44=F7),--('North America2'!$G$9:$G$44=G7),--('North America2'!$H$9:$H$44=H7),'North America2'!$C$9:$C$44)

    That's assuming that in the sheet North America2 you have data in the columns D to H that corresponds with the Obstacle types in column D to H in your sample file.

    If that does not do the trick, post a workbook that contains a North America2 sheet with some sample data.

    cheers
    Last edited by teylyn; 04-06-2010 at 02:00 AM.

  10. #10
    Registered User
    Join Date
    03-31-2010
    Location
    Salt Lake City, Utah
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: How to use any formula with multi-select or drop down lists?

    Teylyn,

    Thank you for your post. It's great to get assistance from a fellow cellist!

    I'm uploading a sample of my spreadsheet with the formulas and the multi-select or pull downs options. You will notice that the formula doesn't work when I select more than one in one particular cell.

    Let me know if you can tackle this challenge, I've been searching for a solution for days now!

    Best regards,
    Alan
    (a cellist in Utah)
    Attached Files Attached Files

  11. #11
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: How to use any formula with multi-select or drop down lists?

    Alan, I don't think it will work this way.

    This looks rather like a task for a relational database.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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