+ Reply to Thread
Results 1 to 7 of 7

Dynamic Name Ranges & Drop-Down Lists (Difficult) HELP!

  1. #1
    Forum Contributor
    Join Date
    12-22-2015
    Location
    San Antonio, Texas
    MS-Off Ver
    2016
    Posts
    116

    Dynamic Name Ranges & Drop-Down Lists (Difficult) HELP!

    I have sheet one with column A where names will be entered. Once names are entered, column B with populate the initials. These two columns are dynamic ranges. Sheet two, column A will have a drop-down where the selections would be the names, BUT when selected the initials that correspond to it would populate the cell instead.
    Help.
    Also, if names are deleted, modified, or moved, the drop-down list wouldn’t show blanks. All formulae are NOT to be in cells, but as dynamic ranges or otherwise.
    I will PAY to learn, if need be. Ha ha
    Is it possible?
    HELP!!!!

  2. #2
    Forum Contributor
    Join Date
    09-24-2012
    Location
    York, England
    MS-Off Ver
    Excel 2003/07/10
    Posts
    165

    Re: Dynamic Name Ranges & Drop-Down Lists (Difficult) HELP!

    I think it would help to see some sample data illustrating your expected results. Also check your private messages.

  3. #3
    Forum Contributor
    Join Date
    12-22-2015
    Location
    San Antonio, Texas
    MS-Off Ver
    2016
    Posts
    116

    Re: Dynamic Name Ranges & Drop-Down Lists (Difficult) HELP!

    I made an example, but the ExcelForum website won’t allow me to attach anything. Every other button I click is fine, just the attachments button won’t do anything.

  4. #4
    Forum Contributor
    Join Date
    12-22-2015
    Location
    San Antonio, Texas
    MS-Off Ver
    2016
    Posts
    116

    Re: Dynamic Name Ranges & Drop-Down Lists (Difficult) HELP!

    Also, as far as initials being returned when names are entered, I found this function online: =if(len(B3)-len(SUBSTITUTE(B3," ",""))=0,left(B3,1),if(len(B3)-len(SUBSTITUTE(B3," ",""))=1,left(B3,1)&mid(B3,find(" ",B3)+1,1),left(B3,1)&mid(B3,find(" ",B3)+1,1)&mid(B3,find(" ",B3,find(" ",B3)+1)+1,1))

    I don’t want it to be in the cells, I would prefer it to be a part of a dynamic range; but every time I try to apply it, something happens that results in an error. I conjecture hat it wouldn’t work, or I’m missing something.

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Dynamic Name Ranges & Drop-Down Lists (Difficult) HELP!

    To attach a file to your post...

    Click the Reply button to open the Reply Editor
    Click the Go Advanced button
    Scroll down until you see the Manage Attachments link and click that
    Click the Browse button and select your file
    Click the Open button
    Click the Upload button
    Click the Close Window button
    Click the Submit Reply button

    What you want to do will require a VBA procedure.

    There is a sample file that demonstrates this here:

    http://www.contextures.com/excelfiles.html#DataVal

    Scroll down and look for: DV0004 - Data Validation Change
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  6. #6
    Forum Contributor
    Join Date
    12-22-2015
    Location
    San Antonio, Texas
    MS-Off Ver
    2016
    Posts
    116

    Re: Dynamic Name Ranges & Drop-Down Lists (Difficult) HELP!

    This is an example I threw together in its most basic form.
    Attached Files Attached Files

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

    Re: Dynamic Name Ranges & Drop-Down Lists (Difficult) HELP!

    Since you are trying to put both a formula and a value in the same cell, you cannot use a formula for this. You must use VBA. The following workbook has a Change event fired off column A that looks up the initials associated with the name and replaces the name with the initials.
    Attached Files Attached Files
    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.

+ 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] Help with Dynamic Validation Lists / Drop Downs / dynamic filters
    By rjnc in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-22-2016, 08:10 PM
  2. Remove underscore when using named ranges for dynamic lists
    By stromley in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-28-2015, 04:14 PM
  3. Dynamic Drop Down lists
    By Excellearnerva in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-25-2014, 10:20 AM
  4. Dynamic Named Ranges & Drop Down Lists
    By student6 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 01-02-2014, 01:07 AM
  5. [SOLVED] Dynamic Ranges as drop down lists based on another drop down list
    By Excel_Beginner_1 in forum Excel General
    Replies: 4
    Last Post: 05-15-2012, 03:31 PM
  6. Drop down lists/Named ranges
    By creed1101 in forum Excel General
    Replies: 1
    Last Post: 09-07-2011, 09:31 AM
  7. Dynamic Ranges and Lists
    By Mark_Robinson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-04-2006, 03:40 AM

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