A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
=IF(H13="","Not found",
IF(E13="One Time",
MAX(($B$13:$B$318=B13)*($D$13:$D$318=D13)*($E$13:$E$13="One Time")*($F$13:$F$318)),
MAX(($B$13:$B$318=B13)*($D$13:$D$318=D13)*($H$13:$H$318))))
If you need further help I need to see your (sample) file.
Why a sample file is important for troubleshooting. How to do it. - Microsoft Community
Andreas.