+ Reply to Thread
Results 1 to 4 of 4

Logic Test / Lookup Formula Help - Fantasy Football

  1. #1
    Registered User
    Join Date
    03-19-2011
    Location
    Arrowtown, NZ
    MS-Off Ver
    Excel 2003
    Posts
    10

    Logic Test / Lookup Formula Help - Fantasy Football

    Hi All,

    First time poster, just trying to work out a wee problem in a spread sheet.

    I have a series of data which relate to the points scored by certain players in a round (see sample spreadsheet).

    The data appears in rows with non-adjacent columns (columns in between cannot be easily removed). There are at least 26 different instances of the data.

    When a player does not play "dnp" is listed in the round score.

    What's I'm after in a cell to the left is the last two valid rounds sum. In the case of the example file they should be both '8'.

    I'm a bit stuck on how to do this and would be keen for any advice, help that anyone could possibly give.

    VBA is an option, although I guess this might be the wrong forum. I've done things similar to this in the past using adjacent arrays, but not sure how to extend this knowledge. Will post if I solve it.

    Cheers,
    wazzap_nz

    PS. royUK, sorry about that I hadn't clued onto what type of poll I was adding. Apologies...
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Logic Test / Lookup Formula Help - Fantasy Football

    Try:

    =SUM(IF(ISNUMBER(B4:Q4),IF(COLUMN(B4:Q4)>=LARGE(IF(ISNUMBER(B4:Q4),COLUMN(B4:Q4)),2),B4:Q4)))

    confirmed with CTRL+SHIFT+ENTER
    not just ENTER
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    03-19-2011
    Location
    Arrowtown, NZ
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Logic Test / Lookup Formula Help - Fantasy Football

    Hi,

    I have used that already, but perhaps what I neglected to say is that between the 'valid' scores that I'm wanting to test, there is other information (generally numbers).

    so the row might read (* for valid numbers to test)

    100000 3* -150 120000 4* -450 125000 4* -125

    Result would be 4 in this case. Any variations on the suggested formula?

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Logic Test / Lookup Formula Help - Fantasy Football

    You should make initial sample as close to "real world situation" as possible to eliminate confusion:

    Try:

    Please Login or Register  to view this content.

    Confirmed with CSE key combination

+ 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