+ Reply to Thread
Results 1 to 4 of 4

Data validation: cell must match another cell based on multiple cells

  1. #1
    Registered User
    Join Date
    06-04-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Question Data validation: cell must match another cell based on multiple cells

    I'm trying to implement data validation to require the same data to be entered in two different sheets of the same workbook (double data entry reduces errors). Here is a small example (the data structure is the same in each sheet):

    ID age rater score
    1 10 1 30
    1 10 2 40
    1 10 3 50

    My goal is to set a data validation in Sheet2 so that each value for "score" equals the corresponding value for "score" in Sheet1 (as defined by having the same values for ID, age, and rater in its row). In other words, an error should be displayed if someone types a score other than 30 for the row containing ID=1, age=10, rater=1 in Sheet 2.

    Any help would be greatly appreciated. Many thanks!

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Data validation: cell must match another cell based on multiple cells

    try in data validation custom.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    validation.xlsx
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Registered User
    Join Date
    06-04-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Data validation: cell must match another cell based on multiple cells

    Very helpful, thank you! Just to note for future readers, make sure you enter it as an array formula (CTRL-Shift-Enter).

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Data validation: cell must match another cell based on multiple cells

    Your welcome.

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as "SOLVED".
    For the meantime I'll do it for you.

    How?
    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

    Note:
    You can also thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given.
    By doing so you can add to the reputation(s) of those who helped and shared their time in helping you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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