+ Reply to Thread
Results 1 to 8 of 8

Data validation lists change source designation when list data is updated.

  1. #1
    Registered User
    Join Date
    07-10-2015
    Location
    Malaysia
    MS-Off Ver
    2013
    Posts
    12

    Data validation lists change source designation when list data is updated.

    Hi Again, I have numerous data validation lists that point to data stored on a seperate worksheet, it works perfectly until I alter, change or update the data then it drops the reference to the other worksheet just leaving the cell range addresses which I presume relates to the same page as the lists, is there any way to lock the source address so it cannot change?
    Here is the correct address: =Ingredients_Page!$C$2:$C$167 and this is what it changes to when I do anything with the data: =$C$2:$C$167.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,004

    Re: Data validation lists change source designation when list data is updated.

    Maybe if you use a dynamic range for the DV list, instead:

    =OFFSET(Ingredients_Page!$C$2,0,0,COUNTA(Ingredients_Page!$C:$C)-1,1)

    I assume that:

    a) there is a header in C1
    b) that these are direct entries and NOT the result of a formula. If they are formula results - please say so...
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Data validation lists change source designation when list data is updated.

    Perhaps use a Named Excel Table. It will adapt automatically when rows added or deleted http://www.contextures.com/xlDataVal01.html

  4. #4
    Registered User
    Join Date
    07-10-2015
    Location
    Malaysia
    MS-Off Ver
    2013
    Posts
    12

    Re: Data validation lists change source designation when list data is updated.

    The lists are all hard coded

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,004

    Re: Data validation lists change source designation when list data is updated.

    I'm not sure that I follow you... Did you try either of the two solutions offered, yet? If neither worked, can you post a sample of your sheet?

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,004

    Re: Data validation lists change source designation when list data is updated.

    I'm not able to reproduce your problem, either...

  7. #7
    Registered User
    Join Date
    07-10-2015
    Location
    Malaysia
    MS-Off Ver
    2013
    Posts
    12

    Re: Data validation lists change source designation when list data is updated.

    Hi Glen, I just used my test shreadsheet and changed the first two groups of lists to offset as per your code and made sure that the next two were on the old code, I then inserted about 10 blank lines into the list and I got a mixed result. The first two with offset worked perfectly, the third also worked, but then again it seemed not to affect the first group in previous failings, but the fourth group failed losing the page identifier as per always. I will change all of the groups to offset and start playing with the data big time and see if it will eventually break, my first impression is that it's going to work, many thanks.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,004

    Re: Data validation lists change source designation when list data is updated.

    Good luck!! If it works, don't forget to mark the thread as solved.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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. Replies: 3
    Last Post: 06-04-2015, 02:27 PM
  2. [SOLVED] How do you change source data for charts using drop down lists?
    By Dude to Excel Dude in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 04-16-2013, 02:16 PM
  3. Data Validation list that can be updated both way
    By kumaramitoujjain in forum Excel General
    Replies: 0
    Last Post: 11-11-2012, 03:28 PM
  4. [SOLVED] need a dynamic source for data validation drop down lists
    By dredwolf in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-29-2012, 11:01 PM
  5. Replies: 3
    Last Post: 07-20-2012, 09:52 AM
  6. Make checklist from closed WB's and then save updated C'List data back to source WB
    By Lungfish in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-16-2011, 04:57 AM
  7. Replies: 3
    Last Post: 09-02-2010, 03:04 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