SumIf up to a threshold(number) and spit out the corresponding date

New Contributor

I have been looking for a formula for over a week, and I just dont think I am googling the correct words to get my answer.


the situation: I have a logbook in excel of my flying history. It has a multitude of figures on it, but this issue only deals with "Single Engine Time", "Night Time" and "Multi Engine Time" as well as "Day Landings" and "Night Landings". to stay current I have to have 3 landings within the past 90 days in said total categories which would be "single engine - Night" landings or "Multi engine" landings or "Multi Engine Night" landings as examples. 


I already have this completed, but it is through multiple columns of ongoing formulas, and the most annoying part of all is that when I insert a row to record a new flight I have to manually drop down the formula. 


I believe what I can do is through SUMIFs, IFs, MAXIFS, MINIFS(to spit out the date) combine them to get this done. so I think the best way is to SUMIF my conditions (For example, Single Engine Night Landings) So if Single Engine Time >0 and Night Time >0 then sum Night landings. this would give me a total number of single engine night landings, and lets say that number is 100. No I need to find the date that would correspond to 97 because I need to know when the date I was current is which I need 3 landings to be current ie. 100-3=97. 


So ultimately it would be a date 11/12/2020 is when I was current, and am current until 11/12/2020 + 90 Days. 


Im sure this is confusing but any help would be fantastic. been struggling with it for a while, and while I love a good puzzle this one is driving a hole in my head. 




2 Replies

Maybe this will clarify. I am trying to find a way to consolidate the data in column AH (A running total of Multi Engine Night Landings) and the formula in AH247 into a single cell formula.

That picture was wrong lol. This is a screenshot of my sheet.