+ Reply to Thread
Results 1 to 5 of 5

Populating data from one table when target table has the same product names

  1. #1
    Registered User
    Join Date
    08-15-2018
    Location
    London
    MS-Off Ver
    Not sure
    Posts
    3

    Populating data from one table when target table has the same product names

    Hi All,

    I have to populate a table with information from another table (please see attached spreadsheet – the upper table with the blue heading is the table which has to populate with data from the table below it – in yellow).

    In Row 2, when a user selects via a drop down menu which product they want, all the relevant information pulls into the upper table from the lower table. The problem is, Column 1 in the lower table has product names which are the same so I can’t do a vlookup or figure a way how to do this.

    Please could you help!

    Thanks,
    Mark
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,079

    Re: Populating data from one table when target table has the same product names

    Your description is not totally accurate.

    "the upper table with the blue heading is the table which has to populate with data from the table below it – in yellow)."

    Where does Accumulating Distribution come from? IT doesn't appear in the table below as that name ?
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    08-15-2018
    Location
    London
    MS-Off Ver
    Not sure
    Posts
    3

    Re: Populating data from one table when target table has the same product names

    Sorry I removed that in the version I uploaded. it can be ignored. thanks

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,079

    Re: Populating data from one table when target table has the same product names

    in E5
    =IFERROR(INDEX($D$15:$I$36,MATCH($C5,IF($A$1=$C$15:$C$36,$D$15:$D$36),0),COLUMN()-3),"")
    Array formula, use Ctrl-Shift-Enter

    copy across and down as far as I11.

    Change A1 in the formula above to whatever cell contains the matching Product as you haven't specified that.

    NOTE: Array formulas can be slow, the more you have the slower the calculation. You should be ok with these few.

  5. #5
    Registered User
    Join Date
    08-15-2018
    Location
    London
    MS-Off Ver
    Not sure
    Posts
    3

    Re: Populating data from one table when target table has the same product names

    Thanks for your help!

+ 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 table with data from a table on another spreadsheet.
    By royall in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-04-2018, 12:56 AM
  2. Replies: 9
    Last Post: 12-03-2014, 06:17 PM
  3. [SOLVED] Look up and return top 3 ranked product names from table range
    By dma1976 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-02-2014, 07:38 AM
  4. populating cells on a table using data from another table
    By richie2711 in forum Excel General
    Replies: 1
    Last Post: 07-21-2013, 07:13 PM
  5. [SOLVED] Restrive a price in one table matching dates and product from another table
    By brunoaragao in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-28-2013, 07:24 AM
  6. Replies: 4
    Last Post: 03-06-2012, 10:49 PM
  7. Add Database Names, table names & related fields from table in combo box
    By Snowy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-29-2006, 08:15 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