+ Reply to Thread
Results 1 to 7 of 7

Populating multiple columns in on sheet by referring to a column in another sheet

  1. #1
    Registered User
    Join Date
    01-25-2013
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    23

    Populating multiple columns in on sheet by referring to a column in another sheet

    Hello,

    I would appreciate any help with this problem i'm having in excel- I'm looking to populate rows in 2nd tab based on the data entered in the 1st tab. The rows to be populated in the 2nd tab resides in the 3rd tab. So a match has to be made on the data entered in the 1st tab. When a match is found on the 3rd tab then the corresponding rows from the 3rd tab should be listed on the 2nd tab.

    I have an example.xls attached for clarity.

    Thanks,example.xls

    Lata

  2. #2
    Registered User
    Join Date
    01-25-2013
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Populating multiple columns in on sheet by referring to a column in another sheet

    Is there anyone in the forum who could provide some insight with this problem? Thanks

  3. #3
    Registered User
    Join Date
    03-15-2013
    Location
    Chennai
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Populating multiple columns in on sheet by referring to a column in another sheet

    There is no common factor in 2nd tab

  4. #4
    Registered User
    Join Date
    01-25-2013
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Populating multiple columns in on sheet by referring to a column in another sheet

    In the 2nd tab I would like the asset and classification from the first tab and the matching attributes from the 3rd tab displayed. The common factor would be classification.

  5. #5
    Registered User
    Join Date
    01-25-2013
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Populating multiple columns in on sheet by referring to a column in another sheet

    Let me re-write my problem. I have probably confused people and that's why I'm not getting any response.

    I have 3 sheets. Sheet 1 has 2 columns. A & B
    The 2nd sheet has 3 Columns : A, B & C
    Sheet 3(Reference Sheet) has 2 columns: B & C

    Now When I enter data in Column A & B of Sheet 1. I want sheet 2 to be automatically populated with information from column A&B of Sheet 1 and Column C from sheet 3(using the reference data of Column B in sheet 1). There is one to many relationship in sheet 3 between column b& C. So Sheet 2 could have multiple rows populated.

    Looking forward for anyone in the forum to help me out PLEASE!

    Thanks in advance,

    Lata

  6. #6
    Registered User
    Join Date
    12-19-2022
    Location
    Sydney, Australia
    MS-Off Ver
    O365
    Posts
    3

    Re: Populating multiple columns in on sheet by referring to a column in another sheet

    There is no common factor from Sheet 2 that could be used as a reference.

    Again, if values from sheet 1 are to automatically populated, sheet 3 has multiple rows against a single value. Say Class1 has 5 attributes. That wouldn't be the case in sheet 2

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: Populating multiple columns in on sheet by referring to a column in another sheet

    This proposal employs a helper column (C) on the Asset sheet.
    The helper column may be moved and/or hidden for aesthetic purposes.
    The helper column is populated using: =SUM(C1,COUNTIFS('Class-Attr'!A$2:A$13,B2))
    On the Asset-Attr sheet:
    1. Column A is populated using: =IFERROR(INDEX(Asset!A$2:A$8,AGGREGATE(15,6,(ROW(Asset!A$2:A$8)-ROW(Asset!A$1))/(Asset!C$2:C$8>=ROWS(A$2:A2)),1)),"")
    2. Column B is populated using: =IF(A2="","",INDEX(Asset!B$2:B$8,MATCH(A2,Asset!A$2:A$8,0)))
    3. Column C is populated using: =IF(A2="","",INDEX('Class-Attr'!B$2:B$13,AGGREGATE(15,6,(ROW('Class-Attr'!B$2:B$13)-ROW('Class-Attr'!B$1))/('Class-Attr'!A$2:A$13=B2),COUNTIFS(A$2:A2,A2,B$2:B2,B2))))
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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