+ Reply to Thread
Results 1 to 7 of 7

Dynamically updating range of cells via dropdown menu

  1. #1
    Registered User
    Join Date
    04-13-2009
    Location
    New York City, USA
    MS-Off Ver
    Excel 2007
    Posts
    6

    Dynamically updating range of cells via dropdown menu

    I'm hoping this is a simple question someone might help clear up for me.

    I've defined a few cell ranges on a worksheet (in my example I've defined their names as site1, site2, site3, site4, site5). All these ranges are identical in # of columns and rows.

    On a separate worksheet, I'm trying to display a single named range, depending on the value in a dropdown menu.

    In my example, I have a pulldown menu with the following items: site1, site2, site3, site4, site5 (mirroring the named cell ranges). I'd like to display one of these ranges, depending on which name is selected in the dropdown.

    Could anyone please provide any insight? Thank you so much for any help you could offer!
    Attached Files Attached Files
    Last edited by dancross; 04-27-2009 at 04:05 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Dynamically updating range of cells via dropdown menu

    Try this formula in A4:

    =OFFSET(INDIRECT($A$2),ROWS($A$1:$A1),COLUMNS($A$1:A$1),1,1)

    copied down and across the table..

    then go back to A4 and delete the formula to get rid of the 0 there.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    04-13-2009
    Location
    New York City, USA
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Dynamically updating range of cells via dropdown menu

    Brilliant! Thank you very much... this works like a charm. You've saved me a whole bunch of time. Please tell me where to send the home made cookies

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Dynamically updating range of cells via dropdown menu

    Thanks for the offer... you can click the scales button on any one of my posts in this thread and click add... instead of the cookies...


    Please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    Last edited by NBVC; 04-20-2009 at 04:29 PM.

  5. #5
    Forum Contributor
    Join Date
    04-01-2009
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    280

    Re: Dynamically updating range of cells via dropdown menu

    As an alternative you could use the picture link reference...
    Attached Files Attached Files

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Dynamically updating range of cells via dropdown menu

    Chance2,

    Interesting solution...but you should detail how you get that solution as it not easily decipherable as is.

  7. #7
    Forum Contributor
    Join Date
    04-01-2009
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    280

    Re: Dynamically updating range of cells via dropdown menu

    Sorry, I was concentrating on the solution not the steps.

    1) Copy a cell on the sheet
    2) Shift + Edit --> Paste Picture as link
    3) Create a named reference (Define --> Name)
    a) I used mysite as the name
    b) INDIRECT($A$2) as the formula (refers to his named ranges)
    4) Change the formula for the picture to "=mysite"

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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