+ Reply to Thread
Results 1 to 17 of 17

populate table with data depending on item selected in drop down list

  1. #1
    Registered User
    Join Date
    01-18-2018
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    17

    populate table with data depending on item selected in drop down list

    Hi ,

    SORRY ABOUT FORMATTING THIS IS MY FIRST POST.

    i have 3 Sheets;
    Sheet1 is for data input it contains 3 Columns :Name | Description| Type <--------- is a drop down list, which is populated from the column headers in sheet 2
    Sheet 2 contains a table with data. It is structured like this;
    Boy| Girl <------Column Headers
    eye colour
    height
    weight
    hair colour
    ^
    Attributes

    Sheet3 Is the output sheet its combine the columns from sheet 1 and the attributes in sheet 3, The columns would look like this ;

    Name |Description| Eye Colour| Height| Weight| Hair Colour

    Scenario:
    User enters on sheet1 Bob , arts, Boy . I would then like for Sheet 3 to populate with ;

    Name|Description| Eye Colour|Height|Weight|Hair Colour
    Bob Arts ..... ...... ..... .........

    So what ever options was picked in the dropdown list it would get those attributes(from Sheet2) and display in the correct columns( in Sheet 3)

    Thanks

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,481

    Re: populate table with data depending on item selected in drop down list

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Quang PT

  3. #3
    Registered User
    Join Date
    01-18-2018
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    17

    Re: populate table with data depending on item selected in drop down list

    Hi ,

    Thanks for you reply but my file is too big to upload. I will use WeTransfer:
    https://wetransfer.com/downloads/500...9052502/32bafb

  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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,421

    Re: populate table with data depending on item selected in drop down list

    We don't need the whole file - just provide some sample data that is representative of the bigger picture. Many members will not or cannot access file-sharing sites.
    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.

  5. #5
    Registered User
    Join Date
    01-18-2018
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    17

    Re: populate table with data depending on item selected in drop down list

    Hi Ali,

    Please find attached example data
    Attached Files Attached Files

  6. #6
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,421

    Re: populate table with data depending on item selected in drop down list

    Please manually mock up some sample output data so that we can see what you are after, as requested in post #2. This is easier for those trying to help than working from a long description.

    The attached file seems to bear no relation to the request in the opening post, anyway.
    Last edited by AliGW; 01-19-2018 at 02:19 AM.

  7. #7
    Registered User
    Join Date
    01-18-2018
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    17

    Re: populate table with data depending on item selected in drop down list

    Attached is updates excel sheet of what im looking for.
    Attached Files Attached Files

  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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,421

    Re: populate table with data depending on item selected in drop down list

    Are you looking for a list of all items that meet the criteria?

  9. #9
    Registered User
    Join Date
    01-18-2018
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    17

    Re: populate table with data depending on item selected in drop down list

    Yes, what i would like to see it what the the user enters the corresponding data will be displayed along side the entered data.

  10. #10
    Registered User
    Join Date
    01-18-2018
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    17

    Re: populate table with data depending on item selected in drop down list

    I have figured out if i Transpose the rows and columns , i can use Vlookup .

    but it is not working;
    im using

    =IFERROR(VLOOKUP([@Attribute],tbl_items,3,0),"").

    It does not recognice @Attribute, why would this be?

  11. #11
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,421

    Re: populate table with data depending on item selected in drop down list

    Attach your latest workbook.

  12. #12
    Registered User
    Join Date
    01-18-2018
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    17

    Re: populate table with data depending on item selected in drop down list

    Please find attached excel sheet
    Attached Files Attached Files

  13. #13
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,421

    Re: populate table with data depending on item selected in drop down list

    Where is the formula that you say is not working? Try to give a bit more detail - help us out here!

  14. #14
    Registered User
    Join Date
    01-18-2018
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    17

    Re: populate table with data depending on item selected in drop down list

    Sorry , my bad , the vlookup formula i would like help with is in cell B52

  15. #15
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,421

    Re: populate table with data depending on item selected in drop down list

    And what are you expecting it to do? Can you please mock up manually what you want to see in B52 if the formula is working? Please remember that whilst you know exactly what you want, we can't read your mind.

  16. #16
    Registered User
    Join Date
    01-18-2018
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    17

    Re: populate table with data depending on item selected in drop down list

    Thanks , i have update the excel sheet.

    I would like to have the information displayed under the new headings shown in the sheet(under the table)
    Attached Files Attached Files

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

    Re: populate table with data depending on item selected in drop down list

    Paste the following into cell B52 then drag the fill handle over to cell AB52:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    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)

Similar Threads

  1. Populate a table depending on dropdown data selected
    By ftrindade in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 04-25-2017, 07:08 AM
  2. Data fill to another cell based on the item selected from drop down list
    By Hussain Anees in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-27-2016, 01:08 PM
  3. Replies: 1
    Last Post: 08-13-2015, 11:57 AM
  4. [SOLVED] Populate data on table based on multiple criteria and value selected from drop-down
    By hcyeap in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-26-2015, 07:45 AM
  5. [SOLVED] Auto populate form text box when item selected from a drop down
    By Wales MB in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-14-2012, 05:53 AM
  6. auto populate cell when selected drop down item chosen
    By palmer19 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-13-2010, 07:16 AM
  7. Replies: 1
    Last Post: 04-11-2005, 01:06 PM

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