+ Reply to Thread
Results 1 to 5 of 5

Make all id's related to each other using function.

  1. #1
    Registered User
    Join Date
    02-02-2018
    Location
    TURKEY
    MS-Off Ver
    2021
    Posts
    63

    Make all id's related to each other using function.

    Hi everyone,

    I have the attached file which I need to make a relationship between all IDs with each other that are related to the same STOCK CODE

    The demo file has a SOURCE and an OUTPUT sheet which have the requested OUTPUT.

    I tried to have the same result by using the following function:

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


    But I couldn't remove the ID which I'm using as criteria

    Would you please kindly help me to get all the data in the SOURCE sheet sorted as in the OUTPUT sheet?

    thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: Make all id's related to each other using function.

    I cut your sample down to 20 source rows (to facilitate checking and to bring it into line with forum guidelines).

    One helper column on the source sheet is needed.

    To give the card IDs:

    =IFERROR(INDEX(SOURCE!$C$2:$C$19,MATCH(0,INDEX(--(COUNTIF($A$1:A1,SOURCE!$C$2:$C$19)=SOURCE!$D$2:$D$19),0),0)),"")

    to give the rest, variuos formulae are needed. See the sheet.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    02-02-2018
    Location
    TURKEY
    MS-Off Ver
    2021
    Posts
    63

    Re: Make all id's related to each other using function.

    Hello Glenn,

    Thank you very much for your kind help. I still don't know where to use the function of giving the card IDs. but your demo worked.

    Thanks again, dear.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: Make all id's related to each other using function.

    Sheet 1 A2, copied down.

  5. #5
    Registered User
    Join Date
    02-02-2018
    Location
    TURKEY
    MS-Off Ver
    2021
    Posts
    63

    Re: Make all id's related to each other using function.

    Thank you very much.

+ 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] IF Function Related to Date
    By ulala2 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-15-2016, 09:37 AM
  2. Replies: 12
    Last Post: 12-20-2013, 10:04 AM
  3. Need to make an order form from 2 seperate sheets-no related data
    By tyreethomas in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-11-2013, 08:36 PM
  4. Replies: 6
    Last Post: 05-17-2010, 08:26 AM
  5. If Else (Related) Function
    By prem123 in forum Excel General
    Replies: 2
    Last Post: 09-22-2009, 01:41 PM
  6. Query related to SUM IF function
    By prsahu in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-23-2008, 02:39 AM
  7. Date related IF function
    By MJP@TLD in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-27-2007, 01:19 AM

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