+ Reply to Thread
Results 1 to 7 of 7

Data validation Reference getting changed if creating a copy of sheet

  1. #1
    Forum Contributor
    Join Date
    03-13-2008
    MS-Off Ver
    Office 365
    Posts
    134

    Data validation Reference getting changed if creating a copy of sheet

    Hi, I have a sheet which has Drop downs created with Data validation option. whenever I create a duplicate sheet of this, it is changing the Reference of the drop down in the duplicate sheet and i m not able to see all the options..

    Please note that earlier I had given different reference range in data validation and now i have changed the reference range and in duplicate sheet it is taking previous reference ranges and not the new one. I cleared my temporary files also, but still i facing same issue.

    Any suggestions what is going wrong in my sheet..?

    Regards,
    Amit.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Data validation Reference getting changed if creating a copy of sheet

    Please Login or Register  to view this content.
    What is the reference in the Ooiginal sheet.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Contributor
    Join Date
    03-13-2008
    MS-Off Ver
    Office 365
    Posts
    134

    Re: Data validation Reference getting changed if creating a copy of sheet

    Hi oeldere,

    Earlier it was...

    =OFFSET(Ref!$L:$L,MATCH($E$4,Ref!$K$2:$K$100,0),0,COUNTIF(Ref!$K$2:$K$100,$E$4),1)

    which i changed to..
    =OFFSET($S:$S,MATCH($E$4,$R2:$R$100,0),0,COUNTIF($R$2:$R$100,$E$4),1)


    Similarly: in another cell, earlier it was
    =Ref!$B$2:$B$3

    Which I changed to
    =Ref!$B$2:$B$4


    But in both cells it is changing to old reference range when i am creating a duplicate sheet (by Move or Copy option)

  4. #4
    Forum Contributor
    Join Date
    03-13-2008
    MS-Off Ver
    Office 365
    Posts
    134

    Re: Data validation Reference getting changed if creating a copy of sheet

    Hi oeldere,

    Earlier it was...

    =OFFSET(Ref!$L:$L,MATCH($E$4,Ref!$K$2:$K$100,0),0,COUNTIF(Ref!$K$2:$K$100,$E$4),1)

    which i changed to..
    =OFFSET($S:$S,MATCH($E$4,$R2:$R$100,0),0,COUNTIF($R$2:$R$100,$E$4),1)


    Similarly: in another cell, earlier it was
    =Ref!$B$2:$B$3

    Which I changed to
    =Ref!$B$2:$B$4


    But in both cells it is changing to old reference range when i am creating a duplicate sheet (by Move or Copy option)

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Data validation Reference getting changed if creating a copy of sheet

    =OFFSET(Ref!$L:$L
    In your new code you don't refer to the sheetname !!

  6. #6
    Forum Contributor
    Join Date
    03-13-2008
    MS-Off Ver
    Office 365
    Posts
    134

    Re: Data validation Reference getting changed if creating a copy of sheet

    No, because it was not working in MS Office 2007 version, hence i kept in the same sheet

  7. #7
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Data validation Reference getting changed if creating a copy of sheet

    In that case use a defined name.

    formula => define name.

+ 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: 0
    Last Post: 08-21-2015, 03:07 PM
  2. Creating a string/lookup/validation from one reference sheet.
    By Nickyh1984 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-23-2014, 02:57 PM
  3. Replies: 1
    Last Post: 03-07-2010, 05:43 PM
  4. Replies: 3
    Last Post: 06-03-2009, 12:37 PM
  5. How to copy values from an excel sheet and copying it to another sheet when changed?
    By 77anders in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-02-2009, 11:40 AM
  6. [SOLVED] How can the font in the Data Validation list be changed?
    By Pat in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-24-2006, 11:00 PM
  7. Refresh existing data when changed in data validation list
    By problem girl in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 09-28-2005, 06:05 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