+ Reply to Thread
Results 1 to 4 of 4

Complete list not showing in a drop down list from a named row

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    09-22-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Office 2019
    Posts
    310

    Complete list not showing in a drop down list from a named row

    Hi
    I've got a worksheet with a list of 45 Clubs across row 1 and the names of the various teams associated with each club in the column below the relevant club name. I've created a Dynamic Name for the club names with the following in the "Refers to" cell of the Name Manager which I believed would expand the Name selection as more club names are added across the row.

     =OFFSET(Teams!$A$1,0,0,1,COUNTA(Teams!1:1)-1)
    I've got the drop down selection list on another sheet, but when I scroll down the list it only show 28 of the team names. The List box is simply Data Validation using the row name (=Dynamic_Clubs ).

    Any ideas why I can't see all the 45 clubs in row 1 of the "Teams" sheet in the drop down please?

    Thanks

  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: Complete list not showing in a drop down list from a named row

    Unless your clubs start in A1 then you need to add the column number of the column before the clubs start. e.g.
    Formula: copy to clipboard
    =OFFSET(Sheet2!$A$1,0,0,1,COUNTA(Sheet2!$1:$1)+6)


    and if the clubs are not contiguous and you have blank columns between clubs then you'll also need to adjust for the blank columns.

    Or of course start the Offset at a different position. e.g.

    Formula: copy to clipboard
    =OFFSET(Sheet2!$A$1,0,5,1,COUNTA(Sheet2!$1:$1))
    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
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: Complete list not showing in a drop down list from a named row

    Use the absolute row reference for Teams!1:1.
    Otherwise, the row changes relative to your dropdown list row.

    Formula: copy to clipboard
    =OFFSET(Teams!$A$1,0,0,1,COUNTA(Teams!$1:$1)-1)
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  4. #4
    Forum Contributor
    Join Date
    09-22-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Office 2019
    Posts
    310

    Re: Complete list not showing in a drop down list from a named row

    Yes. The Club names run from A1:AS1 Richard.
    Looks like it was a simple error of not putting the $ in front of the 1:1 selection.

    Thanks again Alpha Frog! Not at all sure why that made the difference but it worked!

+ 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. [SOLVED] Auto complete Entries With Drop Down List
    By getafixkwik in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 04-13-2022, 06:29 AM
  2. Auto Complete Drop Down List
    By santhire in forum Excel General
    Replies: 0
    Last Post: 03-29-2016, 01:59 AM
  3. Auto complete in LIST (drop down)
    By luvnet18 in forum Excel General
    Replies: 2
    Last Post: 07-12-2013, 08:23 AM
  4. Auto complete with drop down list
    By ade_tracy in forum Excel General
    Replies: 3
    Last Post: 07-12-2013, 06:12 AM
  5. auto complete from Drop down List
    By hel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-02-2010, 12:10 PM
  6. auto complete within a drop down list
    By gaelforce in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-09-2007, 07:10 PM
  7. Auto-complete an entry in drop-down list
    By Jason in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 08-23-2005, 07:05 PM

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