+ Reply to Thread
Results 1 to 12 of 12

Indirect an indirect for name manager for data validation

  1. #1
    Registered User
    Join Date
    03-25-2014
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2007
    Posts
    11

    Indirect an indirect for name manager for data validation

    I'm trying to create a dynamic drop down with indirect lists. Example, A1 is ANT., so B1 in data validation is list - =indirect(a1). my "ANT." list is on sheet 2 for a1, the contents of that cell are sheet2!b1:b10 so the name manager refers to =indirect(sheet2!a1) but the value is (...) instead of the range. Looks like this:

    Name Value Refers To
    ANT. (....) =indirect(sheet2!a1)

    ^where sheet2!a1 = sheet2!b1:b10

    Is there a way to create a dynamic drop down by using indirect() references in the name manager? Did I just miss something stupid?

    I have 17 ranges that total about 20,000 cells, so instead of trying to go through and selecting the ranges and then naming them, I'm trying to reference the ranges with indirect() so that I only have to name and indirect those 17 cells instead of highlighting/identifying 20,000+ cells 17 ranges at a time and then naming them.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Indirect an indirect for name manager for data validation

    Please upload the workbook and add some notes that clearly explain which ranges should be referred to by say a couple of drop down selections. These things are always easier if we can see the request in context.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    03-25-2014
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Indirect an indirect for name manager for data validation

    Here's an example of what I'm talking about; it's not mine, I can't share mine, but this should clarify what I'm asking.
    Attached Files Attached Files

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Indirect an indirect for name manager for data validation

    Sorry but I don't understand what you expect to see in the D3 drop down for any of the B3 selections. Please clarify with examples.

  5. #5
    Registered User
    Join Date
    03-25-2014
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Indirect an indirect for name manager for data validation

    B3 = ant. - d3 = 1;2;3;4
    b3 = bat. - d3 = 5;6;7
    b3 = cat. - d3 = 8;9;10;
    b3 = egg. - d3 = 11;12;13;14;15
    b3 = erf. - d3 = 16;17;18;19;20;21;22

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Indirect an indirect for name manager for data validation

    naming a bunch of ranges is not that hard - or time consuming.

    Give each range a heading that will become that range name
    Highlight the entire range, including headings
    on the Formulas tab, click Create From Selection
    make sure that just Top Row is selected
    click OK

    You should now have a bunch or range names that include all those headings and their respective ranges
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    Registered User
    Join Date
    03-25-2014
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Indirect an indirect for name manager for data validation

    I understand that naming all of them isn't hard; my point is that the data set is (actually closer to) about 40,000 lines of data; the data is referencing specific part numbers related to specific equipment. Considering the they're ANT.0001, ANT.0002 it came over as a list from a1 - a40000. Therefore, I've separated the alpha from the numeric and then created a start and count column to create a range per prefix. So it would be nice to be able to create what I'm asking about, if it's possible, so that in the future I can do it again without having to try and pull out 5k of this one, move 7k of this one, move 4k of this one, etc and then header/name them all

  8. #8
    Registered User
    Join Date
    03-25-2014
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Indirect an indirect for name manager for data validation

    bump......

  9. #9
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Indirect an indirect for name manager for data validation

    See if either of these articles can help you out. They don't use INDIRECT and are based on pivot tables, so they might be more dynamic.

    http://www.utteraccess.com/wiki/inde..._%28Non-VBA%29
    http://www.utteraccess.com/wiki/inde...ists_%28VBA%29
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  10. #10
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Indirect an indirect for name manager for data validation

    Are your ranges defined by the table in E1:G6 or B1:C22 in this example.

    i.e. which data does your real production data have and from which you want to derive your drop down values. It's not obvious which table/list you start with and from which all else is derived.

  11. #11
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Indirect an indirect for name manager for data validation

    Hi

    Please see the file! Only took me less than 10 minutes lol

    Sheet2
    Number move to column C
    Cell F2
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This is array formula? Make sure you press same time by this (Ctrl+Shift+Enter) till you see both end {} This will tell you how many rows there is.

    Cell D2
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Same again array formula by (Ctrl+Shift+Enter) Then copy down up to 10000? If you need more than that just change the number10000 to 20000?

    Look at Name Manager and Data Val too?
    Attached Files Attached Files
    Last edited by micope21; 03-31-2016 at 02:52 PM.
    To help you by my post? it would be nice to click on to say "Thank you".
    If you are happy with a solution to your problem?
    Click Thread Tools above your first post,
    select "Mark your thread as Solved".

  12. #12
    Registered User
    Join Date
    03-25-2014
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Indirect an indirect for name manager for data validation

    Richard Buttrey - the range is based on a1;a2;a3;a4;a5 - the ranges in those cells are determined by the data in the tables from e1:g6 and the range for the table is =indirect(a1) [and so on]

    thanks micope21, looking now

+ 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. Data validation using indirect
    By erisaaka in forum Excel General
    Replies: 1
    Last Post: 02-11-2014, 08:16 PM
  2. [SOLVED] 2 data Range using COUNTIF with INDIRECT and MIN IF with INDIRECT,
    By david gonzalez in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 11-29-2013, 08:10 PM
  3. Indirect Data Validation
    By techteam in forum Excel General
    Replies: 3
    Last Post: 11-22-2011, 07:03 AM
  4. data validation and indirect
    By jang430 in forum Excel General
    Replies: 10
    Last Post: 04-30-2011, 10:33 PM
  5. Data Validation - Indirect function
    By Newport Count in forum Excel General
    Replies: 7
    Last Post: 06-09-2009, 05:11 PM
  6. Data Validation and Indirect Function
    By solnajeff in forum Excel General
    Replies: 4
    Last Post: 01-05-2008, 04:23 PM
  7. Data Validation and Indirect
    By matt_the_brum in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-13-2006, 09:53 AM
  8. [SOLVED] Data Validation with Indirect
    By Nigel in forum Excel General
    Replies: 3
    Last Post: 12-17-2005, 11:40 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