+ Reply to Thread
Results 1 to 2 of 2

Finding relatives from a spreadsheet

  1. #1
    Registered User
    Join Date
    03-07-2020
    Location
    Baghdad, Iraq
    MS-Off Ver
    2016
    Posts
    1

    Finding relatives from a spreadsheet

    Hello all,

    I just joined a company as HR manager. There are about 1000 people in our payroll and I want to know who is related to who. Where I live, a requirement to be hired is to provide all your IDs and from these IDs I managed to make a spreadsheet similar to the one attached. It contains these columns:
    Person Father's Name Grand Father's Name Great Grandfather's name Last Name Mother's Name Maternal Grandfather's Name Maternal Greafather's Name Mother's Maiden Name (Mother's Last Name)

    I want to identify
    1- Brothers
    2- Paternal Cousins
    3- People who share the same Paternal grandfather
    4- Maternal Cousins
    5- People who share the same Maternal grandmother

    Note: In the list I attached you will find dummy names so there might not be real connections. In the spreadsheet I have, there are almost 1000 employees. Most of them are family. Identifying them is essential for the corporate.

    Can excel support this sort of data filtering using formulas?

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Finding relatives from a spreadsheet

    Enter these formulas in the cells listed
    Select J2 to P2
    Fill down.

    J2 =IF(or(B2=B3,B2=B1),1,"")
    K2 =IF(or(C3&D3 =C2&D2, C3&D3 =C1&D1),1,"")
    L2 =IF(or(B3&C3&D3 =B2&C2&D2, B3&C3&D3 =B1&C1&D1),1,"")
    M2 =IF(or(F2=F3, F2=F1),1,"")
    N2 =IF(or(F2&G2=F3&G3, F2&G2=F1&G1),1,"")
    O2 =IF(or(F2&G2&H2=F3&G3&H3, F2&G2&H2=F1&G1&H1),1,"")
    P2 =IF(or(F2&G2&H2&I2=F3&G3&H3&I3, F2&G2&H2&I2=F1&G1&H1&I1),1,"")

    Sort by one of your headings and any matches will be flagged.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

+ 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. [SOLVED] Finding the end of data in a spreadsheet
    By rbtrout in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-20-2013, 04:06 PM
  2. Need help finding someone to create a spreadsheet for me
    By gb0138 in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 12-15-2012, 08:57 PM
  3. Finding the sum of one Name on a large spreadsheet!
    By Rode in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-30-2012, 12:50 PM
  4. Finding values within spreadsheet that meets both x value and Y value
    By willcmp67 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-05-2011, 04:43 PM
  5. Replies: 3
    Last Post: 07-05-2010, 09:30 AM
  6. Discrete functions: max and min relatives
    By Mika in forum Excel General
    Replies: 10
    Last Post: 06-18-2006, 07:50 AM
  7. Finding the last line on a spreadsheet
    By derwood in forum Excel General
    Replies: 1
    Last Post: 11-05-2005, 04:00 AM
  8. Finding the last row in a spreadsheet
    By cekweb@yahoo.com in forum Excel General
    Replies: 3
    Last Post: 10-27-2005, 02: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