+ Reply to Thread
Results 1 to 4 of 4

Is it possible to add data validation to existing table without overwriting existing value

  1. #1
    Valued Forum Contributor
    Join Date
    05-15-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    901

    Is it possible to add data validation to existing table without overwriting existing value

    So we have a report that is within a Excel table and for some time, its been growing in size(row count), but now that we are really starting utilize the data in exec reports, trying to update certain columns with data validation lists, so that users are not entering whatever they want.

    So my questions are as follow:
    #1 because the report already has close to 1000 rows, and for the most part everything within the one column we are focused on is accurate, so is it possible to add a data validation list to this column and apply it down the table without overwriting the rows value in that cell?

    #2 Once we have all current rows updated to include this list, how can we go back thru and identify any rows that may not have a value that matches anything in the list?

    Currently if i copy down the cell with the list, it does copy the list down to the next row, but the original value is replaced with whatever the selected value was in the above cell.

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: Is it possible to add data validation to existing table without overwriting existing v

    Excel is doing exactly what YOU are telling it to do.
    There are two option:
    1. select the entire column starting with the first data row until the last row + more if more data is to come.
    Enter the data validation rule for this first cell and check the checkbox to apply to all selected

    2. enter the data validation rule to the first data cell.
    select this cell and press Ctrl + C ( Copy) then select the entire column all the way to where you want it and right click Paste Special en select Validation only , the data validation rule will be pasted leaving the contents intact

    Hope this helps a little
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Valued Forum Contributor
    Join Date
    05-15-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    901

    Re: Is it possible to add data validation to existing table without overwriting existing v

    thanks again, the 2nd option was what i was looking for.. worked like a charm.

  4. #4
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,937

    Re: Is it possible to add data validation to existing table without overwriting existing v

    Great, happy coding
    Have a fine weekend

+ 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. Add range of data to existing Access table and delete if already existing
    By rousseauassociates in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-26-2016, 11:11 AM
  2. Macro to copy and paste without overwriting existing data
    By jmack36 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-18-2016, 07:49 AM
  3. [SOLVED] Transfer data from one table in spreadsheet to another without overwriting existing data.
    By teh.format in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-25-2014, 09:52 AM
  4. Macro to copy and paste data into database
    By kayoke in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2012, 05:00 AM
  5. PivotTable query and overwriting existing data
    By rsilayan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-18-2008, 12:53 PM
  6. Using a combobox without overwriting existing data
    By pleiadeez7 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-10-2008, 06:30 PM
  7. Overwriting existing data
    By KA_Analyst in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-27-2007, 10:44 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