+ Reply to Thread
Results 1 to 4 of 4

Generating points from 2 tables (IF funtion limited)

  1. #1
    race39
    Guest

    Generating points from 2 tables (IF funtion limited)

    I am trying to generate the points earned in an event, as follows:

    The first table (START) shows the starting order(with entrant #38 being used
    as example)

    START

    1st 2nd
    3rd 4th
    5th 6th
    7th #38
    9th 10th
    11th 12th

    The second table (FINISH) show the results.
    The third table (FINISH POSITION) sorts the finish order sorted into a column

    FINSH FINISH POINTS
    POSITION
    38 48 1 38 32
    58 98 2 48
    22 26 3 58
    23 03 4 98
    07 24 5 22
    27 28 6 26
    7 23
    8 03
    9 07
    10 24
    11 27
    12 28

    The winner gets 18 pts
    Second place gets 18-2=16pts
    Third gets 18-2-2=14pts
    etc.

    In additon passings points are awarded
    2 points for each position gained from starting positon.

    eg.
    #38 is awarded 18pts for the win
    #38 started in the 8th position and is awarded 14pts for passing
    #38 total pts is 32, as shown in 4th table (POINTS)

    This total was generated using the IF function, which is limited to 7
    conditions, therefore I cannot use it with a table of 12 entrants.
    Can you suggest a complete solution?
    I will need an example.
    TX


  2. #2
    Registered User
    Join Date
    08-19-2014
    Location
    Dallas, TX
    MS-Off Ver
    Office2013
    Posts
    44

    Re: Generating points from 2 tables (IF funtion limited)

    See if the attachment meets your requirements.

    Remember, show some love (click *Add reputation) if you like my response.
    Attached Files Attached Files
    Last edited by XLPadawan; 08-02-2016 at 07:18 PM. Reason: clarification of statement

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,883

    Re: Generating points from 2 tables (IF funtion limited)

    @ XLPadawan

    Do you realise that you are responding to a thread that is 10 years old?

    And the fact that the poster is down as a Guest means that the thread did not originate here - it was probably copied from the old user groups, so you are not likely to get any feedback from the poster.

    Pete

  4. #4
    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,972

    Re: Generating points from 2 tables (IF funtion limited)

    Been there, done that
    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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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