+ Reply to Thread
Results 1 to 3 of 3

Data Validation based on list & sort & separate

  1. #1
    Registered User
    Join Date
    12-13-2013
    Location
    Stephens City, VA
    MS-Off Ver
    Excel 2010
    Posts
    24

    Data Validation based on list & sort & separate

    I've been wracking my brain for the past day and a half trying to use formulas initially (INDEX, MATCH, VLOOKUP), and finally realized the best way was using VBA. I have attempted at writing it however I am coming up short on the results and coming on with a headache

    Basically, I have a list of names in column 'Main'!O5. I want to copy ALL names from 'Incident Data', 'Change Data', & 'Task Data'. Paste those names to 'Calc'!B8, remove duplicates, sort those names so that the validation list from 'Main'!O5 is pasted between 'Calc'!B8:B35 and all other names and not on the validation list and any cells left blank are pasted to 'Calc'!B40 and on.

    I believe I can get the rest of the sorting I need done on my own, however I can't seem to get this to work.


    Can anyone help a novice by providing a little direction?

    I appreciate the help and love these forums. I just can't find what I am looking for.


    Thanks,

    Tim

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Data Validation based on list & sort & separate

    Post the sample data set.

    Also, why bother with VBA when you can have a dynamic named range on a pivot table. you can use that dynamic named range for the data validation.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Data Validation based on list & sort & separate

    I am not sure what you were getting at with all the cell references but here is what I am basically talking about. I also like to have a DATA tab of some sort, then a list tab, then some sort of reporting or summary tab where everything is pretty.

    Take a look at the dynamic named ranges for each of the components as well as the data range for the Pivot Tables themselves, which allows you to simply drop the data in and have it automatically update the range, so you can simply refresh all pivots and you are good to go.


    Dynamic Named Ranges and Data Validation (with pivots).xlsx

+ 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. Change cell value that has data validation from list in a separate sheet with macro?
    By jimmyjackjoejames in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-28-2013, 11:31 AM
  2. Sort data to separate sheets based on criteria
    By kmahan71 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 10-11-2012, 05:03 PM
  3. Data Validation, Sort List by Name Ascending
    By g00glethis1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-14-2010, 01:04 PM
  4. Data Validation List / Sort Problem?
    By Billyboy in forum Excel General
    Replies: 25
    Last Post: 03-18-2010, 04:19 PM
  5. [SOLVED] combo box from data validation with source list in separate sheet
    By Jay Trull in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-06-2006, 10:10 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