+ Reply to Thread
Results 1 to 4 of 4

Filling a table based on selection in another one

  1. #1
    Registered User
    Join Date
    08-23-2019
    Location
    Frankfurt
    MS-Off Ver
    2016
    Posts
    2

    Filling a table based on selection in another one

    Hi,


    I would like to transport from table to another the fields selected.

    tale selector.JPG

    any idea?

    Many thanks!
    Last edited by edi1684; 08-25-2019 at 04:42 AM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Filling a table based on selection in another one

    To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    08-23-2019
    Location
    Frankfurt
    MS-Off Ver
    2016
    Posts
    2

    Re: Filling a table based on selection in another one

    Hi,

    Thanks for your tips. I attached the file.

    Thanks in advance,

    Edi
    Attached Files Attached Files

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

    Re: Filling a table based on selection in another one

    Hello edi1684 and Welcome to Excel Forum.
    Perhaps this will be of some help.
    Helper columns on Sheet2 are populated using: =IF(AND(INDEX($C2:$D2,MATCH(F$2,$C$1:$D$1,0))="x",$B2=LEFT(F$1,LEN(F$1)-1)),F2&", "&$A2,F2)
    On Sheet4 the Attributes and Measures columns are populated using: =INDEX(Sheet2!$F$8:$I$8,AGGREGATE(15,6,(COLUMN($F$7:$I$7)-COLUMN($E$7))/(Sheet2!$F$1:$I$1=C$1)/(Sheet2!$F$2:$I$2=$B2),1))
    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)

Similar Threads

  1. Auto-filling Textboxes based on selection in a combo box
    By aprilnparker in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-24-2018, 07:20 AM
  2. [SOLVED] Filling cells into template based on selection with data in seperate sheets
    By lukestkd in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-09-2013, 06:54 PM
  3. Filling Cells Based on Drop Down Selection
    By Dredger in forum Excel General
    Replies: 14
    Last Post: 06-07-2011, 01:37 AM
  4. Auto filling a table based upon another table
    By zxcvb12 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-08-2011, 02:06 PM
  5. Auto filling cells based on drop down menu selection
    By Candace84 in forum Excel General
    Replies: 1
    Last Post: 11-19-2010, 02:59 AM
  6. Filling Textbox based on Combobox selection
    By Borg in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-22-2009, 02:55 AM
  7. filling a table based on header row name
    By mjk969 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-06-2008, 09:53 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