Google Spreadsheet: Find last ocurrence based on match criteria -


I have a Google Docs spreadsheet that I use to run a test for a developed app. I have two sheets of Google Spreadsheets On the first sheet I have given the result for date (in DD / MM / YYYY format), test ID and test:

  "run" spreadsheet --- --- --------------------------- | | Date | Examination ID | Results | -------------------------------- | | 12/10/2014 | 1 | Passed | | 12/10/2014 | 2 | Passed | | 12/10/2014 | 3 | Passed | | 03/11/2014 | 4 | Passed | | 05/11/2014 | 1 | Unsuccessful ----------------------------------  

In the second spreadsheet, all of me The following is expected output:

  "test", and then, when it was executed, there were results for them. Spreadsheet -------------------------------------- | | Test id Last run Results | ---------------------------------- | | 1 | 05/11/2014 | Unsuccessful | 2 | 12/10/2014 | Passed | | 3 | 12/10/2014 | Passed | | 4 | 03/11/2014 | Passed | | 5 | | | ------------------------------------  

My problem is I do not know how to get the "last run" for an exam. I have used the following formula:

  = IF (ISNA (index! Run! A $ 3: A 9992 dollars, match (A5, run! B $ 3: B $ 999 2, 0)), ", Index (Run! A $ 3: A $ 9992, Match (A5, Run! B $ 3: B $ 999, 0)))  

But it only gives the first match to display the test ID, and is not the last one. . So, this is the output that I currently get I am:

  "test" spreadsheet -------------- --------------- | - | | test id | last run | results | ------ ---------------------------- | 1 | 12/10/2014 | Passed | 2 | 12/10/2014 | Passed | 3 | 12/10/2014 | Passed | 4 | 03/11/2014 | Passed | 5 || | | ---------------------- --------------  

Can someone help me to change the formula to return the final output?

'test'! B1 : = max (filter (run) ! A: A, run! B: B = A1)) - Cell A1 to know the last date for a given test ID.

'test'! C1 : = filter (run! C: C, run! B: B = A1, run! A: A = B1

Copy for remaining tests


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -