+ Reply to Thread
Results 1 to 10 of 10

Pulling Data from one Table to another

  1. #1
    Registered User
    Join Date
    10-30-2018
    Location
    Cookeville TN
    MS-Off Ver
    2017
    Posts
    6

    Pulling Data from one Table to another

    Amateur Exceler here! I have tried VLOOKUP and am not getting the results I need. (I could be using it incorrectly). Trying to get the results that I will manually enter in the first table, to populate the second and third tables as I have shown. (I only manually entered them in, but I want to to automatically fill over.) There will be 2 pools of players (A and B) And I will add them to the table on the left as they sign up. I want the second and third tables to auto fill with the players in their designated pools and have their score from the (Best 2) Column to accompany them there in hopes I can just quickly sort them in ascending order at the end for payout purposes. Thanks in advance for any help


    Capture 1.PNG
    Attached Files Attached Files
    Last edited by AliGW; 10-31-2018 at 02:00 AM. Reason: Irrelevant section of thread title removed.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,855

    Re: HELP! Pulling Data from one Table to another

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    10-30-2018
    Location
    Cookeville TN
    MS-Off Ver
    2017
    Posts
    6

    Re: HELP! Pulling Data from one Table to another

    Thanks for the response and pointers. First time posting here. I uploaded the file and the way I have it set up as it is in the image attachment as well, is the table on the left will be where I input scores from a league. I want the formulas to auto populate A Pool table and B Pool table on the right with the A and B pool players and their scores sorted accordingly

    Thanks

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,855

    Re: HELP! Pulling Data from one Table to another

    For the following to work, you will need to complete the names of each player in the appropriate pool

    In Z4 {=IF(Y4<>"",INDEX($V$4:$V$23,MATCH(1,($B$4:$B$23=$X$3)*($C$4:$C$23=Y4),0)),"")}
    The curly brackets are added when you enter this by holding down the Ctl + Shift+ Enter keys. Do not add the brackets manually as the formula will fail.

    In AD4 {=IF(AC4<>"",INDEX($V$4:$V$23,MATCH(1,($B$4:$B$23=$AB$3)*($C$4:$C$23=AC4),0)),"")} Apply the same principles as above.

    With this scenario, I am unable to determine a sorting function as it appears to be disabled in the filters you have applied.

    To auto fill the names, you will need to apply a VBA scenario.

  5. #5
    Registered User
    Join Date
    10-30-2018
    Location
    Cookeville TN
    MS-Off Ver
    2017
    Posts
    6

    Re: HELP! Pulling Data from one Table to another

    Thank you. I will give it a try when I get home

  6. #6
    Registered User
    Join Date
    10-30-2018
    Location
    Cookeville TN
    MS-Off Ver
    2017
    Posts
    6

    Re: HELP! Pulling Data from one Table to another

    And I'm sorry I don't think I was as clear as I should have been, but the function I am really looking to get, is to place a formula in Y4 and AC4 that pulls the names from Column C based on the pool entered in column B

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,855

    Re: HELP! Pulling Data from one Table to another

    That will require a VBA solution. Are you comfortable with that.

  8. #8
    Registered User
    Join Date
    10-30-2018
    Location
    Cookeville TN
    MS-Off Ver
    2017
    Posts
    6

    Re: HELP! Pulling Data from one Table to another

    I have seen some examples but have never really messed with VBA myself. I may just enter the the names manually. It isn't a huge deal, just bugging me that I can't figure it out!

  9. #9
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,855

    Re: HELP! Pulling Data from one Table to another

    Ok. Here is some further information and a VBA solution

    1. The tables in columns X:AD need to be reverted to ranges otherwise this will not work
    2. The data in Row 25 needs to be moved somewhere other than beneath columns X:AD or this will not work

    Here is your VBA code
    Please Login or Register  to view this content.
    Standard Module
    How to install your new code
    Copy the Excel VBA code
    Select the workbook in which you want to store the Excel VBA code
    Press Alt+F11 to open the Visual Basic Editor
    Choose Insert > Module
    Edit > Paste the macro into the module that appeared
    Close the VBEditor
    Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)

    To run the Excel VBA code:
    Press Alt-F8 to open the macro list
    Select a macro in the list
    Click the Run button

  10. #10
    Registered User
    Join Date
    10-30-2018
    Location
    Cookeville TN
    MS-Off Ver
    2017
    Posts
    6

    Re: HELP! Pulling Data from one Table to another

    You're a genius! That worked perfectly!!! Thank you so much!

+ 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. Pulling data from table
    By GoodDaySir0 in forum Excel General
    Replies: 2
    Last Post: 08-13-2015, 11:32 AM
  2. [SOLVED] Pulling data from table
    By DonW in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-18-2014, 07:34 AM
  3. [SOLVED] Pulling Data from a table
    By Jryan123 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-09-2014, 09:25 AM
  4. [SOLVED] Pulling Aggregate Data from Table 1 to Automate Drawing Conclusions from Table 2
    By QuantumPolagnus in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-11-2013, 05:14 PM
  5. Pulling data from a table
    By pinkpeace7 in forum Excel General
    Replies: 7
    Last Post: 11-18-2009, 11:44 AM
  6. Pulling data out of a table
    By baroda11 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-17-2008, 12:40 AM
  7. Help with pulling data from a table
    By cattlegrid_79 in forum Excel General
    Replies: 3
    Last Post: 10-24-2006, 11:13 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