+ Reply to Thread
Results 1 to 9 of 9

Vlook UP formula for child parent relationship

  1. #1
    Registered User
    Join Date
    11-03-2022
    Location
    Oxford, UK
    MS-Off Ver
    MS365
    Posts
    4

    Post Vlook UP formula for child parent relationship

    Hi All

    I have 2 excel sheets one for parent issues and other is for child issue

    each parent have multiple child

    I need to find child id who have same parent id and in result copy the description of that parent and paste it to each child.

    Please help me with the formula.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,891

    Re: Vlook UP formula for child parent relationship

    Welcome to the forum.

    You will need to use XLOOKUP, VLOOKUP or INDEX MATCH.

    If you want specific help, please provide data.

    There are instructions at the top of the page explaining how to attach your sample workbook. Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.

    Administrative Note:

    Is your forum profile showing the version of Excel that you need this to work for? 2020 is just a release number ...

    Members will tailor the solutions they offer to the version of Office (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this.

    The three most recent versions of Excel are Excel 2019, Excel 2021 and MS365 - if you are using MS365, please give this name along with the release number in your profile (e.g. MS365 Version 2211). This is in the About Excel section further down the Account page.

    Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    11-03-2022
    Location
    Oxford, UK
    MS-Off Ver
    MS365
    Posts
    4

    Post Re: Vlook UP formula for child parent relationship

    Hi All

    I have 2 excel sheets one for parent issues and other is child issue

    each parent have multiple child

    I need to find child id who have same parent id and in result copy the "Summery" of that parent and paste it against each child.

    Please help me with the formula.Simple data is attached

    I am using MS365
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,891

    Re: Vlook UP formula for child parent relationship

    I asked you please to update your forum profile - do this NOW.

    Thank you for the workbooks - there was no need for you to rfepeat the requirements.

    Will both workbooks be open, or do you need this to work also when one or other of them is closed?

  5. #5
    Registered User
    Join Date
    11-03-2022
    Location
    Oxford, UK
    MS-Off Ver
    MS365
    Posts
    4

    Re: Vlook UP formula for child parent relationship

    Sure i will update my profile soon and both will be open,

  6. #6
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Vlook UP formula for child parent relationship

    Hi,
    Try this in D2 and down:

    =XLOOKUP(C2,'[Parent Issues.xlsx]Sheet1'!$B:$B,'[Parent Issues.xlsx]Sheet1'!$A:$A)

  7. #7
    Registered User
    Join Date
    11-03-2022
    Location
    Oxford, UK
    MS-Off Ver
    MS365
    Posts
    4

    Re: Vlook UP formula for child parent relationship

    Hi Belinda
    Yes, its working perfectly, thank you so much

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,891

    Re: Vlook UP formula for child parent relationship

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon (* Add Reputation) 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 all those who offered help.

  9. #9
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Vlook UP formula for child parent relationship

    You're welcome , AyshaMohammad

+ 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. parent-child relationship in a tree diagram using VBA
    By ruiru in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-08-2023, 11:59 AM
  2. [SOLVED] Parent Child relationship issue: Get parent ID for child
    By masterl1983 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-28-2018, 07:35 AM
  3. Child and Parent Step Formula Needed
    By lewisjustind in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-18-2013, 11:10 AM
  4. Parent Child Relationship
    By Automation Guru in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-02-2013, 04:48 AM
  5. Replies: 4
    Last Post: 08-30-2009, 03:43 AM

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