+ Reply to Thread
Results 1 to 4 of 4

Matching a range of values

  1. #1
    Registered User
    Join Date
    07-06-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    14

    Matching a range of values

    Hi

    I've want to be able to find out if a range or values in a specific sequence can be found elsewhere in a table.

    e.g.
    A B C D
    2 2 2 3
    1 2 3 4
    2 2 2 3

    I know how to match two columns but how do you match multiple columns with number in that sequence?

    Thanks

    Nik
    Last edited by creed1101; 08-19-2011 at 07:13 AM. Reason: formatting

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Matching a range of values

    Can you give an example of what you are looking for as a result and why?
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    07-06-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Matching a range of values

    I have a dataset (3000 rows) based on questionnaire responses where the unique identifier has been coded incorrectly. I want to check that there are not any duplicates in this dataset. As we collect some demographic info as well as questionnaire responses I wanted to check that sequence of responses and the demo info doesn't appear in the same order as they maybe duplicates.

    I just want a true/false returned for each set of values

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Matching a range of values

    if there are not alot of columns, I would concatenate the columns, separating each with a special symbol, in order to avoid crossovers

    e.g.

    =A1&"^^"&B1&"^^"&C1&"^^"&D1

    copied down

    then you can use Countif to find if there are dupes:

    =COUNTIF($E$1:$E1,$E1)>1

    copied down (where E1 contains first concatenation formula)

    TRUE means there are duplicates.
    Last edited by NBVC; 08-19-2011 at 07:55 AM. Reason: formula consistency

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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