+ Reply to Thread
Results 1 to 6 of 6

Extracting Specific data from one table in order to create another table

  1. #1
    Registered User
    Join Date
    01-28-2016
    Location
    Los Angeles
    MS-Off Ver
    Excell for mac 2011
    Posts
    13

    Extracting Specific data from one table in order to create another table

    Good evening Gentlemen,

    I am attempting to extract from the table pictured below the PDS designated rows and automatically assemble them into a new table. I have tried using the filter tool but unfortunately it makes it impossible for me to apply the formulas necessary to determine Overall position, class position and points (the last three columns).





    Screen Shot 2016-01-27 at 10.50.37 PM.png




    This Screen shot below shows the table once the filter is applied..... but the formulas for calculating Overall position, class position and points are still using the hidden cells and are wrong.

    For example Andrew Weyman's Class position should be 1st and Walter Kaye 2nd not 2nd and 6th. the formula I am using is =IF(E10=E9,J9+1,1) which works well before the table is filtered but clearly does not work now. If there is a way to do it by modifying the formula in some way so that it would only calculate based on what is visible I would be extremely grateful as this is by far the easiest way to manage the data.



    Screen Shot 2016-01-27 at 10.57.30 PM.png




    Failing that I attempted to use the formula described here http://www.myonlinetraininghub.com/e...s-from-a-range but it dose not seem to work as my table look like this now.... Its been a long day and I hope someone with more knowledge than I can help!!! Thank you in advance!



    Screen Shot 2016-01-27 at 11.10.41 PM.png
    Last edited by Bermudez; 01-28-2016 at 03:27 AM.

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

    Re: Extracting Specific data from one table in order to create another table

    Post a sample file in excel format rather than an image. Images are impossible to edit and nobody wants to recreate the file for you.
    Attach a sample spreadsheet with expected results, remove any sensitive data.
    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
    01-28-2016
    Location
    Los Angeles
    MS-Off Ver
    Excell for mac 2011
    Posts
    13

    Re: Extracting Specific data from one table in order to create another table

    My Apologies, I did not realize I could upload a file! here it is... Timing and Scoring1.xlsx

    The Attached file is the timing sheet for our drivers competing for the best time of day within there car class and Championship, you will notice in the file that column C and D specify if the driver is in The PDS championship or the TA Championship. (these two championships score independently of each other and thus need to be separated) Column E is there car Class. The formulas for Overall position (column I) class position (column J) and points (column K) work before I filter the list based on if the driver is competing in PDS or TA.


    When I filter out the blanks in column C, I am left with all the drivers who competed in PDS but there class position and points have not changed to reflect the subtraction of the other drivers no longer visible.

    This screen shot shows the Expected results once the blank cells are filtered out of column C:

    Screen Shot 2016-01-28 at 7.23.56 AM.png

    The problam as I see it is in the formula in column J, It needs to calculat only what is visible

    Thanks for taking the time to help me, it is much appreciated!
    Attached Files Attached Files

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Extracting Specific data from one table in order to create another table

    Copy the headers of the main table over to M4:V4.
    Enter this ARRAY formula in M5 and fill across to V5 and down as far as necessary to extract the PDS records. Delete the formulae in column U
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Array formulae are entered with Ctrl + Shift + Enter

    In U5 enter this formula to determine the class position and fill down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Results:
    M
    N
    O
    P
    Q
    R
    S
    T
    U
    V
    4
    No.
    PDS
    TA
    Class
    Driver
    Name
    Best Lap
    Overall Position
    Class Position
    Points
    5
    321
    PDS TA BSR Andrew Weyman
    01:28.246
    11
    1
    15
    6
    273
    PDS
    0
    BSR Walter Kaye
    01:30.758
    19
    2
    7
    7
    ? PDS
    0
    EX Greg Scilley
    01:31.112
    21
    1
    20
    8
    117
    PDS
    0
    EX Bruce Bentel
    01:34.044
    27
    2
    12
    9
    28
    PDS TA GT4 Brad Keegan
    01:18.525
    1
    1
    20
    10
    ?? PDS
    0
    MP William Lafitte
    01:34.010
    26
    1
    20
    11
    4
    PDS
    0
    MS Ron Cressey
    01:30.066
    17
    1
    20
    12
    9
    PDS
    0
    MS Peter Stravos
    01:39.589
    34
    2
    15
    13
    749
    PDS
    0
    OP Tom Hoffman
    01:26.990
    8
    1
    20
    14
    127
    PDS
    0
    U Paul Tordella
    01:27.651
    9
    1
    15
    15
    ?? PDS
    0
    U Jason Hoffer
    01:36.309
    32
    2
    10
    16
    11
    PDS
    0
    U Michael Schaible
    01:39.042
    33
    3
    8
    Last edited by newdoverman; 01-28-2016 at 11:58 AM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  5. #5
    Registered User
    Join Date
    01-28-2016
    Location
    Los Angeles
    MS-Off Ver
    Excell for mac 2011
    Posts
    13

    Re: Extracting Specific data from one table in order to create another table

    Thamk you newdoverman that worked perfictly!

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Extracting Specific data from one table in order to create another table

    Thank you for the feedback.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. [SOLVED] Extracting data from a column in a table to another table/sheet
    By hoowill12 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-02-2014, 05:47 PM
  2. Pulling Data from worksheets in multiple workbooks to creat a pivot table.
    By BadKornFlake in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 02-07-2014, 09:52 PM
  3. Creat charts data table on VBA with condition apply
    By dj_danu01 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-05-2013, 11:57 AM
  4. Extracting data from table for related table
    By ikavdiya in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-05-2013, 03:20 PM
  5. [SOLVED] VBA SQL Creat table
    By dugdugdug in forum Access Tables & Databases
    Replies: 1
    Last Post: 10-10-2012, 01:11 PM
  6. Extracting data from a table based on a common entries with another table
    By shannoncox in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-31-2012, 04:45 PM
  7. Creat Pivot Table with a Macro
    By ranaamir in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-15-2008, 04:07 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