+ Reply to Thread
Results 1 to 4 of 4

Calculating success rate of last 10 entries that meet criteria

  1. #1
    Registered User
    Join Date
    05-25-2017
    Location
    Buchs, Switzlerand
    MS-Off Ver
    2019
    Posts
    75

    Calculating success rate of last 10 entries that meet criteria

    Hello everyone

    Attached is a file in which a sequence can be found in column A. For every one of these numbers it is determined whether a test is performed or not. If no test is performed there will be an entry "no result" in column B. If a test is performed the result will either be a success or a failure. So far so good.
    The aim is now to determine a rolling success ratio for the last 10 entries of that sequence number, moving down in column C.
    E.g. in cell C69, I would look at the last 10 entries that also contain a «-1» under «sequence» and for which there is a result (success or failure). In this case the answer would be 80% (8 successes and 2 failures).

    The file is actually a lot longer than shown here and the sequences may range between -7 and +7. I would calculate the success rate of, say the +1 or the -3 in the same way.

    The difficulty that throws me off course is that the spacing between the sequence numbers differs, e.g. the -1 entries occur at random and I need to go up the column until I have those 10 entries. The same goes for all the other sequence numbers.
    Can anyone help here?

    Best regards,
    Excel_Arate
    Attached Files Attached Files

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Calculating success rate of last 10 entries that meet criteria

    In C69, confirmed with Ctrl+Shift+Enter,

    Please Login or Register  to view this content.
    A
    B
    C
    4
    Sequence Result
    5
    -1
    success
    6
    -2
    success
    7
    -3
    success
    8
    1
    failure
    9
    -1
    no result
    10
    1
    no result
    11
    -1
    success
    12
    -2
    no result
    13
    1
    no result
    14
    -1
    no result
    15
    1
    failure
    16
    2
    no result
    17
    3
    success
    18
    4
    success
    19
    5
    no result
    20
    -1
    success
    21
    -2
    no result
    22
    -3
    no result
    23
    -4
    success
    24
    1
    success
    25
    -1
    failure
    26
    -2
    no result
    27
    -3
    success
    28
    -4
    success
    29
    -5
    failure
    30
    -6
    success
    31
    1
    success
    32
    2
    failure
    33
    -1
    success
    34
    -2
    success
    35
    -3
    failure
    36
    -4
    failure
    37
    1
    failure
    38
    -1
    success
    39
    -2
    success
    40
    1
    no result
    41
    -1
    no result
    42
    1
    no result
    43
    2
    success
    44
    3
    success
    45
    4
    success
    46
    -1
    no result
    47
    1
    no result
    48
    -1
    no result
    49
    1
    no result
    50
    2
    no result
    51
    3
    failure
    52
    -1
    success
    53
    -2
    no result
    54
    1
    no result
    55
    -1
    no result
    56
    -2
    no result
    57
    -3
    success
    58
    1
    no result
    59
    -1
    no result
    60
    -2
    success
    61
    -3
    failure
    62
    1
    no result
    63
    2
    failure
    64
    -1
    success
    65
    1
    success
    66
    2
    no result
    67
    -1
    failure
    68
    1
    success
    69
    -1
    success
    0.8
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    05-25-2017
    Location
    Buchs, Switzlerand
    MS-Off Ver
    2019
    Posts
    75

    Re: Calculating success rate of last 10 entries that meet criteria

    Thank you so much. Wouldn't have dreamt this up in 100 years...

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Calculating success rate of last 10 entries that meet criteria

    You're welcome.

+ 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. Sum of data entries that meet multiple criteria
    By DPashley in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-25-2018, 04:28 PM
  2. Success rate calculate
    By arindamsenaxa in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-13-2016, 09:34 AM
  3. Success rate calculate
    By arindamsenaxa in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-13-2016, 06:58 AM
  4. Returning data for entries that meet a criteria
    By BWellman in forum Excel General
    Replies: 2
    Last Post: 08-27-2015, 12:43 AM
  5. Last N entries thet meet criteria
    By gunnar_ in forum Excel General
    Replies: 13
    Last Post: 04-26-2011, 12:34 PM
  6. How to count unique entries that meet two criteria
    By Gooford in forum Excel General
    Replies: 2
    Last Post: 11-23-2010, 12:13 PM
  7. Counting unique entries that meet certain criteria
    By andy_ag08 in forum Excel General
    Replies: 2
    Last Post: 10-07-2009, 09:21 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