+ Reply to Thread
Results 1 to 6 of 6

Assigning a number to a dropdown list

  1. #1
    Registered User
    Join Date
    05-24-2011
    Location
    GP
    MS-Off Ver
    Excel 2007
    Posts
    25

    Assigning a number to a dropdown list

    Hi Guys

    This seems a bit difficult...

    I need to assign a point to the following products if selected from cell C6:E6

    If "Rewards" is selected its 5 points
    If "Consent" is selected its 3 points
    If "Notify Me" is selected its 1 point

    But theres a twist to this. If all 3 cells are selected with Rewards, Consent and Notify Me, bonus points are awarded which is 15 points. It will no longer be 9 points.

    If only 2 products is selected it will be the points awarded to those 2 products plus bonus points of 5, so if Rewards(5) and Consent(3) is selected the total points will be 13.

    Hope im making sense.

    I have attached a workbook.
    Attached Files Attached Files

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Assigning a number to a dropdown list

    can you select the same option more than once?, there is no "blank"option
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Valued Forum Contributor
    Join Date
    05-08-2012
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003, 2010
    Posts
    811

    Re: Assigning a number to a dropdown list

    Try this formula in cell F6:
    Please Login or Register  to view this content.
    See Attached
    Attached Files Attached Files
    Click on star (*) below if this helps

  4. #4
    Registered User
    Join Date
    05-24-2011
    Location
    GP
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Assigning a number to a dropdown list

    Thanks K m, it works perfectly! However, i made a mistake with the scenario given. I Said 'If only 2 products are selected it will be the points awarded to those 2 products plus bonus points of 5, so if Rewards(5) and Consent(3) is selected the total points will be 13'. It supposed to be if only "rewards" and "Consent' is selected, then bonus points are awarded.

  5. #5
    Registered User
    Join Date
    05-24-2011
    Location
    GP
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Assigning a number to a dropdown list

    Quote Originally Posted by martindwilson View Post
    can you select the same option more than once?, there is no "blank"option
    Hi Martin, You cannot select the same option more then once

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

    Re: Assigning a number to a dropdown list

    Maybe this approach would be less confusing.

+ 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