+ Reply to Thread
Results 1 to 3 of 3

Populating a table for a list (another sheet) depending on a key

  1. #1
    Registered User
    Join Date
    05-23-2007
    Posts
    10

    Populating a table for a list (another sheet) depending on a key

    Good afternoon to all. I'm seeking some help on a problem I cannot find a solution.

    I have a workbook with two sheets.
    - Sheet A is a list of project items having estimated and actuals.
    - Sheet B is a sort of a highlevel project plan which i'm designing.

    I would like Sheet B to be automatically updated depending on certain codes. Sheet B; Column E, Row 1 (COFP) is an example. I would like to have the list automatically populated depending on such a key.

    Excel file attached.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Populating a table for a list (another sheet) depending on a key

    In Sheet A, create a key column (I did in I),

    =C2&COUNTIF($C$2:$C2,C2)
    copied down

    Assuming you are using Excel 2007 or higher, in A4 of Sheet B (for example) copied down

    =IFERROR(INDEX('Sheet A'!D$2:D$500, MATCH($E$1&ROWS($A$1:$A1),'Sheet A'!$I$2:$I$500,0)),"")
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Populating a table for a list (another sheet) depending on a key

    Try this Array Formula which requires confirmation with Ctrl+Shift+Enter instead of just Enter.

    In A4
    Please Login or Register  to view this content.
    and copy across to C4 and down.

    Same array formulas, you will find in G4 and M4 for other codes.

    Is this what you are trying to achieve?
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

+ 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. populating a list of items depending upon whether cells have values
    By jase366 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-03-2013, 02:18 AM
  2. [SOLVED] Populating excel cells depending on what is chosen from a drop down list
    By seanzerd in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-19-2013, 05:39 AM
  3. Populating additional sheets with data from sheet 1 depending on info in cell
    By kd1950 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-01-2012, 09:42 PM
  4. Populating a list from a data table
    By troop2118 in forum Excel General
    Replies: 5
    Last Post: 07-20-2012, 04:28 AM
  5. Populating a Table from a Dynamic List selection
    By seanfoxen in forum Excel General
    Replies: 3
    Last Post: 12-19-2011, 01:38 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