+ Reply to Thread
Results 1 to 6 of 6

Lookup query

  1. #1
    Forum Contributor
    Join Date
    01-25-2005
    Location
    Cardiff, Wales
    MS-Off Ver
    Mac 365 & M/S 365
    Posts
    107

    Lookup query

    Hi all,

    Can someone please help?

    I am having problem matching one column with another, In column One on tab 1 is a list of peoples names eg Joe Bloggs and the same is in colume one tab two.

    what I'm trying to do is match them, eg if Joe is on tab 1 and on tab 2, then the formula will say yes or no.

    I have tried this using "Match", but I'm unable to get it to work, or am I barking up the wrong tree?

    Many thanks

  2. #2
    Registered User
    Join Date
    09-15-2006
    Posts
    15
    It's not immediately clear to me, but it sounds like what you're looking for is a check on whether or not an entry in column X row x is the same as that in column X+1 row x+1... If that's the case, then copy down a formula of the form:

    =if(A1=B1,Yes,No)

    Here I'm assuming the first two columns (A,B) hold the people's names and you would copy the formula down some other column.

    If you're actually looking to match the names, you can always use isolated sorting, provided these two columns are the only ones in the table i.e. no other column data is present.

    HTH

    Alex

  3. #3
    Forum Contributor
    Join Date
    01-25-2005
    Location
    Cardiff, Wales
    MS-Off Ver
    Mac 365 & M/S 365
    Posts
    107
    akexcel,

    Thanks mate,

    Clash.

  4. #4
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444
    If you want to confirm a name is in both lists;

    =IF(AND(ISNUMBER(MATCH("Jane",list1,0))),(ISNUMBER(MATCH("Jane",list2,0))))
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  5. #5
    Forum Contributor
    Join Date
    01-25-2005
    Location
    Cardiff, Wales
    MS-Off Ver
    Mac 365 & M/S 365
    Posts
    107
    Hi all,

    What I have done is taken the First Name, Surname Name, DOB & Gender and condensed them into a individual Person code eg, Joe Bloggs 12/9/1976 male would look like J-B-12/09/1976-M.(=LEFT(A2,1)&"-"&LEFT(B2,1)&"-"&TEXT(D2,"dd/mm/yyyy")&"-"&E2)

    This is also in the first Spreadsheet in the same format, what I would like to do is in the second spreadsheet is write a formula to search the Individual Person code in spreadsheet one against the column of the same Individual Person codes in spreadsheet two and to somehow left me know if the same values are in the spreadsheet that has been searched.
    Attached Files Attached Files
    Last edited by Clash; 05-08-2007 at 03:55 PM.

  6. #6
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444
    See attachment
    Attached Files Attached Files

+ 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