+ Reply to Thread
Results 1 to 7 of 7

Dynamic Ranges

  1. #1
    Forum Contributor
    Join Date
    10-18-2015
    Location
    manila, philippines
    MS-Off Ver
    MS Office 2010
    Posts
    186

    Dynamic Ranges

    Hi Experts,

    I need your help on this. I just wanted the data in my sheet "result" to be dynamic in a way that the task list should change depending on the data validation in cell A1. please see attached file.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,681

    Re: Dynamic Ranges

    In A6, etc:
    Please Login or Register  to view this content.
    Note
    1. the changed layout of the index sheet
    2. I removed the word "team" from both sheets. Each cell which previously had team ... is custom formatted with "team " @ to make single word range names.
    Attached Files Attached Files
    Last edited by protonLeah; 03-09-2017 at 02:49 AM.
    Ben Van Johnson

  3. #3
    Forum Contributor
    Join Date
    10-18-2015
    Location
    manila, philippines
    MS-Off Ver
    MS Office 2010
    Posts
    186

    Re: Dynamic Ranges

    hi protonleah,

    Thank you so much! Can I ask one more thing? What if column B should also change together with column a?

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,681

    Re: Dynamic Ranges

    I'm sorry I forgot to modify the addresses of the named ranges for the teams. For team Andrew it should be
    Please Login or Register  to view this content.
    and similar for the rest.
    (If you mean column B on the results tab, I don't know what should be there)
    Last edited by protonLeah; 03-09-2017 at 03:23 AM.

  5. #5
    Forum Contributor
    Join Date
    10-18-2015
    Location
    manila, philippines
    MS-Off Ver
    MS Office 2010
    Posts
    186

    Re: Dynamic Ranges

    On the same file you attached, column B should also be changing together with column A. Please check on Index-UOM sheet.
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,681

    Re: Dynamic Ranges

    You can't have two different ranges with the same name. For instance, on sheet INDEX, there is a column titled "Andrew". I named that column ANDREW for use in the formulas in column A on the results sheet. But you also have a column titled ANDREW in column B on the index-UOM sheet. So I created new named ranges such as AndrewUOM ...UOM, etc. on the index-uom sheet. Then in column B of results sheet the formula:
    Please Login or Register  to view this content.
    takes the team from the dropdown in A1, appends "UOM" to it for the corresponding named range. The problem is that the row counts for the ranges on index don't match those on index-uom.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    10-18-2015
    Location
    manila, philippines
    MS-Off Ver
    MS Office 2010
    Posts
    186

    Re: Dynamic Ranges

    hi protonleah,

    That was perfect. I am trying to replicate what you did for the accounts as well, but I am not getting the result I wanted which is under "Index-Accounts. I've also created named ranges smilar with what you did with UOMs. The reason I am doing this is that each team has a different Task List, UOM and Accounts.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to set dynamic ranges
    By GIS2013 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-24-2015, 08:30 AM
  2. Dynamic ranges
    By huzzug in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-02-2014, 08:58 AM
  3. dynamic ranges
    By excelnerd1 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-07-2009, 01:51 PM
  4. Dynamic Ranges
    By jayjasonjay1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-14-2006, 06:57 PM
  5. Dynamic Ranges?
    By Smonczka in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-12-2005, 11:06 PM
  6. Dynamic Ranges
    By digicat in forum Excel General
    Replies: 1
    Last Post: 04-18-2005, 08:02 AM
  7. Dynamic Formulas with Dynamic Ranges
    By Ralph Howarth in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-21-2005, 05:06 AM

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