+ Reply to Thread
Results 1 to 3 of 3

Row-based conditional search to give a cumulative result

  1. #1
    Registered User
    Join Date
    12-29-2009
    Location
    Milwaukee, US
    MS-Off Ver
    Excel 2007
    Posts
    25

    Row-based conditional search to give a cumulative result

    I have is a test cases tracker for various test cycles. This is divided in two major parts:-
    Master data fields - ‘ID’, 'Test Name’, ‘Created’, ‘Overall Status’, ‘Overall Result’
    Cycle Fields – ‘Date’, ‘Status’, ‘Result’. The result field is ‘Pass’ or ‘Fail’. This field set repeats in each progressive cycles (cycle 1, cycle 2).

    What I want to do:-
    Populate an overall result of a script in the ‘Overall Result’ master field. The basis of this should be, if a test case has been executed in all cycles (let’s say 4 cycles), then what is the result when it was executed the last time.
    Also, if a test was never executed, populate the Overall Status and Overall Result accordingly...

    Attached is the example sheet.

    Any thoughts, solution(s)…
    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: Row-based conditional search to give a cumulative result

    Try:

    In D3:

    =IF(COUNTA($F3:$Q3),LOOKUP(2,1/(($F$2:$Q$2="Status")*($F3:$Q3<>"")),$F3:$Q3),"Not Run")

    in E3:

    =IF(COUNTA($F3:$Q3),LOOKUP(2,1/(($F$2:$Q$2="Result")*($F3:$Q3<>"")),$F3:$Q3),"Not Run")

    both copied down.
    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
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Row-based conditional search to give a cumulative result

    in d3
    =iferror(INDEX($F3:$Q3,,MATCH("*",$F3:$Q3,-1)-1),"not run")
    in e3
    iferror(INDEX($F3:$Q3,,MATCH("*",$F3:$Q3,-1)),"not run")
    dragged down should do it
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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