Given the following spreadsheet I would like to find the first date after 5/16/2015 that also has a Payment amount > 0. So a Next Payment Date of "7/1/2015" is what I'm looking for.
I tried the following formula: =INDEX(A4:A10,MATCH($E$1,$A$4:$A$10,1)+ 1) but that gives me 6/1/2015 since it doesn't check if the payment is > 0. I have tried various ways of adding the second criteria but haven't been able to get it to work.
Thanks,
In E3 (.. F2?) as,
=INDEX(A:A, AGGREGATE(15, 6, ROW(A4:INDEX(A:A, MATCH(1E+99,A:A )))/((A4:INDEX(A:A, MATCH(1E+99,A:A ))>E2)*(B4:INDEX(B:B, MATCH(1E+99,A:A ))>0)), 1))
You will have to format as a date. The initial result will be 42186.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.