+ Reply to Thread
Results 1 to 6 of 6

Dropdown list linked to a formula

  1. #1
    Forum Contributor
    Join Date
    08-23-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    404

    Dropdown list linked to a formula

    Hi all,

    I think this is probably really simple but I can't work it out! I have attached a workbook.

    Basically, whenever one of the 3 names is selected in cell B8 I want the sum of their scores to appear in cell B9. So if I choose Dan then '10' appears in cell B9. Any ideas?

    Thanks!!
    Attached Files Attached Files
    Last edited by D_N_L; 11-18-2011 at 05:46 AM.

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

    Re: Dropdown list linked to a formula

    Hello,

    try

    =SUM(INDEX(B2:D4,MATCH(B8,A2:A4,0),0))

    cheers,

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Dropdown list linked to a formula

    Hi

    INDEX&MATCH, is what are you looking for.

    Pl see the attachment.
    Attached Files Attached Files
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Forum Contributor
    Join Date
    08-23-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    404

    Re: Dropdown list linked to a formula

    Hi Teylen,

    Thanks for your help! It works great. I'm trying to accommodate the formula within the below formula (which a fellow member kindly provided) but don't know where to start! Can you help me?

    Please Login or Register  to view this content.
    The above code is entered with Ctrl+Shift+Enter. The cell where my dropdown list is in is cell B56.

    Thanks for any help you can provide.

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

    Re: Dropdown list linked to a formula

    Well, you should have asked the whole question from the start.

    Post a sample file with the formula in place and mock up the expected result.

  6. #6
    Forum Contributor
    Join Date
    08-23-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    404

    Re: Dropdown list linked to a formula

    Hi Teylen,

    Many apologies, you're very right. I have created a new thread called 'Dropdown' with an example workbook. Apologies, I did this before seeing your reply.

    Thanks for your help so far! I shall try to stick to protocol form now on.

+ 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