+ Reply to Thread
Results 1 to 3 of 3

SOLVED! named range drop down list sum index

  1. #1
    Registered User
    Join Date
    02-12-2009
    Location
    Nottingham, England
    MS-Off Ver
    Excel 2000
    Posts
    52

    SOLVED! named range drop down list sum index

    Ok

    I want to make a drop down list that refers to a named range, that would work with my sum index formula.

    =SUM(INDEX(B10:BA10,C32):INDEX(B10:BA10,C33))

    When I type the named range in (replacing the B10:BA10) it works. But for userability I want a drop down list validation that lets them choose which named range they are looking at.

    Any ideas? Really stuck. Thanks,
    Last edited by superspurs; 07-21-2011 at 04:40 PM. Reason: SOLVED!

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: named range drop down list sum index

    Assuming the drop box cell were A1, you would add the INDIRECT() function, like so:

    =SUM(INDEX(INDIRECT(A1),C32):INDEX(INDIRECT(A1),C33))
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    02-12-2009
    Location
    Nottingham, England
    MS-Off Ver
    Excel 2000
    Posts
    52

    Re: named range drop down list sum index

    Wow. Thank you! Another successful solve!

+ 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