+ Reply to Thread
Results 1 to 7 of 7

How to keep Data Validation list after a drag and drop...

  1. #1
    Forum Contributor
    Join Date
    09-09-2013
    Location
    California, USA
    MS-Off Ver
    MS 365 Subscription
    Posts
    130

    How to keep Data Validation list after a drag and drop...

    Is there a way to keep a column in a table to have a data validation drop-down list after you drag and drop a cell into another cell?

    For example:
    A1 has a data validation list. If I drag A1 to A5, A1 no longer has the data validation. I want all cells in column "A" in my table to always have the same data validation list even after a drag and drop.. Is this possible?

    Thank you

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,450

    Re: How to keep Data Validation list after a drag and drop...

    Hi pasquale and welcome to the forum,

    This sounds like job for Dynamic Named Ranges. I'd need to see your data to be sure. See DNR's at:
    http://www.ozgrid.com/Excel/DynamicRanges.htm or
    http://www.onlinepclearning.com/exce...-named-ranges/
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Contributor
    Join Date
    09-09-2013
    Location
    California, USA
    MS-Off Ver
    MS 365 Subscription
    Posts
    130

    Re: How to keep Data Validation list after a drag and drop...

    Quote Originally Posted by MarvinP View Post
    Hi pasquale and welcome to the forum,

    This sounds like job for Dynamic Named Ranges. I'd need to see your data to be sure. See DNR's at:
    http://www.ozgrid.com/Excel/DynamicRanges.htm or
    http://www.onlinepclearning.com/exce...-named-ranges/
    Here is and example of the problem I am trying to fix:
    Data Validation Problem.xlsx

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2507
    Posts
    13,809

    Re: How to keep Data Validation list after a drag and drop...

    When you say drag and drop it sounds like you're moving those cells. Try holding Ctrl while dragging and dropping and see if that helps. It should make copies of A1 or A2:C3 as your workbook indicates.
    Last edited by FlameRetired; 02-05-2015 at 09:58 PM.

  5. #5
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,450

    Re: How to keep Data Validation list after a drag and drop...

    Hi pasquale,

    It looks like "drag and drop" isn't what you want to do. How about Copy and Paste might be what is appropriate for what you are doing. To Copy a range, select it and press Ctrl+C. Then click on a cell (empty) and press Ctrl+V.

    I think that is what you are trying to perform but dragging and dropping isn't what you want to do.

  6. #6
    Forum Contributor
    Join Date
    09-09-2013
    Location
    California, USA
    MS-Off Ver
    MS 365 Subscription
    Posts
    130

    Re: How to keep Data Validation list after a drag and drop...

    Quote Originally Posted by MarvinP View Post
    Hi pasquale,

    It looks like "drag and drop" isn't what you want to do. How about Copy and Paste might be what is appropriate for what you are doing. To Copy a range, select it and press Ctrl+C. Then click on a cell (empty) and press Ctrl+V.

    I think that is what you are trying to perform but dragging and dropping isn't what you want to do.
    Thank you for the reply, but the reason I would like to drag and drop is because there are times I want to move the information from my table down so I can put different information above it, but I still need the data validation for the new information. And it becomes tedious reapplying the data validation list in the cells.

    If there is no way of doing this, I can copy and paste and then delete the original information so I can put the new info in. I am just trying to make the process as quick as possible with less steps.

    Thank you

  7. #7
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,450

    Re: How to keep Data Validation list after a drag and drop...

    Hi,

    I don't think you got the Dynamic Named Range (DNR) answer I gave before. If you add a word to the bottom of Table1 or Table2 it will be included in DNRTable1 or DNRTable2 range. These are DYNAMIC!! Then I used these names in the Data Validation List Formula. See the attached. Look at the Validation List formula and Names Manager to see what I've done.
    Attached Files Attached Files

+ 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. Auto Drag Down Data Validation List & End Before a Particular Text is Encountered
    By TeoneSofle in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-15-2014, 08:18 AM
  2. Drop Down List (Data Validation) Need to start at current value in list
    By bigmantitus in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-07-2014, 11:14 AM
  3. Data validation List: A macro to initiate drop down list?
    By dchubbock in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-11-2013, 08:12 PM
  4. Data Validation, drag and drop, auto population questions
    By Phouthavongc in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-18-2013, 10:08 AM
  5. Replies: 1
    Last Post: 09-05-2012, 11:39 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